Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edge Style Custom(I try to customise the edge Style)
Edge Style Custom [message #1787634] Wed, 30 May 2018 11:12 Go to next message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 47
Registered: August 2017
Member
Hi,

is it possible to customise the edge Style like in this Image?
index.php/fa/32956/0/
I know it is possible like it is in the tutorial BasicFamily, but there you have two different references (mother / father)

I would like to customise the edge Style of just one reference (reference_name), depending on a value of an element of this reference.

It is possible to catch to wanted elements like with the line in the Image,

but with a Conditional Style, or a Style Customization, either all arrows are changing color, or none.

Is there a way arround??

Thanks in advance
Re: Edge Style Custom [message #1789981 is a reply to message #1787634] Fri, 01 June 2018 14:12 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Andreas,

I think you should use a conditional style with an expression like:

aql:view.targetNode.target.feature


view is a variable which allow you to trigger the edge created from your edge mapping, targetNode/sourceNode allows to navigate to the source/target of the edge, then target allows to get your model element.

Regards;


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Edge Style Custom [message #1790044 is a reply to message #1789981] Mon, 04 June 2018 06:48 Go to previous message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 47
Registered: August 2017
Member
Hi Maxime,
I tried it and it worked perfectly :)

thanks a lot for the advice
Previous Topic:Anchors in Diagrams
Next Topic:A confuse about save resource
Goto Forum:
  


Current Time: Fri Mar 29 14:59:35 GMT 2024

Powered by FUDForum. Page generated in 0.03869 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top