-
Notifications
You must be signed in to change notification settings - Fork 0
/
HabitTracker.drawio
85 lines (85 loc) · 8.43 KB
/
HabitTracker.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<mxfile host="www.draw.io" modified="2019-11-21T08:36:54.643Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" etag="z1rJNhxn1XO-Ce3k8f8w" version="12.2.7" type="github" pages="1">
<diagram id="pHNomnXh8NFI_Dzp1YEi" name="Page-1">
<mxGraphModel dx="1463" dy="790" 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="UVpa7_WHdKnRNrPXQmbn-24" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="214" y="80" width="536" height="690" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-2" value="Habit" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="244" y="110" width="180" height="174" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-3" value="- name : String
- description : String
- Hardness : enum
- Scaryness : enum
- Starting date : instance
- successful dates(List : date)
- skipped dates(List : date) 
- success stream : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-2">
<mxGeometry y="26" width="180" height="114" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-4" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-2">
<mxGeometry y="140" width="180" height="8" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-5" value="+ " style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-2">
<mxGeometry y="148" width="180" height="26" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-6" value="HabitController" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="500" y="110" width="180" height="150" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-7" value="- habitService : HabitService" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-6">
<mxGeometry y="26" width="180" height="34" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-8" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-6">
<mxGeometry y="60" width="180" height="8" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-9" value="+ createHabit
+ updateHabit
+ getHabit
+ getAllHabits
+ deleteHabit" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-6">
<mxGeometry y="68" width="180" height="82" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-12" value="HabitService" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="500" y="330" width="200" height="150" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-13" value="- habitRepository : HabitRepository" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-12">
<mxGeometry y="26" width="200" height="34" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-14" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-12">
<mxGeometry y="60" width="200" height="8" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-15" value="+ createHabit
+ updateHabit
+ getHabit
+ getAllHabits
+ deleteHabit" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-12">
<mxGeometry y="68" width="200" height="82" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-16" value="HabitRepository" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="500" y="540" width="200" height="60" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-18" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-16">
<mxGeometry y="26" width="200" height="8" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-19" value="+" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="UVpa7_WHdKnRNrPXQmbn-16">
<mxGeometry y="34" width="200" height="26" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-20" value="" style="shape=datastore;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="570" y="690" width="60" height="60" as="geometry"/>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="UVpa7_WHdKnRNrPXQmbn-9" target="UVpa7_WHdKnRNrPXQmbn-12">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="600" y="270"/>
<mxPoint x="600" y="270"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="UVpa7_WHdKnRNrPXQmbn-15" target="UVpa7_WHdKnRNrPXQmbn-16">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="600" y="480"/>
<mxPoint x="600" y="480"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="UVpa7_WHdKnRNrPXQmbn-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="UVpa7_WHdKnRNrPXQmbn-19" target="UVpa7_WHdKnRNrPXQmbn-20">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="600" y="610"/>
<mxPoint x="600" y="610"/>
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>