Skip to content

Commit

Permalink
Merge pull request #39 from Joel-Haeberli/main
Browse files Browse the repository at this point in the history
docs: add architecture draft
  • Loading branch information
Joel-Haeberli committed Jul 19, 2023
2 parents fadc9ff + 19da69e commit ad5cd37
Showing 1 changed file with 115 additions and 0 deletions.
115 changes: 115 additions & 0 deletions assets/architecture.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<mxfile host="app.diagrams.net" modified="2023-07-19T10:36:21.612Z" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0" etag="vILhb1P5KeStEZTzCrf0" version="21.6.3" type="github">
<diagram name="Page-1" id="8Ss-g7mdqEp9VIPg8ZDx">
<mxGraphModel dx="1434" dy="766" 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="Hv6b3nKxB5rvXpH4_B1p-20" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="70" y="350" width="740" height="420" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-21" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="70" y="60" width="740" height="290" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-1" value="UI (Svelte)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="100" width="660" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-2" value="&lt;div&gt;Momentum-Backend (Pocketbase)&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="210" width="330" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-3" value="&lt;div&gt;Momentum-Core (Go/Gin)&lt;/div&gt;&lt;div&gt;#instance 1&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="400" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-4" value="&lt;div&gt;Momentum-Core (Go/Gin)&lt;/div&gt;&lt;div&gt;#instance 2&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="470" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-5" value="&lt;div&gt;Momentum-Core (Go/Gin)&lt;/div&gt;&lt;div&gt;#instance x&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="620" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-10" value="" style="group" vertex="1" connectable="0" parent="1">
<mxGeometry x="610" y="550" width="80" height="50" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="Hv6b3nKxB5rvXpH4_B1p-10">
<mxGeometry width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="Hv6b3nKxB5rvXpH4_B1p-10">
<mxGeometry y="20" width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="Hv6b3nKxB5rvXpH4_B1p-10">
<mxGeometry y="40" width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-14" value="&lt;div&gt;Momentum-Agent (Go)&lt;/div&gt;&lt;div&gt;#instance 1&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="400" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-15" value="&lt;div&gt;Momentum-Agent (Go)&lt;/div&gt;&lt;div&gt;#instance 2&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="110" y="470" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-16" value="&lt;div&gt;Momentum-Agent (Go)&lt;/div&gt;&lt;div&gt;#instance 2&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="120" y="620" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-17" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="1">
<mxGeometry x="250" y="550" width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-18" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="1">
<mxGeometry x="250" y="570" width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="1">
<mxGeometry x="250" y="590" width="10" height="10" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-22" value="Single Instance" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="70" y="60" width="120" height="30" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-23" value="Multiple Instances / Per Cluster" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="70" y="350" width="200" height="30" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-24" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.655;exitY=0.983;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;" edge="1" parent="1" source="Hv6b3nKxB5rvXpH4_B1p-2" target="Hv6b3nKxB5rvXpH4_B1p-14">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="380" as="sourcePoint" />
<mxPoint x="450" y="330" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-25" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Hv6b3nKxB5rvXpH4_B1p-2" target="Hv6b3nKxB5rvXpH4_B1p-3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="336" y="279" as="sourcePoint" />
<mxPoint x="338" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-26" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.78;exitY=1.033;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;" edge="1" parent="1" source="Hv6b3nKxB5rvXpH4_B1p-1" target="Hv6b3nKxB5rvXpH4_B1p-3">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="346" y="289" as="sourcePoint" />
<mxPoint x="348" y="420" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-27" value="manage momentum-structure" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="630" y="250" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-28" value="manage instances" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="410" y="290" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-29" value="manage instances" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="210" y="290" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-30" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="Hv6b3nKxB5rvXpH4_B1p-1" target="Hv6b3nKxB5rvXpH4_B1p-2">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="420" as="sourcePoint" />
<mxPoint x="450" y="370" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-31" value="Authenticate" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="270" y="160" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-34" value="" style="endArrow=classic;html=1;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0.727;exitY=0.983;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="Hv6b3nKxB5rvXpH4_B1p-1" target="Hv6b3nKxB5rvXpH4_B1p-14">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="20" y="390" as="sourcePoint" />
<mxPoint x="320" y="430" as="targetPoint" />
<Array as="points">
<mxPoint x="590" y="300" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Hv6b3nKxB5rvXpH4_B1p-35" value="gather state" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="470" y="230" width="120" height="10" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

0 comments on commit ad5cd37

Please sign in to comment.