Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Auto Layout on Subgraphs
Auto Layout on Subgraphs [message #185726] Wed, 29 June 2005 12:01 Go to next message
Ravi Ranjan is currently offline Ravi RanjanFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I have a graph that has subgraphs. Now when i have to autolayout this, I
first create a CompoundDirectedGraph with subgraphs as the top level
nodes. Now these subgraphs also have nodes that have connections to other
nodes.

An example would be a Entity Relationship diagram. The ER diagram has
entities which are connected to each other. and then there is primary key
- foreign key relationships which have to be denoted for each column. So
there are basically 2 types of connections:

1. Those connecting the entities (Polyline connection with bendpoints).
2. Those connecting the columns in the entity table(Polyline with
manhattan router).

Can someone please point how i can achieve autolayout on this kind of
graph.

Thanking u,

Ravi Ranjan.
Re: Auto Layout on Subgraphs [message #185748 is a reply to message #185726] Wed, 29 June 2005 17:56 Go to previous messageGo to next message
Jason Kealey is currently offline Jason KealeyFriend
Messages: 22
Registered: July 2009
Junior Member
In our application, we didn't use the built in features; we wrote a
wrapper around an external application (GraphViz dot) to perform the auto
layout for our visual notation.
Re: Auto Layout on Subgraphs [message #185781 is a reply to message #185748] Thu, 30 June 2005 04:18 Go to previous message
Ravi Ranjan is currently offline Ravi RanjanFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks, That looks like a good idea. I'll give that a try.
Previous Topic:Reordering children + ShortestPathConnectionRouter = trouble
Next Topic:How to select nearest figure when clicking on parent
Goto Forum:
  


Current Time: Thu Apr 25 19:35:45 GMT 2024

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

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

Back to the top