forked from workattech/mock-machine-coding-2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Splitwise.uml
234 lines (233 loc) · 11.4 KB
/
Splitwise.uml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>JAVA</ID>
<OriginalElement>com.splitwise.driver</OriginalElement>
<nodes>
<node x="998.7444444444445" y="0.0">com.splitwise.model.User</node>
<node x="364.0" y="789.5">com.splitwise.splitStrategy.impl.SplitByExact</node>
<node x="772.0" y="789.5">com.splitwise.splitStrategy.impl.SplitByEqual</node>
<node x="1179.0833333333333" y="624.0">com.splitwise.model.UserRegistry</node>
<node x="717.9944444444446" y="388.0">com.splitwise.model.ExpenseTransactionInfo</node>
<node x="891.0" y="940.0">com.splitwise.transactionFactory.ExpenseTransaction</node>
<node x="1850.1666666666665" y="1167.0">com.splitwise.process.TransactionProcesser</node>
<node x="1840.1666666666665" y="988.5">com.splitwise.transactionFactory.BalanceTransaction</node>
<node x="1719.0833333333333" y="777.5">com.splitwise.transactionFactory.Transaction</node>
<node x="1969.6683618233617" y="624.0">com.splitwise.io.InputTxtReader</node>
<node x="1440.0833333333333" y="765.0">com.splitwise.driver.SplitwiseDriver</node>
<node x="1596.4166666666665" y="412.0">com.splitwise.model.Expense</node>
<node x="0.0" y="789.5">com.splitwise.splitStrategy.impl.SplitByPercent</node>
<node x="546.5" y="636.5">com.splitwise.splitStrategy.SplitStartegy</node>
</nodes>
<notes />
<edges>
<edge source="com.splitwise.transactionFactory.BalanceTransaction" target="com.splitwise.driver.SplitwiseDriver">
<point x="-92.66666666666669" y="-40.0" />
<point x="1886.4999999999998" y="910.0" />
<point x="1634.3333333333333" y="910.0" />
<point x="64.75" y="52.5" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByEqual" target="com.splitwise.splitStrategy.SplitStartegy">
<point x="-114.66666666666674" y="-28.0" />
<point x="829.3333333333333" y="745.0" />
<point x="847.5" y="745.0" />
<point x="129.0" y="28.0" />
</edge>
<edge source="com.splitwise.model.UserRegistry" target="com.splitwise.model.User">
<point x="-95.0" y="-40.5" />
<point x="1274.0833333333333" y="604.0" />
<point x="1353.2444444444445" y="604.0" />
<point x="1353.2444444444445" y="368.0" />
<point x="1182.7829059829062" y="368.0" />
<point x="24.538461538461547" y="149.0" />
</edge>
<edge source="com.splitwise.model.ExpenseTransactionInfo" target="com.splitwise.model.User">
<point x="-74.66666666666674" y="-88.0" />
<point x="755.3277777777779" y="348.0" />
<point x="1060.0905982905983" y="348.0" />
<point x="-98.15384615384619" y="149.0" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByExact" target="com.splitwise.splitStrategy.SplitStartegy">
<point x="114.66666666666674" y="-28.0" />
<point x="650.6666666666667" y="745.0" />
<point x="675.5" y="745.0" />
<point x="-43.0" y="28.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.transactionFactory.Transaction">
<point x="209.33333333333326" y="-88.5" />
<point x="1335.8333333333333" y="920.0" />
<point x="1765.4166666666665" y="920.0" />
<point x="-92.66666666666667" y="40.0" />
</edge>
<edge source="com.splitwise.process.TransactionProcesser" target="com.splitwise.transactionFactory.BalanceTransaction">
<point x="0.0" y="-52.5" />
<point x="0.0" y="40.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.splitStrategy.impl.SplitByEqual">
<point x="-52.333333333333485" y="-88.5" />
<point x="1074.1666666666665" y="890.0" />
<point x="944.0" y="890.0" />
<point x="0.0" y="28.0" />
</edge>
<edge source="com.splitwise.process.TransactionProcesser" target="com.splitwise.transactionFactory.ExpenseTransaction">
<point x="-103.19999999999999" y="-52.5" />
<point x="1875.9666666666665" y="1147.0" />
<point x="1126.5" y="1147.0" />
<point x="0.0" y="88.5" />
</edge>
<edge source="com.splitwise.transactionFactory.BalanceTransaction" target="com.splitwise.transactionFactory.Transaction">
<point x="0.0" y="-40.0" />
<point x="1979.1666666666665" y="920.0" />
<point x="1950.75" y="920.0" />
<point x="92.66666666666669" y="40.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.splitStrategy.impl.SplitByExact">
<point x="-157.0" y="-88.5" />
<point x="969.5" y="910.0" />
<point x="536.0" y="910.0" />
<point x="0.0" y="28.0" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByPercent" target="com.splitwise.splitStrategy.SplitStartegy">
<point x="114.66666666666674" y="-28.0" />
<point x="286.66666666666674" y="745.0" />
<point x="589.5" y="745.0" />
<point x="-129.0" y="28.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.model.User">
<point x="104.66666666666674" y="-88.5" />
<point x="1231.1666666666667" y="910.0" />
<point x="1168.5833333333333" y="910.0" />
<point x="1168.5833333333333" y="358.0" />
<point x="1158.2444444444445" y="358.0" />
<point x="0.0" y="149.0" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByEqual" target="com.splitwise.model.ExpenseTransactionInfo">
<point x="0.0" y="-28.0" />
<point x="944.0" y="604.0" />
<point x="848.6611111111114" y="604.0" />
<point x="18.666666666666742" y="88.0" />
</edge>
<edge source="com.splitwise.io.InputTxtReader" target="com.splitwise.process.TransactionProcesser">
<point x="100.5" y="40.5" />
<point x="2204.168361823362" y="745.0" />
<point x="2148.168361823362" y="745.0" />
<point x="2148.168361823362" y="1147.0" />
<point x="2082.366666666667" y="1147.0" />
<point x="103.20000000000005" y="-52.5" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByExact" target="com.splitwise.model.ExpenseTransactionInfo">
<point x="0.0" y="-28.0" />
<point x="536.0" y="594.0" />
<point x="773.9944444444446" y="594.0" />
<point x="-56.0" y="88.0" />
</edge>
<edge source="com.splitwise.driver.SplitwiseDriver" target="com.splitwise.io.InputTxtReader">
<point x="74.0" y="-52.5" />
<point x="1643.5833333333333" y="735.0" />
<point x="2003.1683618233617" y="735.0" />
<point x="-100.5" y="40.5" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByEqual" target="com.splitwise.model.User">
<point x="114.66666666666674" y="-28.0" />
<point x="1058.6666666666667" y="745.0" />
<point x="1157.5833333333333" y="745.0" />
<point x="1157.5833333333333" y="368.0" />
<point x="1133.705982905983" y="368.0" />
<point x="-24.538461538461547" y="149.0" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByPercent" target="com.splitwise.model.ExpenseTransactionInfo">
<point x="0.0" y="-28.0" />
<point x="172.0" y="584.0" />
<point x="736.6611111111114" y="584.0" />
<point x="-93.33333333333326" y="88.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.model.ExpenseTransactionInfo">
<point x="0.0" y="-88.5" />
<point x="1126.5" y="594.0" />
<point x="885.9944444444446" y="594.0" />
<point x="56.0" y="88.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.driver.SplitwiseDriver">
<point x="157.0" y="-88.5" />
<point x="1283.5" y="910.0" />
<point x="1504.8333333333333" y="910.0" />
<point x="-64.75" y="52.5" />
</edge>
<edge source="com.splitwise.splitStrategy.SplitStartegy" target="com.splitwise.model.ExpenseTransactionInfo">
<point x="0.0" y="-28.0" />
<point x="718.5" y="604.0" />
<point x="811.3277777777779" y="604.0" />
<point x="-18.666666666666742" y="88.0" />
</edge>
<edge source="com.splitwise.model.Expense" target="com.splitwise.model.User">
<point x="0.0" y="-64.0" />
<point x="1717.9166666666665" y="338.0" />
<point x="1256.3982905982907" y="338.0" />
<point x="98.15384615384619" y="149.0" />
</edge>
<edge source="com.splitwise.driver.SplitwiseDriver" target="com.splitwise.model.User">
<point x="0.0" y="-52.5" />
<point x="1569.5833333333333" y="348.0" />
<point x="1231.8598290598293" y="348.0" />
<point x="73.61538461538464" y="149.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.splitStrategy.impl.SplitByPercent">
<point x="-209.33333333333348" y="-88.5" />
<point x="917.1666666666665" y="920.0" />
<point x="172.0" y="920.0" />
<point x="0.0" y="28.0" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByPercent" target="com.splitwise.model.User">
<point x="-114.66666666666674" y="-28.0" />
<point x="57.33333333333326" y="745.0" />
<point x="140.91666666666652" y="745.0" />
<point x="140.91666666666652" y="328.0" />
<point x="1011.0136752136755" y="328.0" />
<point x="-147.23076923076917" y="149.0" />
</edge>
<edge source="com.splitwise.driver.SplitwiseDriver" target="com.splitwise.model.UserRegistry">
<point x="-37.0" y="-52.5" />
<point x="1532.5833333333333" y="725.0" />
<point x="1495.75" y="725.0" />
<point x="126.66666666666674" y="40.5" />
</edge>
<edge source="com.splitwise.splitStrategy.impl.SplitByExact" target="com.splitwise.model.User">
<point x="-114.66666666666674" y="-28.0" />
<point x="421.33333333333326" y="735.0" />
<point x="151.91666666666652" y="735.0" />
<point x="151.91666666666652" y="338.0" />
<point x="1035.552136752137" y="338.0" />
<point x="-122.69230769230774" y="149.0" />
</edge>
<edge source="com.splitwise.transactionFactory.ExpenseTransaction" target="com.splitwise.splitStrategy.SplitStartegy">
<point x="-104.66666666666674" y="-88.5" />
<point x="1021.8333333333333" y="900.0" />
<point x="761.5" y="900.0" />
<point x="43.0" y="28.0" />
</edge>
<edge source="com.splitwise.process.TransactionProcesser" target="com.splitwise.transactionFactory.Transaction">
<point x="-51.60000000000002" y="-52.5" />
<point x="1927.5666666666666" y="1137.0" />
<point x="1829.6666666666665" y="1137.0" />
<point x="1829.6666666666665" y="920.0" />
<point x="1858.0833333333333" y="920.0" />
<point x="0.0" y="40.0" />
</edge>
<edge source="com.splitwise.transactionFactory.BalanceTransaction" target="com.splitwise.model.User">
<point x="92.66666666666674" y="-40.0" />
<point x="2071.833333333333" y="920.0" />
<point x="2248.168361823362" y="920.0" />
<point x="2248.168361823362" y="318.0" />
<point x="1305.475213675214" y="318.0" />
<point x="147.2307692307694" y="149.0" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="0.40000000000000013" x="1158.4999999999995" y="664.2499999999998" />
<SelectedNodes />
<Categories>
<Category>Fields</Category>
<Category>Methods</Category>
<Category>Properties</Category>
</Categories>
<SCOPE>All</SCOPE>
<VISIBILITY>private</VISIBILITY>
</Diagram>