Question about Sirius usage #370
Answered
by
GlennPlou
phamvietquang123
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
GlennPlou
Apr 25, 2024
Replies: 1 comment 5 replies
-
Hi, I'm not sure I understand what you're trying to do: are you trying to reproduce the UML Activity metamodel with Ecore? Are you manipulating mappings in the .odesign file? Regards, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The "ActivityEdge" type you want to represent should be an Edge Mapping in the odesign. So you need to determine whether it's an "Element based edge" or a "Relation based edge": here, the edge shouldn't represent a relation (incoming, outgoing, source, target...) but directly a semantic element, so you need to use an "Element based edge" mapping that represents "ActivityEdge" type elements.
I've attached a screenshot of a draft I made to help you. Note that I've included the ActivityNode mapping for source and target, but I think ActivityNode should be an abstract type and doesn't necessarily need a representation. You'll need to represent all concrete types (ForkNode, JoinNode, ...), an…