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:

commented May 26, 2025 by anonymous

Yes, PlantUML can definitely help you create collaboration diagrams like the one you're referring to. You'd typically want to use the @startuml tag with the participant keyword to define the elements, and then use arrows (->, <--, etc.) to show interactions.

I must say go for a more visual, drag-and-drop approach (especially for collaboration with others who may not be familiar with code-based diagramming), tools like Creately offer a visual collaboration diagram editor — useful when you want to build and share diagrams without writing syntax.

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 (9,120 points)

Taking the answer a little further:

...