Can't show ports on parts in Composite Structure Diagram

15 views
Skip to first unread message

Collin Hockey

unread,
May 21, 2024, 12:43:21 PMMay 21
to StarUML
Hello,

Sorry if I'm hogging the forum!

I'm trying to create a diagram very much like the one shown in the documentation for a Composite Structure Diagram here: https://docs.staruml.io/working-with-uml-diagrams/composite-structure-diagram, but I'm having trouble recreating the ports between 'mdm: Modem' and the outside of the class. I'm not sure if the behavior I'm seeing is the result of a bug or just a misunderstanding of how the diagram works.

I've created a handful of classifiers, arranging a class with several parts on the diagram. I want to create a port on my 'mdm: Modem' port. If I create the port in the explorer view under the Modem classifier, I'm unable to add that port to the diagram by dragging it to the 'mdm' part, getting the error "Port should be dropped on its parent classifier"

If I go from the other direction, dropping a port from the toolbox on to part, StarUML creates a port on the Modem classifier. However, this means every time I want to diagram an instance of that classifier, I end up with a duplicate port under the classifier because I can only create new copies.

I am able to drag and drop ports from the explorer to Classifiers, just not on to parts of a particular type.

Thank you!


StarUML

unread,
May 21, 2024, 11:31:53 PMMay 21
to StarUML
Hi,

Thank you for your feedback.

Yes, a port should be able to drag and dropped on a part whose type is the classifier having the port. We confirmed that this is a bug. We will fix this issue in the minor release.

Thank you,

2024년 5월 22일 수요일 오전 1시 43분 21초 UTC+9에 cjho...@gmail.com님이 작성:

StarUML

unread,
Jun 3, 2024, 10:09:28 PMJun 3
to StarUML
This issue has been resolved in v6.1.1.

Thanks,

2024년 5월 22일 수요일 오후 12시 31분 53초 UTC+9에 StarUML님이 작성:
Reply all
Reply to author
Forward
0 new messages