Algorithm to visualize a diagram on 2D plane?

Viewed 172

Some program has a GUI allowing users to edit a "diagram", like Blender:

enter image description here

If I have the underlying data structure(possibly a directed graph?), how to draw a clean diagram on screen without overlaying nodes/confusing users? Are there some known algorithms?

1 Answers
Related