Skip to main content



      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 07:15
Eclipse UserFriend
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:Help needed with SnapTo
Next Topic:How to set focus on IPropertySource?
Goto Forum:
  


Current Time: Wed May 21 08:27:45 EDT 2025

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

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

Back to the top