Nested Elements by UseRelation

Support questions relating to the actifsource Domain Diagram Editor

Nested Elements by UseRelation

Postby meierd » Wed Feb 06, 2013 1:51 pm

Actually I'm trying to make a simple Deploymentdiagramm. I have following model (similar to UML metamodel):

compartment.exmaple.domain.diagramm.png
Metamodel
compartment.exmaple.domain.diagramm.png (4.24 KiB) Viewed 12660 times


And I made a simple Diagrammtype:

compartment.exmaple.domain.diagramm.definition.png
compartment.exmaple.domain.diagramm.definition.png (7.24 KiB) Viewed 12660 times


This give me the following Domaineditor:

compartment.exmaple.domain.diagramm.result.png
compartment.exmaple.domain.diagramm.result.png (2.8 KiB) Viewed 12660 times


What i realy want is, that the nestedNode is showing as a compartment (inside) of the surrounding node. I tried with UseRelation, but then it's not possible to drop the element inside of a node. How it can be done?
meierd
 
Posts: 11
Joined: Thu Oct 13, 2011 3:58 pm
Location: Switzerland

Re: Nested Elements by UseRelation

Postby Heiko Böttger » Mon Feb 11, 2013 7:35 am

Hello Dominic,

after some internal discussion, I have to say that this is in the current version only possible for OwnRelation. Allowing a nested element to be placed simply requires an AllowedClass-Entry with a PaletteExtension. You can place any allowed class in to the container as long as there is a OwnRelation having a matching range. We already plan to improve the creation of custom shapes which will include such things, I add this as a specific usecase.

Best Regards
Heiko
Heiko Böttger
 
Posts: 21
Joined: Fri Aug 06, 2010 7:27 am


Return to Domain Diagram Editor

Who is online

Users browsing this forum: No registered users and 1 guest

cron