I am looking for a simple graph layout library for C++. I want to embed the library into our visualizer based on wxWidgets. In summary, I am looking for something like graph
The layout that Graphviz generates is based on the global structure - any single addition can dramatically change the output (unless you're using fixed coordinates, in which case you probably wouldn't be asking this question). Basically, if you want automatic placement of elements, you need to accept one of these solutions:
Sorry I can't help with your question, but maybe this helps to explain why what you're looking for may simply not exist (or be any good).
To overcome some of the isues when using graphviz (descibed by Tom). We set the visualizer world coords to coincide with graphviz world coords.
then. assuming each visual element has a unique identifier, build a graph using these elements. output the graph as text. realign everything based on output parsing. ?
--
Michael