A Python wrapped version of the Neighborhood Graph Library (NGL) developed by Carlos Correa and Peter Lindstrom with additional parameters and graph types.
Other
22
stars
6
forks
source link
Allowing for users to optionally ensure their data is one connected component #3
This exposes the connect boolean flag to the user. The default value is false, but if set to true on the constructor for a graph object, the code will ensure that the returned edge list represents a single connected component, by connecting the closest two points between every pair of separate connected components in the data.
@orpheus92, I will make adjustments in topopy to use this feature. I wanted you to be aware of the context of this issue, and how it was fixed from this side.
This exposes the
connect
boolean flag to the user. The default value is false, but if set to true on the constructor for a graph object, the code will ensure that the returned edge list represents a single connected component, by connecting the closest two points between every pair of separate connected components in the data.