-
Notifications
You must be signed in to change notification settings - Fork 0
/
js_prototype_understanding.drawio
43 lines (43 loc) · 4.27 KB
/
js_prototype_understanding.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
<mxfile host="app.diagrams.net" modified="2023-04-12T08:26:06.793Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" etag="-R4KyfXwBB5zv5lCd2eh" version="21.1.1" type="github">
<diagram name="Page-1" id="ABDe9-VUxwLN5vSOSTY3">
<mxGraphModel dx="968" dy="692" 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="X2gbXxYr7V6jVktkldjM-8" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;" edge="1" parent="1" source="X2gbXxYr7V6jVktkldjM-1" target="X2gbXxYr7V6jVktkldjM-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-10" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.967;exitY=0.333;exitDx=0;exitDy=0;entryX=0;entryY=0.342;entryDx=0;entryDy=0;exitPerimeter=0;entryPerimeter=0;dashed=1;" edge="1" parent="1" source="X2gbXxYr7V6jVktkldjM-1" target="X2gbXxYr7V6jVktkldjM-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-1" value="<font style="font-size: 16px;">构造函数</font>" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
<mxGeometry x="200" y="160" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-9" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;dashed=1;" edge="1" parent="1" source="X2gbXxYr7V6jVktkldjM-2" target="X2gbXxYr7V6jVktkldjM-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-2" value="<font style="font-size: 16px;">实例对象</font>" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="360" y="320" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-11" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.667;exitDx=0;exitDy=0;entryX=0.992;entryY=0.667;entryDx=0;entryDy=0;entryPerimeter=0;exitPerimeter=0;dashed=1;" edge="1" parent="1" source="X2gbXxYr7V6jVktkldjM-3" target="X2gbXxYr7V6jVktkldjM-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-3" value="<font style="font-size: 16px;">原型对象</font>" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="520" y="160" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-12" value="new" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="260" y="320" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-13" value="__proto__" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="530" y="320" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-14" value="prototype" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="380" y="170" width="70" height="30" as="geometry" />
</mxCell>
<mxCell id="X2gbXxYr7V6jVktkldjM-15" value="constructor" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="380" y="240" width="70" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>