Skip to main content



      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 11:19 Go to next message
Eclipse UserFriend
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 04:23 Go to previous message
Eclipse UserFriend
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:Layout priority of org.eclipse.elk.conn.gmf.ElkLayoutProvider
Next Topic:Layered layout inside self loops
Goto Forum:
  


Current Time: Sat May 17 00:02:35 EDT 2025

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

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

Back to the top