GraphLayoutManager [message #161201] |
Fri, 10 December 2004 08:50 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03783 seconds