Border node "inside" its container [message #1749900] |
Tue, 13 December 2016 15:51 |
|
Hi,
this post follows the discussion [1] on Capella forum. In Sirius, but more generally in GMF, it is possible to have a border node inside its container (like you can see in examples of above Capella post). This is done by using the BorderItemLocator.borderItemOffset [2].
When a layout is launched with ELK, I have the feeling that this aspect is ignored and border nodes are located at the border of its container (x == -10 for a border node of 10 pixels located at left side of its container).
Is it right?
I search quickly in ELK code and do not find how to consider this aspect.
Regards,
Laurent
[1] https://polarsys.org/forums/index.php/mv/msg/307/1072/#msg_1072
[2] org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator.borderItemOffset
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03779 seconds