I would like to change planar network of curves to single curve like on pictures below (done by hand in rhino).
First one is simple. In second case one line must be doubled to make it with single curve. Third example has one instersection but can be done with single curve. I wonder if it can be done in grasshopper for any curve network. I’ve found this topic and tried to adapt it but not sure how shortest walk component works.
…or maybe it can be done different way…?
I would be greatful for any tips.