Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » layout problem with CompoundDirectedGraph
layout problem with CompoundDirectedGraph [message #216363] Wed, 17 May 2006 16:06
Eclipse UserFriend
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
Previous Topic:matisse style layout
Next Topic:selecting the root edit part
Goto Forum:
  


Current Time: Wed Dec 07 01:22:54 GMT 2022

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

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

Back to the top