Line segmentation based on given points

Hi, How can I redraw this line, going through points? The result has to be segmented into lines based on given points. i tried it by “curve closest point” component, but the result was undesirable.
Segmented Lines.gh (10.0 KB)


Segmented Lines_re.gh (18.1 KB)

2 Likes