56 lines
5.9 KiB
Text
56 lines
5.9 KiB
Text
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" version="24.8.4">
|
|
<diagram id="TGkC-fbVlQBUkP2gEpgm" name="Page-1">
|
|
<mxGraphModel dx="1434" dy="738" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-1" value="API Accounts" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
<mxGeometry x="420" y="40" width="140" height="120" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-2" value="Account 1" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="Fao0HeDoRiUuBRh6Pi_Q-1">
|
|
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-3" value="Account 2" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="Fao0HeDoRiUuBRh6Pi_Q-1">
|
|
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-4" value="Account 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="Fao0HeDoRiUuBRh6Pi_Q-1">
|
|
<mxGeometry y="90" width="140" height="30" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-10" value="" style="ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;" vertex="1" parent="1">
|
|
<mxGeometry x="70" y="50" width="30" height="30" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-11" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=-0.007;entryY=0.761;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="Fao0HeDoRiUuBRh6Pi_Q-10" parent="1" target="Fao0HeDoRiUuBRh6Pi_Q-12">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="85" y="140" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0;exitDx=65;exitDy=0;exitPerimeter=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Fao0HeDoRiUuBRh6Pi_Q-12" target="Fao0HeDoRiUuBRh6Pi_Q-1">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-12" value="<pre>for cred in credentials:</pre><pre> account = new VRCAPI(cred)</pre><pre> apiAccounts.push(account)</pre><pre>server.listen()</pre>" style="verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;" vertex="1" parent="1">
|
|
<mxGeometry x="30" y="180" width="230" height="140" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-14" value="VRCApi" style="shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;" vertex="1" parent="1">
|
|
<mxGeometry x="180" y="40" width="70" height="50" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=-0.014;entryY=0.196;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Fao0HeDoRiUuBRh6Pi_Q-14" target="Fao0HeDoRiUuBRh6Pi_Q-12">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-16" value="HTTP Request" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" vertex="1" parent="1">
|
|
<mxGeometry x="370" y="310" width="120" height="40" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-17" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;" edge="1" source="Fao0HeDoRiUuBRh6Pi_Q-16" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="430" y="410" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-18" value="<pre>// account = firstWorkingAccount()</pre><pre>result = account.request(request.path, request.method, request.body)</pre><pre>return result</pre>" style="verticalAlign=top;align=left;spacingTop=8;spacingLeft=2;spacingRight=12;shape=cube;size=10;direction=south;fontStyle=4;html=1;whiteSpace=wrap;" vertex="1" parent="1">
|
|
<mxGeometry x="350" y="410" width="470" height="120" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="Fao0HeDoRiUuBRh6Pi_Q-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0;exitDx=0;exitDy=0;entryX=-0.05;entryY=0.496;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Fao0HeDoRiUuBRh6Pi_Q-1" target="Fao0HeDoRiUuBRh6Pi_Q-18">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile>
|