From 70bb4a57f308cbcd582e2c587f72a855b3e6dc40 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 9 Apr 2022 20:19:10 +0200 Subject: initiaƦ draft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- img/datamodel.dot | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 img/datamodel.dot (limited to 'img') 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 +# +# 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 + +} -- cgit v1.2.3