aboutsummaryrefslogtreecommitdiff
path: root/Mussel/examples/voting
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-09 08:12:19 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-09 08:12:19 +0200
commitd9479641a67d5bd07001a1c0f015ad76ca53e5d1 (patch)
tree9b0593641068677b2179871db15d40522d5b78e5 /Mussel/examples/voting
parent4f510ef86f4a25d1d3a7010e1a638baab2b68b6e (diff)
update and add diagrams
Diffstat (limited to 'Mussel/examples/voting')
-rw-r--r--Mussel/examples/voting/voting.puml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Mussel/examples/voting/voting.puml b/Mussel/examples/voting/voting.puml
new file mode 100644
index 0000000..8460d90
--- /dev/null
+++ b/Mussel/examples/voting/voting.puml
@@ -0,0 +1,15 @@
+@startuml
+'start
+:instantiate object;
+group init
+:activate object;
+end group
+while (each ½s)
+group loop {
+:register 3 fake votes;
+:fetch and print voting tally;
+end group
+endwhile
+-[hidden]->
+kill
+@enduml