arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/revote-lifecycle.drawio
v3-pq/figures/src/revote-lifecycle.drawioRaw
  1<mxfile host="Electron">
  2  <diagram id="pmGKZ2eqLFtadj4_m0Do" name="pageWithNumber">
  3    <mxGraphModel grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="0" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
  4      <root>
  5        <mxCell id="0" />
  6        <mxCell id="1" parent="0" />
  7        <UserObject label="checked in the voter&#39;s ballot STARK (same statement, first vote or revote)" mermaidId="n:STARK" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;verticalAlign=top;fillColor=light-dark(#ffffde,#1f2020);strokeColor=light-dark(#aaaa33,#cccccc);fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="checked in the voter&#39;s ballot STARK (same statement, first vote or revote)" id="2">
  8          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;verticalAlign=top;fillColor=light-dark(#ffffde,#1f2020);strokeColor=light-dark(#aaaa33,#cccccc);fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
  9            <mxGeometry height="138" width="340" x="371" y="8" as="geometry" />
 10          </mxCell>
 11        </UserObject>
 12        <UserObject label="valid ballot, shares, masks,&#xa;commitments, voteID, identity" mermaidId="n:S1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="valid ballot, shares, masks,&#xa;commitments, voteID, identity" id="3">
 13          <mxCell parent="2" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 14            <mxGeometry height="73" width="270" x="35" y="45" as="geometry" />
 15          </mxCell>
 16        </UserObject>
 17        <UserObject label="checked by the batch program" mermaidId="n:BATCH" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;verticalAlign=top;fillColor=light-dark(#ffffde,#1f2020);strokeColor=light-dark(#aaaa33,#cccccc);fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="checked by the batch program" id="4">
 18          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;verticalAlign=top;fillColor=light-dark(#ffffde,#1f2020);strokeColor=light-dark(#aaaa33,#cccccc);fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 19            <mxGeometry height="138" width="1065" x="8" y="196" as="geometry" />
 20          </mxCell>
 21        </UserObject>
 22        <UserObject label="census join: this voter owns this slot" mermaidId="n:B1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="census join: this voter owns this slot" id="5">
 23          <mxCell parent="4" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 24            <mxGeometry height="54" width="314" x="35" y="55" as="geometry" />
 25          </mxCell>
 26        </UserObject>
 27        <UserObject label="at most 1 real ballot per slot per batch" mermaidId="n:B2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="at most 1 real ballot per slot per batch" id="6">
 28          <mxCell parent="4" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 29            <mxGeometry height="54" width="328" x="399" y="55" as="geometry" />
 30          </mxCell>
 31        </UserObject>
 32        <UserObject label="accumulator delta = sum of&#xa;published vector changes" mermaidId="n:B3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="accumulator delta = sum of&#xa;published vector changes" id="7">
 33          <mxCell parent="4" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 34            <mxGeometry height="73" width="253" x="777" y="45" as="geometry" />
 35          </mxCell>
 36        </UserObject>
 37        <UserObject label="first package P0&#xa;(fresh randomness)" mermaidId="n:P0" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="first package P0&#xa;(fresh randomness)" id="8">
 38          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 39            <mxGeometry height="73" width="199" x="441" y="384" as="geometry" />
 40          </mxCell>
 41        </UserObject>
 42        <UserObject label="slot vector T = E(P0) + Z + M" mermaidId="n:T1" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="slot vector T = E(P0) + Z + M" id="9">
 43          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 44            <mxGeometry height="54" width="265" x="1187" y="394" as="geometry" />
 45          </mxCell>
 46        </UserObject>
 47        <UserObject label="T&#39; = T + Z&#39; + M&#39;" mermaidId="n:T2" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="T&#39; = T + Z&#39; + M&#39;" id="10">
 48          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 49            <mxGeometry height="54" width="166" x="1672" y="394" as="geometry" />
 50          </mxCell>
 51        </UserObject>
 52        <UserObject label="T&#39;&#39; = E(P1) + Z&#39;&#39; + M&#39;&#39;" mermaidId="n:T3" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="T&#39;&#39; = E(P1) + Z&#39;&#39; + M&#39;&#39;" id="11">
 53          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#fff2cc;strokeColor=#d6b656;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 54            <mxGeometry height="54" width="207" x="2088" y="445" as="geometry" />
 55          </mxCell>
 56        </UserObject>
 57        <UserObject label="public record per touched slot:&#xa;slot index + new vector —&#xa;IDENTICAL for refresh and overwrite" mermaidId="n:O" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f5f5f5;strokeColor=#999999;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="public record per touched slot:&#xa;slot index + new vector —&#xa;IDENTICAL for refresh and overwrite" id="12">
 58          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f5f5f5;strokeColor=#999999;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 59            <mxGeometry height="93" width="321" x="2345" y="312" as="geometry" />
 60          </mxCell>
 61        </UserObject>
 62        <UserObject label="last settled write wins — as v2" mermaidId="n:P1x" mermaidBaseStyle="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f5f5f5;strokeColor=#999999;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" mermaidBaseValue="last settled write wins — as v2" id="13">
 63          <mxCell parent="1" style="html=1;whiteSpace=wrap;strokeWidth=1;fillColor=#f5f5f5;strokeColor=#999999;fontColor=light-dark(#333333,#cccccc);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontSize=16;" vertex="1">
 64            <mxGeometry height="54" width="274" x="2369" y="455" as="geometry" />
 65          </mxCell>
 66        </UserObject>
 67        <UserObject label="first write" mermaidId="e:P0-&gt;T1#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0;entryY=0.5;" mermaidBaseValue="first write" id="14">
 68          <mxCell edge="1" parent="1" source="8" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.51;entryX=0;entryY=0.5;" target="9">
 69            <mxGeometry relative="1" as="geometry">
 70              <Array as="points" />
 71            </mxGeometry>
 72          </mxCell>
 73        </UserObject>
 74        <UserObject label="refresh (any sequencer)" mermaidId="e:T1-&gt;T2#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" mermaidBaseValue="refresh (any sequencer)" id="15">
 75          <mxCell edge="1" parent="1" source="9" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.5;entryX=0;entryY=0.5;" target="10">
 76            <mxGeometry relative="1" as="geometry">
 77              <Array as="points" />
 78            </mxGeometry>
 79          </mxCell>
 80        </UserObject>
 81        <UserObject label="revote: fresh package P1&#xa;(no reference to P0 needed)" mermaidId="e:T2-&gt;T3#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.87;entryX=0;entryY=0.5;" mermaidBaseValue="revote: fresh package P1&#xa;(no reference to P0 needed)" id="16">
 82          <mxCell edge="1" parent="1" source="10" style="curved=1;startArrow=none;endArrow=block;endSize=7;strokeColor=light-dark(#333333,#cccccc);html=1;fontSize=16;labelBackgroundColor=light-dark(#E8E8E88D,#2a2a2a8D);fontFamily=Trebuchet MS,Verdana,Arial,sans-serif;fontColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.87;entryX=0;entryY=0.5;" target="11">
 83            <mxGeometry relative="1" as="geometry">
 84              <Array as="points">
 85                <mxPoint x="1963" y="472" />
 86              </Array>
 87            </mxGeometry>
 88          </mxCell>
 89        </UserObject>
 90        <UserObject label="" mermaidId="e:T2-&gt;O#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=0.97;exitY=0;entryX=0;entryY=0.41;" mermaidBaseValue="" id="17">
 91          <mxCell edge="1" parent="1" source="10" style="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=0.97;exitY=0;entryX=0;entryY=0.41;" target="12">
 92            <mxGeometry relative="1" as="geometry">
 93              <Array as="points">
 94                <mxPoint x="1963" y="349" />
 95                <mxPoint x="2192" y="349" />
 96                <mxPoint x="2320" y="349" />
 97              </Array>
 98            </mxGeometry>
 99          </mxCell>
100        </UserObject>
101        <UserObject label="" mermaidId="e:T3-&gt;O#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=0.77;exitY=0;entryX=0;entryY=0.99;" mermaidBaseValue="" id="18">
102          <mxCell edge="1" parent="1" source="11" style="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=0.77;exitY=0;entryX=0;entryY=0.99;" target="12">
103            <mxGeometry relative="1" as="geometry">
104              <Array as="points">
105                <mxPoint x="2320" y="411" />
106              </Array>
107            </mxGeometry>
108          </mxCell>
109        </UserObject>
110        <UserObject label="" mermaidId="e:T3-&gt;P1x#0" mermaidBaseStyle="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.65;entryX=0;entryY=0.5;" mermaidBaseValue="" id="19">
111          <mxCell edge="1" parent="1" source="11" style="curved=1;startArrow=none;endArrow=none;strokeColor=light-dark(#333333,#cccccc);exitX=1;exitY=0.65;entryX=0;entryY=0.5;" target="13">
112            <mxGeometry relative="1" as="geometry">
113              <Array as="points">
114                <mxPoint x="2320" y="482" />
115              </Array>
116            </mxGeometry>
117          </mxCell>
118        </UserObject>
119      </root>
120    </mxGraphModel>
121  </diagram>
122</mxfile>