Open utterances-bot opened 1 year ago
Confused - How do you properly use the InterfaceBlock and type the proxy port with Gaphor? I am a beginner, but I cannot seem to implement interface definition in a meaningful fashion.
Hi, in version 2.19.1, we added an option to set the Type of a port.
Can you give Gaphor 2.19.1 a try and see if this is the feature you needed?
Hi! I have a question about ibd and proxy ports. On the bdd of my system I've created its structure using blocks and added proxy ports to each of the part (block) of my system. Then I decided to create ibd for the system to show its logical architecture. I dragged&dropped all the properties (parts) from the main block of the system to the ibd and now I want to see ports they possess. If I open(expand) a structure block I can see that it has a port (for example, +p1: IFModConfig), but I cannot understand how to show it on the ibd to be able to show connections via ports. Is it possible?
Hi @MaykovD, I don't think this is currently possible. @marek-piirikivi has been making some great updates to our proxy port implementation and could probably better speak to this.
Hi @MaykovD!
Your requested use-case is now supported starting from version 2.22.0.
There are three ways you can do that:
First option is the only one which enables to add ports to all the parts when many parts are typed by the same block.
https://github.com/gaphor/gaphor-utterances/assets/45357878/f01b2c94-ab1a-48f7-b1c9-e20413ea86b9
I re-installed Gaphor (I had version 2.21) and now it works. Thank you!
PortsAndFlows - Gaphor documentation
https://docs.gaphor.org/en/latest/models/sysml/PortsAndFlows.html