Non-overlapping Layout [message #1067121] |
Fri, 05 July 2013 21:23  |
Eclipse User |
|
|
|
I'm trying to create an Eclipse editor using Zest that will display the contents of a tree / graph structure nicely for the user. They don't have to be able to edit it, just see the data.
I understand avoiding overlapping nodes is not a simple problem. I've seen the horizontal shift solutions but they look incredibly awful.
It seems to me that the radial / spring / tree layout algorithms are capable of spreading nodes out appropriately when the graph size : node count ratio is about right. What I want to know is if there's a way of having Zest manage the zoom level so that it creates a graph of the size required for everything to be nicely positioned, even if the size of the graph in the editor can't fit everything.
When I currently use a radial layout (the most promising for what I'm doing) it clearly lays everything out nicely but comes up against the size of the overall graph. What do I do to have it layout things exactly as it wants then adjust the zoom level instead?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03873 seconds