@startuml scale 1.5 ' anything after a quote is ignored (a comment). /' anything between slash quote over several lines potentially is also ignored '/ /' you can try to uncomment the following line to see what happens'/ ' left to right direction ' list the actors actor "Librarian" as lib actor "Head Librarian" as adlib actor "unauthentified" as other ' list the usecase rectangle OldFashionLibrary { usecase "Deal with members" as UC1 usecase "Deal with books" as UC2 usecase "Log out" as UC3 usecase "Log in" as UC4 usecase "Deal with litigation" as UC5 } ' describe the arrows lib -- UC1 lib -- UC2 lib -- UC3 other -- UC4 adlib -- UC5 lib <|-- adlib @enduml