Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] How to use the Directed Graph Layout Algorithm?
[Zest] How to use the Directed Graph Layout Algorithm? [message #246251] Mon, 17 November 2008 16:19
Eclipse UserFriend
Originally posted by: msp.informatik.uni-kiel.de

Hi everyone,
I tried to use the class DirectedGraphLayoutAlgorithm with the following
steps:

* create an array of LayoutEntities with preset sizes and locations
* create an array of LayoutRelationships with proper source and
destination references
* apply the layout algorithm

After the algorithm has finished, all nodes are located one over
another. What's wrong? The same steps led to a proper and beautiful
layout with the SpringLayoutAlgorithm.

Tank you

Miro
Previous Topic:Direct edit question
Next Topic:Chaining commands
Goto Forum:
  


Current Time: Wed Apr 24 22:01:59 GMT 2024

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

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

Back to the top