Container Style Round [message #1737568] |
Sun, 10 July 2016 06:01  |
Eclipse User |
|
|
|
Hello,
I am new to Sirius and have a question about styles of a container:
In the editor, that I am creating, I would like to model the folowing situation:
There is node "C" and node "D".
"C" is represented by a circle.
"D" is represented by a dot.
I want the editor to work like this:
1. When modelling "C", there is an option to put "D" in it, e.g. the dot can be represented inside the circle.
2. But the dot "D" is not able to get modeled anywhere else, e.g. it can not exist outside of circle "D".
I first thought of modeling "C" as a container and then add "D" as a sub-node.
But I am struggeling to find an option to model a container as a circle. I only find squares or a parallelogram. Is there a way to model a round container?
If not, is there a better way than using a container in order to model the situation described above?
Thank you, regards!
|
|
|
|
Re: Container Style Round [message #1737598 is a reply to message #1737572] |
Mon, 11 July 2016 03:34  |
Eclipse User |
|
|
|
Hi Xi,
Le 10/07/2016 à 13:40, Xi Ng a écrit :
> Hello,
> never mind. I found one solution:
> "C" > New Style > Gradient
> Gradient > Corner > Arc Height: 100 Gradient > Corner > Arg Width: 100
> Gradient > Corner > Rounded Corner: tick
> Regards
>
>
You might also use the image style.
Regards
--
Maxime - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds