i am looking for a method to transfer a picture of a Network to a clean vectorized Network of Nodes and simple lines connecting this nodes to creat a base i could continue working on with e.g. Heteroptera or Sandbox.
After trying out Rooster I got showen a thinning algorithem ( image - Zhang-Suen thinning algorithm C# - Stack Overflow ) which produces like a medial axis trough the black part of the picture but in a realy messy way:
after trying countless ideas to reduce this polylines to simple line between the nodes i found a script which somehow manged to reduce this complex polylines but misses out kinks (Red line)
I realy dont know what i could try anymore and hope that you could help me out converting this complex polyline to a simple network of lines or an other method of image tracing for a clean network result Polyline network to line Network.gh (60.0 KB)