Print Version
@startuml
version
@enduml
Title and Footer with Date
@startuml
title Sample update on %date("yyyy-MM-dd")
footer update on %date("yyyy.MM.dd' at 'HH:mm")
@enduml
Keeping Elements together
@startuml
actor User
[Third party application] as ThirdPartyApp
/' Try to keep PostgresDB and Mail together,
so they are at the same level in the diagram. '/
together {
[PostgreSQL database] as PostgresDB <<Database>>
[Mail server] as Mail <<Mail server>>
}
package "Spring Boot Application" {
[Controllers] <<Spring REST controllers>>
[DataStoreService] <<Spring service>>
[Repository] <<Spring repository>>
}
User --> Controllers
ThirdPartyApp --> Controllers
Controllers --> DataStoreService
DataStoreService --> Repository
DataStoreService --> Mail
Repository --> PostgresDB
@enduml