Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Guillaume on September 05, 2019, 04:57:35 pm

Title: Components + Interfaces and sequence diagrams
Post by: Guillaume 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.

(https://i.ibb.co/sQJ9mph/compEA.png)

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?

(https://i.ibb.co/r3wx5Cg/comSDOps.png)
Title: Re: Components + Interfaces and sequence diagrams
Post by: KThiel 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,