[GEF4] layout algorithm with line break? [message #1739702] |
Thu, 04 August 2016 02:42  |
Eclipse User |
|
|
|
Hi,
I'm new to GEF(4) and cannot find a layout algorithm suiting my needs. Before writing my own, I hoped you can help me and that I just missed an existing one while searching.
I have large sequential trees with sub nodes. I need something that does a line break and continues in the next line. The only algorithm that does a line break at all, seems to be the GridLayoutAlgorithm, but that starts each line from left or right. To avoid the large connections from the last element in a row on the right to the starting element of the next line on the left, I am looking for something where the rows start alternating left and right.
Maybe I'm just missing a flag to configure an algorithm in that way.
It would be really great if someone can help me.
Kind regards,
Christin
|
|
|
Re: [GEF4] layout algorithm with line break? [message #1742608 is a reply to message #1739702] |
Tue, 06 September 2016 03:21  |
Eclipse User |
|
|
|
I think your use case is not covered by one of our current implementations. You might think of evaluating Sugiyama, which is rank-based, but it may not directly suit your needs. One option could also be to look at Graphviz, which supports additional layouts (and may cover your use case better). We have provided an example of how to integrate it with Zest (as part of the Dot examples).
|
|
|
Powered by
FUDForum. Page generated in 0.03902 seconds