Open sub-diagram of sub activities in activity diagram?

54 views
Skip to first unread message

Stefan D

unread,
Nov 5, 2024, 5:52:27 PM11/5/24
to StarUML
I have some trouble understanding how to use the "open sub-diagram" action (from the context menu) with sub activities. I am almost convinced it's a bug, but maybe I am just not understanding how to use it correctly.


1. I create two activity diagrams under "Model", lets name them FooActivity and BarActivity (with FooActivityDiagram and BarActivityDiagram as owned elements under them)
2. I open FooActivityDiagram and drag BarActivity from the model explorer onto the canvas (BarActivity appears as an action with the little o-o icon on the canvas. In the properties I can see it has "subjectivity: BarActivity". In the model explorer I can see the action is owned by BarActivity
3. I right click the action view in the canvas and select "Open Sub-Diagram" from the context menu

Expected behaviour: It should take me to BarActivityDiagram

Actual Behaviour: Message pops up "No sub-diagram in the selected element"

Is it a bug? Am I doing something wrong here?

Note as a workaround I kind of can make it work if I create an action from the toolbox (instead of dragging the BarActivity from the model explorer) and then later making BarActivity an owned element of this new action (and manually selecting BarActivity as the subjectivity of that action). But this seems oddly cumbersome.

StarUML

unread,
Nov 5, 2024, 8:04:15 PM11/5/24
to StarUML
Hello,

Thank you for your feedback.

The "Open Sub-Diagram" menu opens the child diagram under the selected element.

In the case you sent, it was not the diagram under the Action, but rather the child diagram of the Activity that the Action is referencing. That’s why it didn’t work.

However, in this case, opening the child diagram of the referenced Activity seems more intuitive. We have registered this as a feature request in our issue tracking system.

Thank you,

2024년 11월 6일 수요일 오전 7시 52분 27초 UTC+9에 stefa...@gmail.com님이 작성:

Stefan Dröge

unread,
Nov 6, 2024, 4:06:42 AM11/6/24
to StarUML
Thanks for taking it as a feature request into consideration.

--
You received this message because you are subscribed to a topic in the Google Groups "StarUML" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/staruml/vuczNwv4Vuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to staruml+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/staruml/24a15019-b4cc-460a-8280-04512cc321f1n%40googlegroups.com.

StarUML

unread,
Dec 9, 2024, 12:51:09 AM12/9/24
to StarUML
Now resolved in v6.3.1

2024년 11월 6일 수요일 오후 6시 6분 42초 UTC+9에 stefa...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages