davinci-paper/v2/figures/circuits-flow.drawio
v2/figures/circuits-flow.drawioRaw
1<mxfile host="drawio"><diagram name="circuits-flow" id="circuits-flow"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="4" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c3" value="voter" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Helvetica;verticalAlign=top;align=left;spacingTop=4;spacingLeft=8;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="176" height="220" as="geometry"/></mxCell><mxCell id="c4" value="sequencer" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Helvetica;verticalAlign=top;align=left;spacingTop=4;spacingLeft=8;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="236" y="0" width="176" height="220" as="geometry"/></mxCell><mxCell id="c5" value="settlement chain" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Helvetica;verticalAlign=top;align=left;spacingTop=4;spacingLeft=8;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="472" y="0" width="178" height="220" as="geometry"/></mxCell><mxCell id="c6" value='<b>ballot circuit</b><br><font style="font-size:10px"><b>proof:</b> Groth16, BN254<br><b>tool:</b> circom<br><b>count:</b> one per ballot</font>' style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;spacingTop=6;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="12" y="36" width="152" height="76" as="geometry"/></mxCell><mxCell id="c7" value='<b>batch program</b><br><font style="font-size:10px"><b>proof:</b> STARK, PlonK wrap<br><b>zkVM:</b> ZisK, Rust guest<br><b>count:</b> one per batch</font>' style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;spacingTop=6;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="248" y="36" width="152" height="76" as="geometry"/></mxCell><mxCell id="c8" value='<b>results program</b><br><font style="font-size:10px"><b>proof:</b> STARK, PlonK wrap<br><b>zkVM:</b> ZisK, Rust guest<br><b>mode:</b> sequencer key</font>' style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=left;verticalAlign=top;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;spacingTop=6;spacingLeft=8;" vertex="1" parent="1"><mxGeometry x="248" y="132" width="152" height="76" as="geometry"/></mxCell><mxCell id="c9" value='<b>ProcessRegistry</b><br><font style="font-size:10px">verifies the proofs with<br>the ZisK verifier and<br>the blobs with<br>point evaluations</font>' style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=1;fontFamily=Helvetica;align=center;verticalAlign=middle;spacingLeft=6;spacingRight=6;spacingTop=2;spacingBottom=2;" vertex="1" parent="1"><mxGeometry x="484" y="36" width="154" height="172" as="geometry"/></mxCell><mxCell id="c10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="c6" target="c7"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c11" value="ballot<br>proofs" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=center;verticalAlign=middle;fontColor=#000000;spacing=0;" vertex="1" parent="1"><mxGeometry x="164" y="44.0" width="84" height="26" as="geometry"/></mxCell><mxCell id="c12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.2209;entryDx=0;entryDy=0;" edge="1" parent="1" source="c7" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c13" value="batch proof,<br>blobs" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=center;verticalAlign=middle;fontColor=#000000;spacing=0;" vertex="1" parent="1"><mxGeometry x="400" y="44.0" width="84" height="26" as="geometry"/></mxCell><mxCell id="c14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;endArrow=classic;startArrow=none;endSize=6;startSize=6;fontSize=10;fontFamily=Helvetica;strokeColor=#000000;strokeWidth=1;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.7791;entryDx=0;entryDy=0;" edge="1" parent="1" source="c8" target="c9"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="c15" value="results<br>proof" style="text;html=1;whiteSpace=wrap;fontSize=10;fontFamily=Helvetica;align=center;verticalAlign=middle;fontColor=#000000;spacing=0;" vertex="1" parent="1"><mxGeometry x="400" y="140.0" width="84" height="26" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>