From 3e3fc21dc9a3984d34f9d835362994e55657a886 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 13 Apr 2025 10:54:54 +0200 Subject: refine diagrams --- .../voting_from_EddystoneTLM.puml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Mussel/examples/voting_from_EddystoneTLM') diff --git a/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml index 6bb5868..f8270ec 100644 --- a/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml +++ b/Mussel/examples/voting_from_EddystoneTLM/voting_from_EddystoneTLM.puml @@ -7,16 +7,19 @@ group init :setup network beacon scanner; end group split -while (each ½s) -group loop { -:fetch and print voting tally; -end group +while (each beacon detected) +:collect beacon data; endwhile -[hidden]-> kill split again -while (at each beacon detected) -:register vote; +while (each 500ms) +group loop { +:allign beacon data as a ballot; +:qualify ballot for specific vote; +:conclude vote result; +:act on vote result; +end group endwhile -[hidden]-> kill -- cgit v1.2.3