Skip to main content



      Home
Home » Eclipse Projects » Sirius » Hidding double links
Hidding double links [message #1795215] Tue, 18 September 2018 09:59 Go to next message
Eclipse UserFriend
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 319 times)

[Updated on: Tue, 18 September 2018 10:01] by Moderator

Re: Hidding double links [message #1795218 is a reply to message #1795215] Tue, 18 September 2018 10:24 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Hidding double links [message #1795219 is a reply to message #1795218] Tue, 18 September 2018 10:40 Go to previous message
Eclipse UserFriend
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 227 times)
  • Attachment: expectation.png
    (Size: 4.52KB, Downloaded 216 times)

[Updated on: Tue, 18 September 2018 10:41] by Moderator

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


Current Time: Sat Apr 19 21:30:50 EDT 2025

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

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

Back to the top