Сreating lines without intersections

lines without intersections.gh (8.6 KB)

How to get an algorithm for creating lines without intersections?