layout problem with CompoundDirectedGraph [message #216363] |
Wed, 17 May 2006 16:06 |
Eclipse User |
|
|
|
Originally posted by: christian.praas.umecom.de
Hello!
I want to create an flow-editor which seperates the startpoints
(trigger) from single actions or action-flows that they can start but I
don't know how to provide this seperation to a CompoundDirectedGraphLayout.
I tried to split up the editor in 2 areas/subgraphs as parents for the
trigger and actions. The CompoundDirectedGraphLayout is made on a
main-subgraph where the 2 subgraphs are embedded.
The problem I have is that the auto-layout is allways constrained
on the whole editor. So the top-ranked-actions are placed behind the
trigger-area and not shown because they are child of the action-area.
When I assign the CompoundDirectedGraphLayout to the action-area I get
the same result.
So is there a way to set the constrains for the layout to a special
area/subgraph? Or maybe for single nodes/figures with the
setLayoutConstraint-function?
I tried to balance the vertical placement of the nodes myself after the
auto-layout has been made but I am not very happy with it and I also get
some problms with the connection-routing.
I hope you can help me!
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.03487 seconds