Generation of Network graphs in Grasshopper

If you’re trying to lay out and draw network graphs in 2D you might also consider implementing e.g. GraphViz and calling that as a subprocess through Python (see this thread). Here’s an old example demonstrating the output: