Files
stack/docs/diagrams/Diagramme sans nom.drawio
1641c3c852 feat: update for Ledger v2 (#468)
Co-authored-by: Antoine Wacheux <[email protected]>
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: Brieuc Caillot <[email protected]>
2023-09-20 16:40:28 +02:00

162 lines
13 KiB
Plaintext

<mxfile host="app.diagrams.net" modified="2023-09-20T12:27:48.524Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" etag="YiaWmCb2CwOw5Jm2YoIj" version="21.7.5" type="github">
<diagram name="Page-1" id="2YBvvXClWsGukQMizWep">
<mxGraphModel dx="1420" dy="664" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="aM9ryv3xv72pqoxQDRHE-5" value="Ledger" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=0;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="1" vertex="1">
<mxGeometry x="300" y="40" width="100" height="680" as="geometry" />
</mxCell>
<mxCell id="aM9ryv3xv72pqoxQDRHE-6" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;edgeStyle&quot;:&quot;elbowEdgeStyle&quot;,&quot;elbow&quot;:&quot;vertical&quot;,&quot;curved&quot;:0,&quot;rounded&quot;:0};" parent="aM9ryv3xv72pqoxQDRHE-5" vertex="1">
<mxGeometry x="45" y="80" width="10" height="560" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-6" value="Lock involved accounts" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="aM9ryv3xv72pqoxQDRHE-5" target="kLBy5EqH1aUpq8i9DnUh-9">
<mxGeometry x="-0.6111" y="25" relative="1" as="geometry">
<mxPoint x="420" y="180" as="sourcePoint" />
<mxPoint x="90" y="230" as="targetPoint" />
<Array as="points">
<mxPoint x="420" y="205" />
<mxPoint x="420" y="205" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-7" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-6">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-8" value="Lock" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="490" y="40" width="100" height="680" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-9" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-8">
<mxGeometry x="45" y="150" width="10" height="390" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-11" value="Machine" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="640" y="40" width="100" height="680" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-14" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-11">
<mxGeometry x="45" y="190" width="10" height="80" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-12" value="Execute transaction" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="aM9ryv3xv72pqoxQDRHE-6" target="kLBy5EqH1aUpq8i9DnUh-14">
<mxGeometry x="-0.5895" y="20" relative="1" as="geometry">
<mxPoint x="450" y="260" as="sourcePoint" />
<mxPoint x="700" y="270" as="targetPoint" />
<Array as="points">
<mxPoint x="430" y="270" />
<mxPoint x="430" y="270" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-13" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-12">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-19" value="Store" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="790" y="40" width="100" height="680" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-22" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="835" y="320" width="10" height="260" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-23" value="Store log" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="aM9ryv3xv72pqoxQDRHE-6" target="kLBy5EqH1aUpq8i9DnUh-19">
<mxGeometry x="0.0114" y="20" relative="1" as="geometry">
<mxPoint x="380" y="340" as="sourcePoint" />
<mxPoint x="700" y="300" as="targetPoint" />
<Array as="points">
<mxPoint x="360" y="350" />
<mxPoint x="360" y="350" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-24" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-23">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-27" value="Create transaction" style="html=1;verticalAlign=bottom;startArrow=circle;startFill=1;endArrow=open;startSize=6;endSize=8;curved=0;rounded=0;" edge="1" parent="1" target="aM9ryv3xv72pqoxQDRHE-5">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="210" y="150" as="sourcePoint" />
<mxPoint x="520" y="300" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-29" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="840" y="390" width="10" height="40" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-30" value="Bufferize" style="html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;edgeStyle=orthogonalEdgeStyle;curved=0;rounded=0;" edge="1" target="kLBy5EqH1aUpq8i9DnUh-29" parent="1" source="kLBy5EqH1aUpq8i9DnUh-29">
<mxGeometry relative="1" as="geometry">
<mxPoint x="800" y="420" as="sourcePoint" />
<Array as="points">
<mxPoint x="845" y="370" />
<mxPoint x="870" y="370" />
<mxPoint x="870" y="420" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-31" value="Worker" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="990" y="40" width="100" height="680" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-34" value="Loop" style="shape=umlFrame;whiteSpace=wrap;html=1;pointerEvents=0;" vertex="1" parent="1">
<mxGeometry x="990" y="350" width="100" height="200" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-35" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={&quot;curved&quot;:0,&quot;rounded&quot;:0};" vertex="1" parent="1">
<mxGeometry x="1035" y="430" width="10" height="80" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-38" value="Get logs and insert into database" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="kLBy5EqH1aUpq8i9DnUh-35" target="kLBy5EqH1aUpq8i9DnUh-22">
<mxGeometry x="0.8421" y="-20" relative="1" as="geometry">
<mxPoint x="1000" y="470" as="sourcePoint" />
<mxPoint x="840" y="460" as="targetPoint" />
<Array as="points">
<mxPoint x="890" y="470" />
<mxPoint x="890" y="470" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-40" value="Ok, log is inserted" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="kLBy5EqH1aUpq8i9DnUh-22" target="aM9ryv3xv72pqoxQDRHE-6">
<mxGeometry x="0.106" y="9" relative="1" as="geometry">
<mxPoint x="830" y="500" as="sourcePoint" />
<mxPoint x="600" y="500" as="targetPoint" />
<Array as="points">
<mxPoint x="718" y="500" />
<mxPoint x="718" y="501" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-41" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-40">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-42" value="name" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="aM9ryv3xv72pqoxQDRHE-5" target="kLBy5EqH1aUpq8i9DnUh-9">
<mxGeometry x="-1" relative="1" as="geometry">
<mxPoint x="370" y="560" as="sourcePoint" />
<mxPoint x="530" y="560" as="targetPoint" />
<Array as="points">
<mxPoint x="465" y="560" />
<mxPoint x="465" y="561" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-43" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-42">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-46" value="Release lock" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kLBy5EqH1aUpq8i9DnUh-42">
<mxGeometry x="0.0241" relative="1" as="geometry">
<mxPoint x="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-44" value="Computed transaction" style="endArrow=block;endFill=1;html=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=top;rounded=0;" edge="1" parent="1" source="kLBy5EqH1aUpq8i9DnUh-14" target="aM9ryv3xv72pqoxQDRHE-6">
<mxGeometry x="0.6667" y="-20" relative="1" as="geometry">
<mxPoint x="830" y="320" as="sourcePoint" />
<mxPoint x="990" y="320" as="targetPoint" />
<Array as="points">
<mxPoint x="640" y="300" />
<mxPoint x="640" y="300" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kLBy5EqH1aUpq8i9DnUh-45" value="1" style="edgeLabel;resizable=0;html=1;align=left;verticalAlign=bottom;" connectable="0" vertex="1" parent="kLBy5EqH1aUpq8i9DnUh-44">
<mxGeometry x="-1" relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>