Sparx EA: What type of relationship created when a Component is added to a Node?

只愿长相守 提交于 2019-12-11 20:25:12

问题


In this question (point #3), I asked about getting a Packaging Component recognized as contained by a Node (device or execution environment) on a deployment diagram.

No direct answer. However, the answers to other points led me toward an alternative that seems simple in concept: manually create the relationship or link.

So, I looked @ one of my Component <--> Node "containment" links to see what Sparx creates in the background. But, from the properties page / dialog of both the Component and Node, I can't see anything linking the two.

So ... what is actually created when a Component is "dropped into" a Node?


回答1:


As I mentioned in my comment to your previous question: None. When you drop one element over another then this is docked graphically (only if it's significantly smaller). As a side effect (and it's legal for UML) the moved element is also made a sub-element of the one where it has been dropped. (There is some option where you can turn of this behavior but don't ask me where in that options haystack EA has.)

P.S.: It's Tools/Options/Diagram/Behavior/Auto Group... (top left the lowest check mark)



来源:https://stackoverflow.com/questions/30397752/sparx-ea-what-type-of-relationship-created-when-a-component-is-added-to-a-node

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!