Skip to content
Tobias Kärst edited this page Apr 25, 2023 · 2 revisions

uml: state diagram

@startuml
scale 600 width
skinparam backgroundColor #FFEBDC
[*] -> Begin
Begin -right-> Running : Succeeded
Begin --> [*] : Aborted
state Running {
  state "The game runneth" as long1
  long1 : Until you die
  long1 --> long1 : User interaction
  long1 --> keepGoing : stillAlive
  keepGoing --> long1
  long1 --> tooBadsoSad : killed
  tooBadsoSad --> Dead : failed
}
Dead --> [*] : Aborted
@enduml
erDiagram
    ACCOUNT }o--|| PASSWORD_ENTRY : owns
    GROUP ||--o{ PASSWORD_ENTRY : groups
    PASSWORD_ENTRY {
        int id
        string name
        int groupId
        string password
    }
    GROUP {
        int id
        string name
    }
    ACCOUNT {
        int id
        string username
        string password
    }
Loading
Clone this wiki locally