Monday, 25 September 2023

How to Define the Start and Stop of a PlantUML Activity Diagram

‘start’ keyword specifies beginning of the activity diagram

‘stop’ or ‘end’ keyword specifies end of the activity diagram.

 

successfulLoginFlow.txt

@startuml

title "User login flow"

start

:User entered correct username and password;

: Validate user credentials;

: Take user to the home page;

stop

@enduml

 

Above snippet generate below diagram.

 

 


Using end keyword.

 

successfulLoginFlow2.txt

@startuml

title "User login flow"

start

:User entered correct username and password;

: Validate user credentials;

: Take user to the home page;

end

@enduml

 

Above snippet generate below diagram.

 


  

Previous                                                    Next                                                    Home

No comments:

Post a Comment