|
Re: A node is source of a relation only once [message #1766502 is a reply to message #1766485] |
Thu, 22 June 2017 09:41 |
|
Hi Lina,
This is not a problem from Sirius,
Sirius enable to have many edge from the same source. I joined you an example that do that.
I don't understand why the edge is replaced. Have you the 2 relations in the semantic model. The problem is maybe here.
Regards
|
|
|
|
|
|
Re: A node is source of a relation only once [message #1766780 is a reply to message #1766630] |
Tue, 27 June 2017 09:17 |
|
Hi Lina,
The problem come from the creation tool.
In the creation tool you do a changeContext to var:source, but in this case source correspond to an ApplicationCollaboration, but ApplicationCollaboration does not contains an Access. Access is contained by ArchimateModel, so you should use the Change Context to aql:source.eContainer().
In the Access Create Instance the Reference Name is relations and not others.
In the Set sourceC you should use the value expression var:source and not only source. This is why you have the Exception Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to archimateC3.ArchimateElement
Do the same thing for targetC.
Regards,
|
|
|
|
Powered by
FUDForum. Page generated in 0.03147 seconds