|
Re: How to move endpoint of edges when Ends Centering configured as Both [message #1712612 is a reply to message #1712555] |
Mon, 26 October 2015 18:23 |
|
Le 26/10/2015 12:44, Huy Le a écrit :
> As I see, Sirius does not allow to move endpoint of an edge, defined as
> Both Ends Centering.
>
> An usecase is that, the diagram displays edge endcentering by default,
> it also allow users manually moving the edge endpoint from one position
> to another.
>
> How to achieve it?
>
> Thank you for your hints.
> Huy.
>
>
Hello,
Indeed, the "Ends centering" option is defined to keep it centered even
if the user tries to change it manually.
You should define a ModelChangeTrigger, that will be triggered on
bendpoint move and will update the style by removing the end centering
(feature centered) on the moved end and add the "centered" feature to
the custom features (customFeatures).
Regards,
Steve
--
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.03117 seconds