yzx9 / swcgeom

Neuron geometry library for swc format.
Apache License 2.0
6 stars 3 forks source link

Detecting Cyclic Points #14

Open yzx9 opened 4 months ago

yzx9 commented 4 months ago

We have now provided a function named has_cyclic to detect if a SWC tree contains a cycle. Going further, we can offer a method to detect the cyclic points. Assuming this is a directed graph, and we start from a point (the root of the tree), then we can definitely find the points where paths overlap.