diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-04-09 20:19:10 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2022-04-09 20:19:10 +0200 |
commit | 70bb4a57f308cbcd582e2c587f72a855b3e6dc40 (patch) | |
tree | aa6f2c0939c958e7b1e527c227c6c55a5664454a /img |
initiaƦ draft
Diffstat (limited to 'img')
-rw-r--r-- | img/datamodel.dot | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/img/datamodel.dot b/img/datamodel.dot new file mode 100644 index 0000000..fa5d0f8 --- /dev/null +++ b/img/datamodel.dot @@ -0,0 +1,25 @@ +# Graph of data model +# Copyright 2022 Jonas Smedegaard <dr@jones.dk> +# +# Licensed under the terms of the GNU Affero General Public License, +# either version 3 of the License, +# or (at your option) any later version. + +# Use: dot -Tx11 datamodel.dot + +digraph { rankdir=TB + +my_freebusy -> my_ballot +my_ballot -> ballot [ dir=back ] +my_vote -> vote +my_attendance -> event + +draft_event -> draft_freebusy -> ballot + +rank=same { ballot my_ballot } +rank=same { vote my_vote } +rank=same { event my_attendance } + +ballot -> vote -> winner -> event + +} |