Sunday 5 November 2023

Swimlanes: A Visual Approach to Activity Diagrams in PlantUML

A swimlane diagram is a type of flowchart that delineates who does what in a process. We can define swimlanes using pipe | symbol.

Example

|swimlane1|

 

swimLanes.txt

@startuml

|lane1|
	start
	:activity1;
|lane2|
	:activtiy3;
	:activtiy4;
|lane3|
	:activtiy5;
|lane1|
:activtiy6;
:activtiy7;
|lane3|
	:activtiy8;
|lane2|
	:activtiy9;
	:activtiy10;

stop
@enduml

 

Above snippet generate below diagram.


 

  

Previous                                                    Next                                                    Home

No comments:

Post a Comment