Author Topic: Components + Interfaces and sequence diagrams  (Read 7820 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1372
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Components + Interfaces and sequence diagrams
« on: September 05, 2019, 04:57:35 pm »
Hello,

In the following component diagram, I need to specify that Component1 invokes operations from Component2 via its Interface1. Component2 also provides services via Interface3 to another component.
I created a realization from each Component2 port to the appropriate Interface element to have the operations available in a sequence diagram.



I read other threads suggesting that what I want to do is not feasible but I was wondering if there's a possible workaround...
In the following sequence diagram, using Component2 inline port provides the correct list of operations (from Interface1). However we would like to use the component lifeline only -> in this case, the drop down list of operations includes all interfaces. Is there a way to say that this lifeline is limited to a single interface?


« Last Edit: September 05, 2019, 05:02:59 pm by Guillaume »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


KThiel

  • EA Novice
  • *
  • Posts: 8
  • Karma: +2/-0
    • View Profile
    • Strypes
Re: Components + Interfaces and sequence diagrams
« Reply #1 on: March 31, 2020, 08:05:52 pm »
I'm curious if Sparx has an answer to this question and if you have found a workaround for this.

My question is in line with this question and can perhaps be solved with the answer on this topic.
How do I have to configure ports provided and required to get the interface operations only available in one direction in a sequence diagram?

Kind regards,
Kind regards,

Koen van Thiel
System integrator

e:    [email protected]   
w:    www.strypes.nl