|
|
Re: Layout within Container (Diagram Element) [message #1612894 is a reply to message #1612857] |
Thu, 12 February 2015 09:10 |
|
Hello,
A limited alternative is to add a "Composite Layout" to your Diagram
Description in your VSM (odesign). You will find it at the same level as
the layers. In the "Direction" parameter, choose "Left to Right".
This will change the default display of the edges to be drawn from left
to right (horizontaly then). This also causes to have containers with
elements having no connection to display these elements vertically
(top-down). However, if these elements have connection, the default
layout may not keep them vertically aligned.
Regards,
Steve
Le 12/02/2015 09:46, Florian Barbin a écrit :
>> Hello,
>
> Hello,
>
> Unfortunately, this is not possible without providing its own layout
> programmatically.
> If you are interested by that, a documentation is available here [1] and
> there is also similar threads on the forum (like this one here [2])
>
>
> [1]
> http://www.eclipse.org/sirius/doc/developer/extensions-provide_custom-arrange-all.html
>
> [2]
> https://www.eclipse.org/forums/index.php/mv/msg/639946/1234795/#msg_1234795
>
>
>>
>> is there a possiblity to determine the initial layout of a container
>> element?
>>
>> For example, i have a container A and want the contained elements to be
>> initially layouted vertically and i have a container B and want the
>> contained elements to be initially layouted horizontally.
>
>
>
> Regards,
>
>
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03427 seconds