Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Layout a graph with predefined assingments of nodes to rows
Layout a graph with predefined assingments of nodes to rows [message #227196] Thu, 30 November 2006 12:15
Boris Klug is currently offline Boris KlugFriend
Messages: 9
Registered: July 2009
Junior Member
Hi!

I want to layout a graph which has the following given specs:

- nr of nodes is about 30
- it contains 1 or more networks (its not a connected graph)
- nodes should be layed out in rows
- which node goes into which row is given
- the order of the nodes in columns should be arranged by layout algorithm in such a way that the layout contains no crossing of the connections

Something like this:

  A
 /|\
B C D
  |/
  E


Can this be done using DirectGraph and DirectGraphLayout?

I tried to understand the GEF FlowExample but I cant see how I can implement my constraints (assginment nodes to rows)
Previous Topic:How to provide printing functionality in GEF application?
Next Topic:Guarantee uniqueness of labels
Goto Forum:
  


Current Time: Tue Oct 19 00:37:27 GMT 2021

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

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

Back to the top