How can i create collaboration diagram?

0 votes
asked Mar 25, 2018 in Question / help by cruperman (180 points)

Hello! PlantUML can help me create digram like this:

2 Answers

0 votes
answered Mar 25, 2018 by cruperman (180 points)

@startuml
actor Actor
boundary View
control Controller
entity Model

Actor --> (View) : 1. action\n2.another action
(View) --> (Controller) : 3.
(Controller) --> (Model) : 4.
@enduml

It remains to add the arrows in the comments

0 votes
answered May 19, 2021 by anonymous
@startuml
actor Actor
boundary View
control Controller
entity Model

Actor -- (View): <&arrow-bottom>\n1: action\n2:.another action\n12:
(View) -- (Controller) : : <&arrow-bottom>3:
(Controller) --> (Model) : : <&arrow-bottom>4:

'Others arrows icons
'<&arrow-left>
'<&arrow-right>
'<&arrow-top>
'<&arrow-bottom>
@enduml
commented May 19, 2021 by Martin (8,360 points)

Taking the answer a little further:

...