Skip to content

Commit

Permalink
Add FamilyState diagram source
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyyakym committed Dec 17, 2023
1 parent ccfb76c commit 7ef729b
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions diagrams/FamilyState.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<mxfile host="app.diagrams.net" modified="2023-12-17T05:29:06.168Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" etag="fypshvGBCMrSm4ZUoGD1" version="22.1.11" type="device">
<diagram name="Page-1" id="L6hXXks4mkJWNCNI_z3Q">
<mxGraphModel dx="1045" dy="642" 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="6tfm00QPPgDDqZ2flqyk-7" value="getNode" style="swimlane;whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="1">
<mxGeometry x="280" y="180" width="320" height="280" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-7" source="6tfm00QPPgDDqZ2flqyk-8" target="6tfm00QPPgDDqZ2flqyk-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-15" value="Return node" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFB570;rounded=0;fontSize=12;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-10">
<mxGeometry x="-0.5" y="2" relative="1" as="geometry">
<mxPoint x="181" y="153" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;rounded=0;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="29" y="50" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-7" source="6tfm00QPPgDDqZ2flqyk-9" target="6tfm00QPPgDDqZ2flqyk-20">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="200" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-7" source="6tfm00QPPgDDqZ2flqyk-9" target="6tfm00QPPgDDqZ2flqyk-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-14" value="Node exists" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;rounded=0;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-13">
<mxGeometry x="-0.7493" y="2" relative="1" as="geometry">
<mxPoint x="19" y="-8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-9" value="" style="rhombus;whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="190" y="101" width="36" height="36" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-12" value="" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="270" y="180" width="22" height="22" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-16" value="Node does not exist" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;rounded=0;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="90.005" y="107" as="geometry">
<mxPoint x="-5" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-18" value="Create state node using&lt;br style=&quot;font-size: 12px;&quot;&gt;&lt;div style=&quot;font-size: 12px;&quot;&gt;initializer and save in family&lt;/div&gt;" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontColor=#FFB570;rounded=0;fontSize=12;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="45" y="140" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-20" value="" style="ellipse;whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="29" y="230" width="22" height="22" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-21" value="Return node" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFB570;rounded=0;fontSize=12;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="39.99999999999977" y="260.0000000000001" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-25" value="" style="outlineConnect=0;fontColor=#ffffff;fillColor=#006EAF;strokeColor=#006EAF;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.event;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="120" y="170" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-27" value="" style="outlineConnect=0;fontColor=#ffffff;fillColor=#006EAF;strokeColor=#006EAF;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.event;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-7">
<mxGeometry x="120" y="202" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-28" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-7" target="6tfm00QPPgDDqZ2flqyk-27">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="40" y="211.71000000000004" as="sourcePoint" />
<mxPoint x="169" y="211.71000000000004" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-29" value="changed" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#006EAF;rotation=0;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-28">
<mxGeometry x="0.2113" relative="1" as="geometry">
<mxPoint x="-47" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-17" value="" style="group;" vertex="1" connectable="0" parent="1">
<mxGeometry x="39" y="40" width="250" height="100" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-17">
<mxGeometry width="250" height="100" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-2" value="Family State" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-17">
<mxGeometry x="70" y="10" width="110" height="30" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-5" value="&lt;font color=&quot;#1a1a1a&quot; style=&quot;font-size: 14px;&quot;&gt;{&lt;/font&gt; &lt;font color=&quot;#6e4201&quot; style=&quot;font-size: 14px;&quot;&gt;id1&lt;/font&gt;: &lt;font color=&quot;#1ba1e2&quot; style=&quot;font-size: 14px;&quot;&gt;State&lt;/font&gt;, &lt;font color=&quot;#6e4201&quot; style=&quot;font-size: 14px;&quot;&gt;id2&lt;/font&gt;: &lt;font color=&quot;#1ba1e2&quot; style=&quot;font-size: 14px;&quot;&gt;State&lt;/font&gt;, ... &lt;font color=&quot;#1a1a1a&quot; style=&quot;font-size: 14px;&quot;&gt;}&lt;/font&gt;" style="text;html=1;strokeColor=#666666;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;glass=0;spacingTop=-10;spacing=0;spacingLeft=10;spacingBottom=-9;labelBorderColor=none;perimeterSpacing=0;fontSize=14;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-17">
<mxGeometry x="25" y="50" width="200" height="30" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-19" value="Find state node by ID" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFB570;rounded=0;fontSize=12;" vertex="1" connectable="0" parent="1">
<mxGeometry x="408" y="231" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-23" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1" target="6tfm00QPPgDDqZ2flqyk-25">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="359.71000000000004" as="sourcePoint" />
<mxPoint x="449" y="359.71000000000004" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-24" value="stateCreated" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#006EAF;rotation=0;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-23">
<mxGeometry x="0.2113" relative="1" as="geometry">
<mxPoint x="-47" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-30" value="any inner state `changed`" style="swimlane;whiteSpace=wrap;html=1;startSize=23;" vertex="1" parent="1">
<mxGeometry x="39" y="180" width="200" height="180" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-30" source="6tfm00QPPgDDqZ2flqyk-31" target="6tfm00QPPgDDqZ2flqyk-33">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-31" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-30">
<mxGeometry x="40" y="40" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-33" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-30">
<mxGeometry x="40" y="140" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-35" value="" style="outlineConnect=0;fontColor=#ffffff;fillColor=#006EAF;strokeColor=#006EAF;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.event;" vertex="1" parent="6tfm00QPPgDDqZ2flqyk-30">
<mxGeometry x="130" y="90" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-36" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="6tfm00QPPgDDqZ2flqyk-30" target="6tfm00QPPgDDqZ2flqyk-35">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="50" y="99.71000000000004" as="sourcePoint" />
<mxPoint x="179" y="99.71000000000004" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6tfm00QPPgDDqZ2flqyk-37" value="changed" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#006EAF;rotation=0;" vertex="1" connectable="0" parent="6tfm00QPPgDDqZ2flqyk-36">
<mxGeometry x="0.2113" relative="1" as="geometry">
<mxPoint x="-45" y="-10" as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

0 comments on commit 7ef729b

Please sign in to comment.