Why are the following diagrams not equivalent?

0 votes
asked Jul 8, 2019 in Question / help by lockywolf (400 points)

I have the following two diagrams:

@startuml
participant "__: Order Fulfilement Clerk__" as pOFC
participant "__: System__" as pS
oOFC -> pS : "1:getOrderNbr() : integer"
@enduml

@startuml
"__: Order Fulfilement Clerk__" -> "__: System__" : "1:getOrderNbr() : integer"
@enduml

The second one works correctly, the first one doesn't compile. What's wrong?

commented Feb 3, 2020 by g.edward.roberts (480 points)
This is a UML 1.x diagram and not a UML 2.x diagram... just wanted to make sure you know that...

in UML 2.x Lifelines are not representing Instances but instead ConnectableElements in a model

1 Answer

0 votes
answered Jul 8, 2019 by Serge Wenger Work (15,620 points)
...