-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ports on parts do not group below owning block #2368
Comments
Thanks @mikekidner, I can reproduce this issue. |
The missing piece is here: https://github.com/gaphor/gaphor/blob/main/gaphor/SysML/blocks/connectors.py#L39-L40. Is a If so, what would the relation be? For a |
I think that placing a port on a part should be interpreted as adding a port property to the owning block, To do nested ports, a port would have to have port properties. So ports, may need to be realised as properties that can own properties, as you suggest. |
This is great. Thanks. |
Describe the bug
As discussed ports do not group beneath the owning block, if created on the part. Also, ports created on a block are not available to use on the part.
To Reproduce
Steps to reproduce the behavior:
See how the ports are not available to use on the diagram
Expected behavior
When adding ports to a block or it's corresponding part, it is expected that the port nests beneath the block.
If a port exists on a block, it should exist on the corresponding part.
OS
Version
Version of Gaphor: 2.18.1
Additional information
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: