Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: MrDX on October 25, 2007, 03:16:57 am
-
Hi,
I want to use the sequence diagrams to show, that a message should be send to from a specific port to another (like CAN to CAN). The problem is, that I can't find informations about ports in sequence diagrams in the UML 2.1 specification. It seems, that it's not allowed. Is it right, that ports are not allowed in sequence diagrams?
Thats very important for me (my other team members), because we have to be UML conform.
EA allows a lot of things, that are against the UML specification ;-)
-
I could not find any place in Superstructures that would show a port in conjunctions with seq-diagrams. Only one with state machines. Maybe you could adorn the object name somehow to indicate the port?
-
Thanks for your answer.
I could not find any place in Superstructures that would show a port in conjunctions with seq-diagrams. Only one with state machines. Maybe you could adorn the object name somehow to indicate the port?
Which figure is the one with the state machine?
What do you mean with 'adorn the object name'? Creating a new element for each port? Can you give me a little example, please.
-
There is no figure, just text. Search for Port in the 2.1.1 version and it is one of the very last search results (somewhere around page 700).
Regarding adornment: just name the according interface object so it will be clear that it belongs to the port you mean. I have to note that your question is quite unclear as I have no idea how a port could be used in a sequence. Probably one of the reasons why it is not in Superstructures. You're quite HW-oriented so what you think of as port might not be what UML thinks of as port.
-
Right-click the lifeline and select "Embedded Elements > Embedded Elements..." then select the ports that you want to show (assuming the lifeline's classifier has ports, of course).