Abstract : The aim of this work is to detect spatial clusters. We link Erdös graph and Poisson point process. We give the probability distribution function (pdf) of the number of connected component for an Erdös graph and obtain the pdf of the number of cluster for a Poisson process. Using this result, we directly obtain a test for complete spatial randomness and also obtain the clusters that violates the CSR hypothesis. Border effects are computed. We illustrate our results on a tropical forest example.