Fixing up an example

This commit is contained in:
Francois Laberge 2022-02-12 16:41:24 -05:00 committed by GitHub
parent c2e0aeebc6
commit 8549c73884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,94 +17,135 @@
"parentId": "page",
"childIndex": 1,
"point": [
351.95,
77.76
245.96,
277.88
],
"size": [
174.79,
98.23
292.43,
125.76
],
"rotation": 0,
"style": {
"color": "black",
"size": "small",
"isFilled": false,
"dash": "draw"
}
},
"fe792a2f-5a42-46dd-260e-a4135536d16d": {
"id": "fe792a2f-5a42-46dd-260e-a4135536d16d",
"type": "rectangle",
"name": "Rectangle",
"parentId": "page",
"childIndex": 2,
"point": [
465.88,
436.08
],
"size": [
249.64,
180.38
],
"rotation": 0,
"style": {
"color": "black",
"color": "white",
"size": "small",
"isFilled": false,
"dash": "draw"
},
"label": "Bananas!"
"label": "Rectangles with labels"
},
"640a8876-2e56-45c2-0bdc-7fadde58a6b7": {
"id": "640a8876-2e56-45c2-0bdc-7fadde58a6b7",
"type": "rectangle",
"name": "Rectangle",
"9a20ffa8-044b-4ca3-0448-632e2b2831d1": {
"id": "9a20ffa8-044b-4ca3-0448-632e2b2831d1",
"type": "ellipse",
"name": "Ellipse",
"parentId": "page",
"childIndex": 3,
"point": [
237.27,
641.01
995.24,
235.11
],
"size": [
1,
1
"radius": [
112.92500000000001,
108.96000000000004
],
"rotation": 0,
"style": {
"color": "black",
"color": "white",
"size": "small",
"isFilled": false,
"dash": "draw"
}
"isFilled": true,
"dash": "draw",
"scale": 1
},
"label": "Ovals with labels",
"labelPoint": [
0.5,
0.5
]
},
"5d8a0762-e20a-45e9-05ad-6bd407ecec8c": {
"id": "5d8a0762-e20a-45e9-05ad-6bd407ecec8c",
"type": "draw",
"name": "Draw",
"c2125c4e-e9ef-4eeb-2011-9e8aaeadd6ea": {
"id": "c2125c4e-e9ef-4eeb-2011-9e8aaeadd6ea",
"type": "arrow",
"name": "Arrow",
"parentId": "page",
"childIndex": 4,
"point": [
362.41,
599.42
538.39,
341.56
],
"rotation": 0,
"bend": -0.000013369615345367926,
"handles": {
"start": {
"id": "start",
"index": 0,
"point": [
0,
0
],
"canBind": true,
"bindingId": "31007b26-4667-4932-00aa-7f389642b187"
},
"end": {
"id": "end",
"index": 1,
"point": [
448.85,
2.44
],
"canBind": true,
"bindingId": "7b099540-f8b1-4bf3-0d7d-2b74df370067"
},
"bend": {
"id": "bend",
"index": 2,
"point": [
224.43,
1.22
]
}
},
"decorations": {
"end": "arrow"
},
"style": {
"color": "black",
"color": "white",
"size": "small",
"isFilled": false,
"dash": "draw"
"dash": "draw",
"scale": 1
},
"points": [
[
0.24,
0,
0.5
]
],
"isComplete": true
"label": "Arrows with labels",
"labelPoint": [
0.5,
0.5
]
}
},
"bindings": {}
"bindings": {
"7b099540-f8b1-4bf3-0d7d-2b74df370067": {
"id": "7b099540-f8b1-4bf3-0d7d-2b74df370067",
"type": "arrow",
"fromId": "c2125c4e-e9ef-4eeb-2011-9e8aaeadd6ea",
"toId": "9a20ffa8-044b-4ca3-0448-632e2b2831d1",
"handleId": "end",
"point": [
0.08,
0.5
],
"distance": 8
},
"31007b26-4667-4932-00aa-7f389642b187": {
"id": "31007b26-4667-4932-00aa-7f389642b187",
"type": "arrow",
"fromId": "c2125c4e-e9ef-4eeb-2011-9e8aaeadd6ea",
"toId": "3805a6e3-b50a-4bb2-0782-e687526cafc8",
"handleId": "start",
"point": [
0.5,
0.5
],
"distance": 16
}
}
}
},
"pageStates": {