Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » MrTree algorithm used on Sirius diagram - tree direction inversed
MrTree algorithm used on Sirius diagram - tree direction inversed [message #1838120] Tue, 16 February 2021 16:19 Go to next message
Dumont Jonathan is currently offline Dumont JonathanFriend
Messages: 33
Registered: January 2013
Location: Laval
Member
Hi,

I'm trying to create a sirius diagram to represent a tree structure, and use ELK MrTree algorithm to layout the diagram.

Unfortunately, when the layout is done, the tree root is at the bottom, and the tree leafs at the top ... and I don't find how I can set the "direction" on MrTree layout.

Is there any such option, or can it be a problem on the content of the elements and theirs relations ?

Regards,

Jonathan


Re: MrTree algorithm used on Sirius diagram - tree direction inversed [message #1838446 is a reply to message #1838120] Thu, 25 February 2021 09:23 Go to previous message
Christoph Daniel Schulze is currently offline Christoph Daniel SchulzeFriend
Messages: 98
Registered: September 2015
Member
Hi Jonathan,

that seems strange to me. Mr. Tree has no such option, but usually places the root at the top. If you have direct access to the data produced by the layout algorithm, please check whether the Y coordinates it generates match your expectations (keeping in mind that ELK considers coordinates to increase rightwards and downwards).

Cheers,
Chris
Previous Topic:LayeredLayoutProvider: keep order of nodes
Next Topic:Layered layout inside self loops
Goto Forum:
  


Current Time: Sun Apr 18 18:13:10 GMT 2021

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

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

Back to the top