|Re: How to show subset of the Sirius-based model diagram [message #1806672 is a reply to message #1806671]
||Mon, 13 May 2019 15:32
|| Steve Monnier
Registered: May 2011
Indeed, in this case, you will need a diagram where the domain class is a person. This will need new node mappings to display the parents and children as nodes. However, you should be able to reuse the same edge mappings as the "main" diagram description for the parents and children references as well as the tools.
Once the new sub diagram description is available in your VSM (odesign file), you will automatically be able to create the sub diagram from the main diagram when you select an element of the type of the sub diagram domain class. To make it simpler with your example, when you select Elias and right click, you will have a menu "New" to create the sub diagram and an "Open" diagram if one already exists. You are not required to add a tool, but if you want you can add a Double click tool with a navigation task to open the sub diagram with a double click on Elias.
Steve Monnier - Obeo
Need training or professional services for Sirius?
Powered by FUDForum
. Page generated in 0.04188 seconds