Rebuild Network with Predefined Segment Lengths

I have a network topology that I would like to rebuild with predefined segment (line) lengths. For example, 10 lengths ranging from 5" to 36". This would need to be done without breaking the network (i.e., keep the same number of nodes and roughly the same overall geometry. Is there a component out there that can accomplish this? Heteroptera looks like the right suite of tools, but I haven’t found anything that can do this yet. Thank you!!

NetworkTopology.gh (29.2 KB)

This resets the length of all lines. For one line at a time, the blue pipe shows the original length and the white line shows the new length. Rebuilding the same network is beyond my pay grade.


NetworkTopology_2023Feb14a.gh (41.2 KB)

Or you can just show them all: (zoomed in)


NetworkTopology_2023Feb14b.gh (41.7 KB)