Skip to content

Commit

Permalink
docs: update diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
ddadaal committed Oct 4, 2022
1 parent 4c96d87 commit 9299b06
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 29 deletions.
71 changes: 44 additions & 27 deletions docs/diagrams/app.dio
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<mxfile host="65bd71144e" scale="2" border="0">
<diagram id="Pjbi3EagdmSRB1L1AeHt" name="Page-1">
<mxGraphModel dx="479" dy="364" 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">
<mxGraphModel dx="534" dy="364" 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="24" value="service" style="rounded=0;whiteSpace=wrap;fillColor=none;verticalAlign=top;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="360" y="540" width="320" height="60" as="geometry"/>
<mxGeometry x="370" y="540" width="300" height="60" as="geometry"/>
</mxCell>
<mxCell id="2" value="登录节点" style="rounded=0;whiteSpace=wrap;fillColor=none;verticalAlign=top;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="550" y="650" width="130" height="70" as="geometry"/>
<mxGeometry x="550" y="650" width="120" height="70" as="geometry"/>
</mxCell>
<mxCell id="5" value="" style="edgeStyle=none;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;spacing=0;labelBackgroundColor=none;" parent="1" source="3" target="93" edge="1">
<mxGeometry relative="1" as="geometry">
Expand All @@ -17,37 +17,29 @@
</mxCell>
<mxCell id="10" value="HTTP&#10;WebSocket" style="edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];spacing=0;labelBackgroundColor=none;" parent="5" vertex="1" connectable="0">
<mxGeometry x="-0.2092" y="-2" relative="1" as="geometry">
<mxPoint x="-27" y="-12" as="offset"/>
<mxPoint x="-18" y="4" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="97" value="" style="edgeStyle=none;exitX=0.5;exitY=1;exitDx=0;exitDy=0;spacing=0;labelBackgroundColor=none;" edge="1" parent="1" source="3" target="15">
<mxCell id="97" value="" style="edgeStyle=none;exitX=0.5;exitY=1;exitDx=0;exitDy=0;spacing=0;labelBackgroundColor=none;" parent="1" source="3" target="15" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="客户端浏览器" style="whiteSpace=wrap;fillColor=none;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="455" y="450" width="90" height="30" as="geometry"/>
<mxGeometry x="470" y="460" width="90" height="30" as="geometry"/>
</mxCell>
<mxCell id="89" value="" style="edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;spacing=0;labelBackgroundColor=none;" parent="1" source="15" target="69" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="90" value="提交作业" style="edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];spacing=0;labelBackgroundColor=none;" parent="89" vertex="1" connectable="0">
<mxGeometry x="-0.3859" relative="1" as="geometry">
<mxPoint x="9" y="-10" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="73" value="" style="edgeStyle=none;exitX=0.393;exitY=1.035;exitDx=0;exitDy=0;startArrow=none;entryX=0.08;entryY=-0.058;entryDx=0;entryDy=0;entryPerimeter=0;spacing=0;labelBackgroundColor=none;exitPerimeter=0;" parent="1" source="93" target="77" edge="1">
<mxCell id="73" value="" style="edgeStyle=none;exitX=0.393;exitY=1.035;exitDx=0;exitDy=0;startArrow=none;entryX=0.321;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;spacing=0;labelBackgroundColor=none;exitPerimeter=0;" parent="1" source="93" target="77" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="83" value="HTTP/WebSocket&#10;连接到作业监听的端口" style="edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];spacing=0;labelBackgroundColor=none;" parent="73" vertex="1" connectable="0">
<mxGeometry x="0.2536" y="-2" relative="1" as="geometry">
<mxPoint x="59" y="-24" as="offset"/>
<mxPoint x="53" y="-24" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="15" value="portal-web" style="rounded=0;whiteSpace=wrap;fillColor=none;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="455" y="564.75" width="80" height="22.5" as="geometry"/>
<mxGeometry x="560" y="558.75" width="80" height="22.5" as="geometry"/>
</mxCell>
<mxCell id="72" value="" style="edgeStyle=none;exitX=0.65;exitY=1.036;exitDx=0;exitDy=0;entryX=0.853;entryY=-0.087;entryDx=0;entryDy=0;exitPerimeter=0;entryPerimeter=0;spacing=0;labelBackgroundColor=none;" parent="1" source="69" target="74" edge="1">
<mxCell id="72" value="" style="edgeStyle=none;exitX=0.596;exitY=1.024;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;spacing=0;labelBackgroundColor=none;" parent="1" source="15" target="74" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="609.77" y="595.4960000000001" as="sourcePoint"/>
<mxPoint x="642" y="590.9090000000001" as="sourcePoint"/>
<mxPoint x="610.78" y="703.75" as="targetPoint"/>
</mxGeometry>
</mxCell>
Expand All @@ -56,14 +48,11 @@
<mxPoint x="-41" y="-4" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="69" value="job-server" style="rounded=0;whiteSpace=wrap;fillColor=none;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="590" y="564.75" width="80" height="25.25" as="geometry"/>
</mxCell>
<mxCell id="74" value="调度器" style="rounded=0;whiteSpace=wrap;spacing=0;labelBackgroundColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="568.75" y="680" width="90" height="30" as="geometry"/>
</mxCell>
<mxCell id="58" value="计算节点" style="rounded=0;whiteSpace=wrap;fillColor=none;verticalAlign=top;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="360" y="650" width="130" height="70" as="geometry"/>
<mxGeometry x="370" y="650" width="120" height="70" as="geometry"/>
</mxCell>
<mxCell id="76" value="" style="edgeStyle=none;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;spacing=0;labelBackgroundColor=none;" parent="1" source="74" target="77" edge="1">
<mxGeometry relative="1" as="geometry">
Expand All @@ -78,14 +67,42 @@
<mxCell id="77" value="作业" style="rounded=0;whiteSpace=wrap;spacing=0;labelBackgroundColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="389.25" y="680" width="79" height="30" as="geometry"/>
</mxCell>
<mxCell id="93" value="gateway" style="rounded=0;whiteSpace=wrap;fillColor=none;spacing=0;labelBackgroundColor=none;" vertex="1" parent="1">
<mxGeometry x="370" y="564.75" width="70" height="22.5" as="geometry"/>
<mxCell id="93" value="gateway" style="rounded=0;whiteSpace=wrap;fillColor=none;spacing=0;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="390" y="558.75" width="70" height="22.5" as="geometry"/>
</mxCell>
<mxCell id="98" value="HTTP" style="edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];spacing=0;labelBackgroundColor=none;" vertex="1" connectable="0" parent="1">
<mxGeometry x="470.0030191479076" y="519.7841067566858" as="geometry">
<mxCell id="98" value="HTTP" style="edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];spacing=0;labelBackgroundColor=none;" parent="1" vertex="1" connectable="0">
<mxGeometry x="490.0030191479076" y="519.7841067566858" as="geometry">
<mxPoint x="54" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="102" value="" style="endArrow=classic;html=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="440" y="470" as="sourcePoint"/>
<mxPoint x="330" y="700" as="targetPoint"/>
<Array as="points">
<mxPoint x="330" y="540"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="103" value="连接到作业" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=default;labelBackgroundColor=none;" vertex="1" connectable="0" parent="102">
<mxGeometry x="0.0854" y="1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="104" value="" style="endArrow=classic;html=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="620" y="470" as="sourcePoint"/>
<mxPoint x="710" y="700" as="targetPoint"/>
<Array as="points">
<mxPoint x="710" y="550"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="105" value="提交作业" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="104">
<mxGeometry x="0.0001" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
Expand Down
Binary file modified docs/diagrams/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 42 additions & 2 deletions docs/diagrams/architecture.dio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mxfile host="65bd71144e" scale="2" border="0">
<diagram id="aekzRgjksSTJDkMgN9YQ" name="Page-1">
<mxGraphModel dx="1322" dy="910" 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">
<mxGraphModel dx="921" dy="628" 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"/>
Expand All @@ -11,14 +11,24 @@
<mxGeometry x="130" y="540" width="447" height="90" as="geometry"/>
</mxCell>
<mxCell id="47" value="SCOW Node" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;verticalAlign=top;fontSize=18;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="127" y="110" width="550" height="390" as="geometry"/>
<mxGeometry x="124.5" y="110" width="550" height="390" as="geometry"/>
</mxCell>
<mxCell id="51" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fillColor=#a20025;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" source="48" target="49" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="86" value="HTTP" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="51">
<mxGeometry x="-0.2709" y="-1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="52" style="edgeStyle=none;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fillColor=#0050ef;strokeColor=#001DBC;labelBackgroundColor=none;" parent="1" source="48" target="5" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="84" value="HTTP/WebSocket" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="52">
<mxGeometry x="0.1639" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="48" value="gateway" style="rounded=0;whiteSpace=wrap;html=1;fontSize=18;fillColor=#647687;fontColor=#ffffff;strokeColor=#314354;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="147" y="150" width="505" height="30" as="geometry"/>
</mxCell>
Expand All @@ -36,9 +46,19 @@
<mxCell id="56" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fillColor=#0050ef;strokeColor=#001DBC;labelBackgroundColor=none;" parent="1" source="5" target="9" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="87" value="HTTP" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="56">
<mxGeometry x="-0.3138" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="81" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=18;fillColor=#0050ef;strokeColor=#001DBC;labelBackgroundColor=none;" parent="1" source="5" target="80" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="85" value="SSH" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="81">
<mxGeometry x="-0.1079" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="portal-web" style="whiteSpace=wrap;html=1;fontSize=18;fillColor=#0050ef;fontColor=#ffffff;strokeColor=#001DBC;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="170" y="230" width="120" height="60" as="geometry"/>
</mxCell>
Expand All @@ -48,6 +68,11 @@
<mxCell id="54" style="edgeStyle=none;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;fillColor=#a20025;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" source="8" target="9" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="90" value="HTTP" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="54">
<mxGeometry x="0.1507" y="1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="8" value="&lt;span style=&quot;font-size: 18px&quot;&gt;mis-server&lt;br&gt;&lt;/span&gt;" style="whiteSpace=wrap;html=1;fillColor=#a20025;fontColor=#ffffff;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="354" y="350" width="120" height="60" as="geometry"/>
</mxCell>
Expand All @@ -72,9 +97,19 @@
<mxCell id="55" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=-0.016;entryY=0.42;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#a20025;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" source="49" target="9" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="88" value="HTTP" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="55">
<mxGeometry x="-0.1102" y="-1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="70" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=18;fillColor=#a20025;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" source="49" target="8" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="89" value="gRPC" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="70">
<mxGeometry x="0.2417" y="-2" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="49" value="mis-web" style="whiteSpace=wrap;html=1;fontSize=18;fillColor=#a20025;fontColor=#ffffff;strokeColor=#6F0000;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="400" y="220" width="120" height="60" as="geometry"/>
</mxCell>
Expand All @@ -90,6 +125,11 @@
<mxPoint x="451.25" y="480" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="91" value="SSH" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];labelBackgroundColor=none;" vertex="1" connectable="0" parent="40">
<mxGeometry x="-0.291" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="80" value="login-node" style="rounded=0;whiteSpace=wrap;html=1;fontSize=18;labelBackgroundColor=none;" parent="1" vertex="1">
<mxGeometry x="177" y="570" width="113" height="50" as="geometry"/>
</mxCell>
Expand Down
Binary file modified docs/diagrams/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9299b06

Please sign in to comment.