Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Hidding double links
Hidding double links [message #1795215] Tue, 18 September 2018 13:59 Go to next message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
Hi,

In my model, objects have a list of child. Each child knows who is his father.
For instance in the pic attached, if object A has B as a child then A is also B's child.
I would like to either hide one link or merge both into one without touching my model.


https://www.eclipse.org/forums/index.php?t=getfile&id=33905&http://


Is there any simple trick to achieve that ?
  • Attachment: pp.png
    (Size: 5.55KB, Downloaded 185 times)

[Updated on: Tue, 18 September 2018 14:01]

Report message to a moderator

Re: Hidding double links [message #1795218 is a reply to message #1795215] Tue, 18 September 2018 14:24 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 174
Registered: October 2014
Senior Member
Hello

To achieve what you want you need to differanciate the feature child and the feature parent(I guess it is what you did). Indeed, it has ne sense to tell that A is a child of B and B is a child of A.
Then you just have do define a Relation Based Edge mapping that is either the child or the parent feature.

Regards
Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Hidding double links [message #1795219 is a reply to message #1795218] Tue, 18 September 2018 14:40 Go to previous message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
I made a mistake it's not a parent/child relationship but rather like a friendship. A is friend with B so B is friend with A.

What I have :
https://www.eclipse.org/forums/index.php?t=getfile&id=33906&

What i expect :

https://www.eclipse.org/forums/index.php?t=getfile&id=33907&
  • Attachment: have.png
    (Size: 4.94KB, Downloaded 115 times)
  • Attachment: expectation.png
    (Size: 4.52KB, Downloaded 108 times)

[Updated on: Tue, 18 September 2018 14:41]

Report message to a moderator

Previous Topic:Turn grey a sub menu instead of hiding it
Next Topic:InstanceRole with port-like decoration
Goto Forum:
  


Current Time: Sun Jan 24 07:20:39 GMT 2021

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

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

Back to the top