-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenRoutingClassDiagram
130 lines (130 loc) · 13.8 KB
/
OpenRoutingClassDiagram
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
<mxfile host="app.diagrams.net" modified="2021-09-26T22:28:49.428Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36" etag="Fdj9jLuHvC2efi6DOzNf" version="14.9.4" type="github">
<diagram id="huavaM5H2niFInwxmAUO" name="Page-1">
<mxGraphModel dx="1209" dy="642" 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" />
<UserObject label="Reference:<br>https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-class-diagram/" link="https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-class-diagram/" id="nMtvdOdgiSGjXJAd0oCB-25">
<mxCell style="text;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="190" y="30" width="530" height="30" as="geometry" />
</mxCell>
</UserObject>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-1" value="MapUtil (Module)" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="1" vertex="1">
<mxGeometry x="10" y="120" width="320" height="230" as="geometry">
<mxRectangle x="550" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-3" value="getpairdistance(coordinates, option (values 0, 1 ...)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-1" vertex="1">
<mxGeometry y="26" width="320" height="26" as="geometry" />
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-4" value="getcoordinate(addresses (array of string) 
apikey)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-1" vertex="1">
<mxGeometry y="52" width="320" height="38" as="geometry" />
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-2" value="getdistancematrix(coordinates, option (value 0, 1, ...))
" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-1" vertex="1">
<mxGeometry y="90" width="320" height="26" as="geometry" />
</mxCell>
<mxCell id="QheadIeWHdL6JA92FWEk-7" value="getmappedaddresses(addresses, googleapikey)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-1" vertex="1">
<mxGeometry y="116" width="320" height="26" as="geometry" />
</mxCell>
<mxCell id="QheadIeWHdL6JA92FWEk-9" value="genmapslink(route)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-1" vertex="1">
<mxGeometry y="142" width="320" height="26" as="geometry" />
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-5" value="WebGui" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="1" vertex="1">
<mxGeometry x="710" y="150" width="160" height="216" as="geometry">
<mxRectangle x="550" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-6" value="N/A" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-5" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="Oxwp4aB1wkPqPQWiOT1l-7" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="Oxwp4aB1wkPqPQWiOT1l-5" vertex="1">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-1" value="BasicRouter (filename: basicrouter.py)" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="1" vertex="1">
<mxGeometry x="57.6" y="390" width="372.4" height="350" as="geometry">
<mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-2" value="_addresses" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="26" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-4" value="_distancematrix" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="52" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-6" value="_apikey" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="78" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="QheadIeWHdL6JA92FWEk-2" value="_coordinates" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="104" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="vAHTGGE5WVtX3MgSD944-1" value="_distancematrixoption" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="130" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-7" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="156" width="372.4" height="8" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-9" value="__init__(addresses, apikey, distancematrixoption)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="164" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-20" value="routeOneVehicle()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="190" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-8" value="addIntermediateAddress(address)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="216" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="QheadIeWHdL6JA92FWEk-6" value="create_data_model(distancematrix)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="242" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="vAHTGGE5WVtX3MgSD944-4" value="deleteAddresses(indices[])" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fillColor=none;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="268" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="vAHTGGE5WVtX3MgSD944-5" value="getIndex(address)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fillColor=none;" parent="7p-ohof_0B5kuz0HnFsK-1" vertex="1">
<mxGeometry y="294" width="372.4" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-14" value="MultiVehicleRouter" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="1" vertex="1">
<mxGeometry x="200" y="824" width="550" height="242" as="geometry">
<mxRectangle x="340" y="380" width="170" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-15" value="force_fairness" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="26" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="DfCp5DB9zaR6FoLO04-T-3" value="_numvehicles" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="52" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="Z2woLTSkr1vUZGBvpv8i-2" value="starts" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="7p-ohof_0B5kuz0HnFsK-14">
<mxGeometry y="78" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="Z2woLTSkr1vUZGBvpv8i-3" value="ends" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="7p-ohof_0B5kuz0HnFsK-14">
<mxGeometry y="104" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-16" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="130" width="550" height="8" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-17" value="__init__(input_addresses, api_key, num_vehicles, starts, ends, distancematrixoption, force_fairness)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="138" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="vAHTGGE5WVtX3MgSD944-2" value="routeMultiVehicle()" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="164" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="DfCp5DB9zaR6FoLO04-T-2" value="get_formatted_output(data, manager, routing, solution)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="190" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="DfCp5DB9zaR6FoLO04-T-4" value="create_data_model(...)" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7p-ohof_0B5kuz0HnFsK-14" vertex="1">
<mxGeometry y="216" width="550" height="26" as="geometry" />
</mxCell>
<mxCell id="7p-ohof_0B5kuz0HnFsK-18" value="" style="endArrow=block;endSize=10;endFill=0;shadow=0;strokeWidth=1;rounded=0;edgeStyle=elbowEdgeStyle;elbow=vertical;" parent="1" source="7p-ohof_0B5kuz0HnFsK-14" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="-19.99999999999998" y="817" as="sourcePoint" />
<mxPoint x="282" y="736" as="targetPoint" />
<Array as="points">
<mxPoint x="282" y="806" />
<mxPoint x="282.4" y="794" />
<mxPoint x="222.4" y="784" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>