Aligning leaf and root nodes to the borders [message #482474] |
Wed, 26 August 2009 12:58  |
Eclipse User |
|
|
|
Hi,
I have a layout problem. I applied the leftright and topdown layout to my
diagram and it works fine. Now I want to align the leafs (nodes without
outgoing relations) and leafs (nodes without incoming relations) to the
right and left border.
Is there a way to do that in GMF or do I have to implement my own layout?
If so, how do one implement a layout. I managed to go into the
layoutprovider and after it is done with its layout, I just iterate
through all the nodes and set the bounds, but this seems to me as a very
dirty and not efficient way of implementing this.
Is there an efficient way of doing that in GMF?
Best regards,
Artur
|
|
|
|
Powered by
FUDForum. Page generated in 0.03471 seconds