Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GraphLayoutManager
GraphLayoutManager [message #161201] Fri, 10 December 2004 08:50 Go to next message
Eclipse UserFriend
Originally posted by: mebetti.libero.it

I built a diagram using the draw2d layout manager taken from the GEF
"flow" example. The GraphLayoutManager class uses the
CompoundDirectedGraph.visit() method to perform the layout of the graph.
If I have understood correctly (very poor documentation!) this method puts
the nodes with the same rank horizontally from left to right, while the
nodes with higher rank are aligned vertically as the rank grows. I have a
couple of questions:
1) Is it possible to "traspose" this behaviour: node with the same rank on
vertical and nodes with a higher rank on horizontal?
2) Is it possible to have a mixed behaviour: the whole graph in the
orginal style, while some subgraphs in the "trasposed" one?
Thanks,
Mario
Re: GraphLayoutManager [message #161402 is a reply to message #161201] Mon, 13 December 2004 16:28 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Here's the documentation:

http://www.google.com/search?hl=en&lr=&q=compound+di rected+graph+layout

http://www.research.att.com/sw/tools/graphviz/TSE93.pdf

Search the newsgroup for transposing (the entire diagram only) techniques.


"Mario Ebetti" <mebetti@libero.it> wrote in message
news:cpbo18$4al$1@www.eclipse.org...
> I built a diagram using the draw2d layout manager taken from the GEF
> "flow" example. The GraphLayoutManager class uses the
> CompoundDirectedGraph.visit() method to perform the layout of the graph.
> If I have understood correctly (very poor documentation!) this method puts
> the nodes with the same rank horizontally from left to right, while the
> nodes with higher rank are aligned vertically as the rank grows. I have a
> couple of questions:
> 1) Is it possible to "traspose" this behaviour: node with the same rank on
> vertical and nodes with a higher rank on horizontal?
> 2) Is it possible to have a mixed behaviour: the whole graph in the
> orginal style, while some subgraphs in the "trasposed" one?
> Thanks,
> Mario
>
Previous Topic:GEF example without files
Next Topic:Implementing a page-like EditPart
Goto Forum:
  


Current Time: Thu Apr 25 12:13:18 GMT 2024

Powered by FUDForum. Page generated in 0.03783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top