Element Based Edge setup #462
Unanswered
marcin-kaczor-ck
asked this question in
Q&A
Replies: 2 comments
-
Ok, I found one problem, when creating flowstation I'm changing context to source and target to set flowInPrimary and flowOutPrimary, after deleting this it does not thow an error, but also does not create edge :( |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing Sirius based Eclipse application, my model consists Driver that has collection of components, each of Component can be connected with other Component using one of 4 flows: flowInPrimary, flowInSecondary, flowOutPrimary, flowOutSecondary (and connections are oposite, so if component 1 has flowOutPrimary to component 2 that means that componenet 1 as flowInPrimary), at the beginning I was using relation based edge, but needed to add FlowStation to measure parameters of flow so switched to Element Based Edge, so Driver has collection of flowstations (I've also put another flowstations collection in Component, because I would rather store them there), and the FlowStation has flowIn and flowOut pointing to connected components.
When I'm trying to create connection I'm getting error that FlowStation can not be cast to Caomponent, so it looks like it tries add FlowStation to components collection, what I'm doing wrong? I there a nice example in turorial, I read docs, but can't find a way to setup this.
Beta Was this translation helpful? Give feedback.
All reactions