Skip to main content



      Home
Home » Modeling » Papyrus » Component diagram bug?(Creation of a connection between two components)
Component diagram bug? [message #1863448] Fri, 02 February 2024 18:48 Go to next message
Eclipse UserFriend
How can I create a connection between two components? I am using the Papyrus 2023-03 and I try it with Papyrus 2023-12. But the behaviour is the same.
I try to use the "Connector" link between two components and two ports included in different componets. But they aren't working. If I select the connector, I can start the link only from a port but the other endpoint isn't able to be anything. Therefore I cannot create a Connector link.

And the other thing that I realized, I can't create an interface realization link between a port and an interface.

As the UML 2.5.1 specification these are valid states. What do you think, My understanding is wrong, or this is a bug?

Thank you in advance for your answers.
Re: Component diagram bug? [message #1863529 is a reply to message #1863448] Wed, 07 February 2024 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Nobody has created component diagram with Papyrus recently and nobody has met with this situation?
Re: Component diagram bug? [message #1863547 is a reply to message #1863529] Thu, 08 February 2024 11:16 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
there is several constraints on Connector creation. One of these is the owner of the created connector that must be a StructuredClassifier. This owner is calculated from the common ancestor between the source and the target of your Connector.
So, yes it is not possible to create Connector between 2 Components located on the Diagram background which is probably a Package.

HTH,
Vincent
Re: Component diagram bug? [message #1863566 is a reply to message #1863529] Sat, 10 February 2024 09:38 Go to previous message
Eclipse UserFriend
Indeed component diagrams are IMHO rare. In my 25 years experience with UML I just spotted a single one at a customer somewhere back in 2002 done with Rational Rose ;-)
Previous Topic:xmi:id in .notation files does not persist
Next Topic:Modern-day toolchain for UML to Embedded C code generation
Goto Forum:
  


Current Time: Fri Sep 26 09:54:42 EDT 2025

Powered by FUDForum. Page generated in 0.04630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top