Gentlymad-Studios / NewGraph

A general node graph solution centered on data management. This is based on the idea to visualize complex data structures as graph networks without having to modify already established data classes.
MIT License
246 stars 19 forks source link

Add feature for automatic layouts #39

Open akatriel opened 9 months ago

akatriel commented 9 months ago

Automatic layouts would be very useful for programmatically created graphs. I've been looking into https://github.com/KeRNeLith/QuikGraph with https://github.com/KeRNeLith/GraphShape for my own implementation. Is there any plans to add this in the future?

Doppelkeks commented 9 months ago

Is there a preview of how that would "look like"? I skimmed through the provided links but I can't see a screenshot for it so I can understand what it does.

akatriel commented 9 months ago

It all depends on the layout algorithm used. My personal use case involves a Directed Acyclic Graph and I used the Sugiyama Layout to get something like this.