Counting Connected Components Dataset Generation
Goal
Generate images of a large grid (e.g., 80x80 to 150x150) where scattered dots are connected by lines to form several distinct connected components — groups of dots linked together by drawn edges.
The diameter of each dot should be about 3 unit lengths. Enforce a minimum gap of at least distance of 5 unit length between any two dots so they are unambiguously separated.
Each component does not necessary stay in the same region. Dots from different components can intersect with each other, but are connected with other dots under the same components.
The connection edge should not get across any other dots to avoid ambiguity.
Render PNG files and the question is asking how many connected components are there.