Skip to main content



      Home
Home » Eclipse Projects » GEF » [ZEST] Right Tree Layout algorithm
[ZEST] Right Tree Layout algorithm [message #1775206] Thu, 26 October 2017 05:52 Go to next message
Eclipse UserFriend
I am very new to GEF/ZEST. For one of my use case i wanted to display models in graphical tree representation.

Below zest algorithms i have tried.

TreeLayoutAlgorithm is showing the diagram as below
index.php/fa/31132/0/

HorizantalTreeLayoutAlgorithm is showing the diagram as below
index.php/fa/31131/0/

But what i wanted is Right sided Tree as shown below. Can anyone hint me how to proceed here?
index.php/fa/31133/0/

[Updated on: Thu, 26 October 2017 05:54] by Moderator

Re: [ZEST] Right Tree Layout algorithm [message #1775364 is a reply to message #1775206] Sat, 28 October 2017 07:30 Go to previous messageGo to next message
Eclipse UserFriend
I think that kind of layout is not covered by one of the existing layout algorithms. You would have to implement a custom one.
Re: [ZEST] Right Tree Layout algorithm [message #1785398 is a reply to message #1775364] Fri, 13 April 2018 09:22 Go to previous message
Eclipse UserFriend
Hi Syamkumar,

in addition to Alexander proposal, you could utilise Graphviz for computing the layout (using hidden nodes, invisible edges, ranking, and subgraphs to influence the Graphviz default). You can take a look at the "DotLayoutExample" for how to delegate to Graphviz for laying out.

Apart from that, you could delegate to another layout library, e.g. Eclipse Layout Kernel (ELK), for computing the layout. There might already be an algorithm available for such a tree layout.

h2h
Matthias and Tamas
Previous Topic:GEF5 Export Diagram as SVG
Next Topic:[GEF5] IVisualPart for javafx.scene.control.Tab
Goto Forum:
  


Current Time: Fri Apr 18 13:40:27 EDT 2025

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

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

Back to the top