MrTree algorithm used on Sirius diagram - tree direction inversed [message #1838120] |
Tue, 16 February 2021 11:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03433 seconds