Skip to content

Docs: Added use case diagram to documentation directory. #108

Merged
merged 1 commit into from
May 23, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Docs/Use case diagram/MillionsUseCaseDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Docs/Use case diagram/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Use case diagram

This directory contains the use case diagram used for the project.

![Millions use case diagram](MillionsUseCaseDiagram.png "Use Case diagram")

Draw.io was used to create the diagram.

To access the diagram for modification purposes, please download the file "Use case diagram.drawio" and open it in draw.io.
248 changes: 248 additions & 0 deletions Docs/Use case diagram/Use case diagram.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/29.6.6 Chrome/144.0.7559.236 Electron/40.8.4 Safari/537.36" version="29.6.6">
<diagram name="Page-1" id="lFeP1hKt3lvH42uYRzG_">
<mxGraphModel dx="1901" dy="1121" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="AHbAhLnhMV4t7AtS05kd-5" parent="1" style="shape=rect;html=1;verticalAlign=top;fontStyle=1;whiteSpace=wrap;align=center;" value="Millions" vertex="1">
<mxGeometry height="1070" width="670" x="340" y="40" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-1" parent="1" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" value="User" vertex="1">
<mxGeometry height="60" width="30" x="250" y="530" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-18" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-1" style="endArrow=none;html=1;rounded=0;" target="AHbAhLnhMV4t7AtS05kd-6" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="265" y="145" />
</Array>
<mxPoint x="690" y="540" as="sourcePoint" />
<mxPoint x="740" y="490" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-19" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-1" style="endArrow=none;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-49" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="265" y="330" />
</Array>
<mxPoint x="330" y="646" as="sourcePoint" />
<mxPoint x="412.813662367839" y="336.080700079911" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-20" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-1" style="endArrow=none;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-29" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="265" y="430" />
</Array>
<mxPoint x="440" y="465" as="sourcePoint" />
<mxPoint x="427.59863095527703" y="362.8483567878477" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-21" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-1" style="endArrow=none;html=1;rounded=0;entryX=0.022;entryY=0.615;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-31" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<mxPoint x="420" y="517" as="sourcePoint" />
<mxPoint x="402.58658856703187" y="434.4264515986779" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-24" edge="1" parent="1" style="endArrow=none;html=1;rounded=0;" target="AHbAhLnhMV4t7AtS05kd-14" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="260" y="920" />
</Array>
<mxPoint x="260" y="590" as="sourcePoint" />
<mxPoint x="534" y="650" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-22" edge="1" parent="1" style="endArrow=none;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-39" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="260" y="673" />
</Array>
<mxPoint x="260" y="590" as="sourcePoint" />
<mxPoint x="401.3580566509502" y="495.06347268802097" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-23" edge="1" parent="1" style="endArrow=none;html=1;rounded=0;" target="AHbAhLnhMV4t7AtS05kd-13" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="260" y="800" />
</Array>
<mxPoint x="260" y="590" as="sourcePoint" />
<mxPoint x="520" y="540" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-25" edge="1" parent="1" style="endArrow=none;html=1;rounded=0;" target="AHbAhLnhMV4t7AtS05kd-15" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="260" y="860" />
<mxPoint x="260" y="1040" />
</Array>
<mxPoint x="260" y="590" as="sourcePoint" />
<mxPoint x="615" y="829" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-48" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=1 2;" target="AHbAhLnhMV4t7AtS05kd-47">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-53" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-48" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; include &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1872" y="1" as="geometry">
<mxPoint x="5" y="-14" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-6" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Start new game" vertex="1">
<mxGeometry height="70" width="140" x="375" y="110" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-14" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="View networth and status" vertex="1">
<mxGeometry height="80" width="150" x="370" y="880" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-15" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Sell inventory and exit game" vertex="1">
<mxGeometry height="80" width="150" x="370" y="1000" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-13" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Advance week, causing changes in the market" vertex="1">
<mxGeometry height="80" width="150" x="370" y="760" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-29" parent="1" style="html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;" value="&lt;b&gt;&lt;br&gt;Extension points&lt;/b&gt;&lt;br&gt;Search for stocks" vertex="1">
<mxGeometry height="80" width="160" x="370" y="390" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-30" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-29" style="resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;" value="Buy shares" vertex="1">
<mxGeometry x="85" y="17" as="geometry">
<mxPoint x="-5" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-31" parent="1" style="html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;" value="&lt;b&gt;&lt;br&gt;Extension points&lt;/b&gt;&lt;br&gt;Search for stocks" vertex="1">
<mxGeometry height="80" width="160" x="375" y="510" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-32" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-31" style="resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;" value="Sell shares" vertex="1">
<mxGeometry x="85" y="17" as="geometry">
<mxPoint x="-5" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-33" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-29" style="endArrow=none;html=1;rounded=0;startArrow=open;startFill=0;dashed=1;dashPattern=1 2;exitX=0.983;exitY=0.621;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.019;entryY=0.328;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="643" y="440" />
</Array>
<mxPoint x="530" y="390" as="sourcePoint" />
<mxPoint x="642.5144330121664" y="465.7035188333085" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-35" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-33" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1867" as="geometry">
<mxPoint x="9" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-37" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-31" style="endArrow=none;html=1;rounded=0;startArrow=open;startFill=0;dashed=1;dashPattern=1 2;exitX=0.951;exitY=0.256;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.031;entryY=0.671;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="645" y="530" />
</Array>
<mxPoint x="580" y="351" as="sourcePoint" />
<mxPoint x="649.7262123830826" y="492.7979670630599" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-38" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-37" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1867" as="geometry">
<mxPoint x="3" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-39" parent="1" style="html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;" value="&lt;b&gt;&lt;br&gt;Extension points&lt;/b&gt;&lt;br&gt;Search for stocks" vertex="1">
<mxGeometry height="105" width="180" x="365" y="620" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-40" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-39" style="resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;" value="&lt;font style=&quot;font-size: 11px;&quot;&gt;View transaction&lt;br&gt;history&lt;/font&gt;" vertex="1">
<mxGeometry x="100.005" y="25.002500000000005" as="geometry">
<mxPoint x="-8" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-41" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-39" style="endArrow=none;html=1;rounded=0;startArrow=open;startFill=0;dashed=1;dashPattern=1 2;exitX=0.901;exitY=0.191;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.17;entryY=0.892;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="670" y="640" />
</Array>
<mxPoint x="590" y="424" as="sourcePoint" />
<mxPoint x="675.372111432561" y="505.41754975899096" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-42" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-41" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1867" as="geometry">
<mxPoint x="-45" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-47" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Configure game" vertex="1">
<mxGeometry height="70" width="140" x="590" y="110" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-66" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;dashPattern=1 2;endArrow=open;endFill=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="AHbAhLnhMV4t7AtS05kd-49">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="450" y="245" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-68" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-66" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="0.6" y="-2" as="geometry">
<mxPoint x="72" y="-23" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-49" parent="1" style="html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;" value="&lt;b&gt;&lt;br&gt;Extension points&lt;/b&gt;&lt;br&gt;Search for stocks" vertex="1">
<mxGeometry height="80" width="160" x="370" y="290" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-50" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-49" style="resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;" value="Stock information" vertex="1">
<mxGeometry x="85" y="17" as="geometry">
<mxPoint x="-5" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-51" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-49" style="endArrow=none;html=1;rounded=0;startArrow=open;startFill=0;dashed=1;dashPattern=1 2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.173;entryY=0.089;entryDx=0;entryDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61" value="">
<mxGeometry height="50" relative="1" width="50" as="geometry">
<Array as="points">
<mxPoint x="668" y="330" />
</Array>
<mxPoint x="600" y="440" as="sourcePoint" />
<mxPoint x="667.8964323763787" y="447.0389127832874" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-52" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-51" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1867" as="geometry">
<mxPoint x="-30" y="-10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-54" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Filter" vertex="1">
<mxGeometry height="70" width="140" x="770" y="360" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-55" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Sort" vertex="1">
<mxGeometry height="70" width="140" x="770" y="520" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-56" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=1 2;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61">
<mxGeometry relative="1" as="geometry">
<mxPoint x="645" y="220" as="sourcePoint" />
<mxPoint x="710" y="440" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-57" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-56" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1872" y="1" as="geometry">
<mxPoint x="9" y="-16" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-59" edge="1" parent="1" source="AHbAhLnhMV4t7AtS05kd-55" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;dashed=1;dashPattern=1 2;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryPerimeter=0;" target="AHbAhLnhMV4t7AtS05kd-61">
<mxGeometry relative="1" as="geometry">
<mxPoint x="800" y="410" as="sourcePoint" />
<mxPoint x="710" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-60" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-59" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" value="&amp;lt;&amp;lt; extend &amp;gt;&amp;gt;" vertex="1">
<mxGeometry relative="1" x="-0.1872" y="1" as="geometry">
<mxPoint x="4" y="17" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-61" parent="1" style="html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;" value="&lt;b&gt;&lt;br&gt;Extension points&lt;/b&gt;&lt;br&gt;Filter, Sort" vertex="1">
<mxGeometry height="80" width="160" x="640" y="440" as="geometry" />
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-62" connectable="0" parent="AHbAhLnhMV4t7AtS05kd-61" style="resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;" value="Search for stocks" vertex="1">
<mxGeometry x="80" y="20" as="geometry">
<mxPoint x="-2" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="AHbAhLnhMV4t7AtS05kd-65" parent="1" style="ellipse;whiteSpace=wrap;html=1;" value="Winners/loser of the week" vertex="1">
<mxGeometry height="70" width="140" x="590" y="210" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>