Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Non-overlapping Layout(I want to create a Zest graph that avoids overlapping nodes)
Non-overlapping Layout [message #1067121] Fri, 05 July 2013 21:23 Go to next message
Phillip Drew is currently offline Phillip Drew
Messages: 75
Registered: October 2012
Member
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?
Re: Non-overlapping Layout [message #1233756 is a reply to message #1067121] Mon, 20 January 2014 07:10 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 276
Registered: July 2009
Senior Member

I have the same issues. I have filed [1]

Cheers,

Wim

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=426113
Previous Topic:Generating REQ_MOVE_CHILDREN request
Next Topic:Create Connection via a context menu action for an EditPart
Goto Forum:
  


Current Time: Mon Sep 01 22:04:40 EDT 2014

Powered by FUDForum. Page generated in 0.02542 seconds