‘header’, ‘footer’ keywords attach header and footer to a diagram.
headerFooter.txt
@startuml
title "Login successful flow"
header "User login"
footer %page% of %lastpage%
Client -> LoginServer: Enter user name
Client -> LoginServer: Enter password
Client -> LoginServer: Submit the form
LoginServer -> ADServer: Check the credentials
ADServer -> LoginServer: Login Successful
LoginServer -> Client: Login Successful
@enduml
Above snippet generates below diagram.
No comments:
Post a Comment