drawio_dsl 0.8.0 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.builders/.data/shapes.json +581 -362
  3. data/.builders/.templates/basic/configuration_shapes.rb +3 -3
  4. data/.builders/.templates/basic/dom_builder_shapes.rb +2 -1
  5. data/.builders/.templates/basic/drawio_shapes.rb +2 -2
  6. data/.builders/blueprint/shapes.rb +147 -44
  7. data/.builders/generators/02-generate-app.rb +3 -1
  8. data/.builders/generators/{project_plans/drawio_dsl.rb → project-plan.rb} +24 -13
  9. data/.builders/generators/sample_diagrams/05-samples.rb +19 -6
  10. data/.builders/generators/sample_diagrams/30-html-shapes.rb +6 -6
  11. data/.builders/generators/sample_diagrams/35-ids-and-arrows.rb +30 -0
  12. data/CHANGELOG.md +21 -0
  13. data/docs/project-plan/project.drawio +152 -0
  14. data/docs/project-plan/project_done.svg +3 -0
  15. data/docs/project-plan/project_in_progress.svg +3 -0
  16. data/docs/project-plan/project_todo.svg +3 -0
  17. data/docs/project-plan.md +3 -3
  18. data/docs/samples/styles-glass.svg +1 -1
  19. data/docs/samples/styles-plain.svg +1 -1
  20. data/docs/samples/styles-rounded.svg +1 -1
  21. data/docs/samples/styles-shadow.svg +1 -1
  22. data/docs/samples/styles-sketch.svg +1 -1
  23. data/lib/drawio_dsl/configuration_shapes.rb +44 -42
  24. data/lib/drawio_dsl/dom_builder_shapes.rb +86 -40
  25. data/lib/drawio_dsl/drawio_shapes.rb +89 -83
  26. data/lib/drawio_dsl/formatters/interface_formatter.rb +5 -3
  27. data/lib/drawio_dsl/formatters/klass_formatter.rb +4 -2
  28. data/lib/drawio_dsl/schema/_.rb +1 -0
  29. data/lib/drawio_dsl/schema/shapes/line.rb +9 -0
  30. data/lib/drawio_dsl/schema/shapes/shape.rb +24 -5
  31. data/lib/drawio_dsl/version.rb +1 -1
  32. data/package-lock.json +2 -2
  33. data/package.json +1 -1
  34. metadata +9 -7
  35. data/.builders/generators/project_plans/k_doc.rb +0 -39
  36. data/docs/project_done.svg +0 -3
  37. data/docs/project_in_progress.svg +0 -3
  38. data/docs/project_todo.svg +0 -3
@@ -1,362 +1,581 @@
1
- [
2
- {
3
- "type": "h1",
4
- "text_only": true,
5
- "x": 0,
6
- "y": 0,
7
- "w": 100,
8
- "h": 50,
9
- "style_modifiers": "text;fontSize=89;fontColor=#ffffff;fontStyle=1;fillColor=none"
10
- },
11
- {
12
- "type": "h2",
13
- "text_only": true,
14
- "x": 0,
15
- "y": 0,
16
- "w": 100,
17
- "h": 50,
18
- "style_modifiers": "text;fontSize=67;fontColor=#ffffff;fontStyle=1;fillColor=none"
19
- },
20
- {
21
- "type": "h3",
22
- "text_only": true,
23
- "x": 0,
24
- "y": 0,
25
- "w": 100,
26
- "h": 50,
27
- "style_modifiers": "text;fontSize=50;fontColor=#ffffff;fontStyle=1;fillColor=none"
28
- },
29
- {
30
- "type": "h4",
31
- "text_only": true,
32
- "x": 0,
33
- "y": 0,
34
- "w": 100,
35
- "h": 50,
36
- "style_modifiers": "text;fontSize=37;fontColor=#ffffff;fontStyle=1;fillColor=none"
37
- },
38
- {
39
- "type": "h5",
40
- "text_only": true,
41
- "x": 0,
42
- "y": 0,
43
- "w": 100,
44
- "h": 50,
45
- "style_modifiers": "text;fontSize=28;fontColor=#ffffff;fontStyle=1;fillColor=none"
46
- },
47
- {
48
- "type": "h6",
49
- "text_only": true,
50
- "x": 0,
51
- "y": 0,
52
- "w": 100,
53
- "h": 50,
54
- "style_modifiers": "text;fontSize=21;fontColor=#ffffff;fontStyle=1;fillColor=none"
55
- },
56
- {
57
- "type": "p",
58
- "text_only": true,
59
- "x": 0,
60
- "y": 0,
61
- "w": 100,
62
- "h": 50,
63
- "style_modifiers": "text;fontSize=16;fontColor=#ffffff;fontStyle=1;fillColor=none"
64
- },
65
- {
66
- "type": "actor",
67
- "text_only": false,
68
- "x": 0,
69
- "y": 0,
70
- "w": 40,
71
- "h": 50,
72
- "style_modifiers": "shape=actor"
73
- },
74
- {
75
- "type": "actor2",
76
- "text_only": false,
77
- "x": 0,
78
- "y": 0,
79
- "w": 30,
80
- "h": 50,
81
- "style_modifiers": "shape=umlActor;verticalLabelPosition=bottom;outlineConnect=1"
82
- },
83
- {
84
- "type": "callout",
85
- "text_only": false,
86
- "x": 0,
87
- "y": 0,
88
- "w": 160,
89
- "h": 120,
90
- "style_modifiers": "shape=callout"
91
- },
92
- {
93
- "type": "callout2",
94
- "text_only": false,
95
- "x": 0,
96
- "y": 0,
97
- "w": 160,
98
- "h": 160,
99
- "style_modifiers": "shape=mxgraph.basic.oval_callout"
100
- },
101
- {
102
- "type": "callout3",
103
- "text_only": false,
104
- "x": 0,
105
- "y": 0,
106
- "w": 160,
107
- "h": 160,
108
- "style_modifiers": "shape=mxgraph.basic.cloud_callout"
109
- },
110
- {
111
- "type": "callout4",
112
- "text_only": false,
113
- "x": 0,
114
- "y": 0,
115
- "w": 160,
116
- "h": 120,
117
- "style_modifiers": "shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;"
118
- },
119
- {
120
- "type": "circle",
121
- "text_only": false,
122
- "x": 0,
123
- "y": 0,
124
- "w": 160,
125
- "h": 160,
126
- "style_modifiers": "ellipse"
127
- },
128
- {
129
- "type": "cloud",
130
- "text_only": false,
131
- "x": 0,
132
- "y": 0,
133
- "w": 160,
134
- "h": 160,
135
- "style_modifiers": "shape=cloud"
136
- },
137
- {
138
- "type": "container",
139
- "text_only": false,
140
- "x": 0,
141
- "y": 0,
142
- "w": 160,
143
- "h": 160,
144
- "style_modifiers": "swimlane"
145
- },
146
- {
147
- "type": "container2",
148
- "text_only": false,
149
- "x": 0,
150
- "y": 0,
151
- "w": 160,
152
- "h": 160,
153
- "style_modifiers": "swimlane;horizontal=0"
154
- },
155
- {
156
- "type": "container3",
157
- "text_only": false,
158
- "x": 0,
159
- "y": 0,
160
- "w": 160,
161
- "h": 160,
162
- "style_modifiers": "swimlane;startSize=50"
163
- },
164
- {
165
- "type": "container4",
166
- "text_only": false,
167
- "x": 0,
168
- "y": 0,
169
- "w": 160,
170
- "h": 160,
171
- "style_modifiers": "swimlane;resizable=0"
172
- },
173
- {
174
- "type": "cross",
175
- "text_only": false,
176
- "x": 0,
177
- "y": 0,
178
- "w": 50,
179
- "h": 50,
180
- "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.x"
181
- },
182
- {
183
- "type": "envelop",
184
- "text_only": false,
185
- "x": 0,
186
- "y": 0,
187
- "w": 160,
188
- "h": 100,
189
- "style_modifiers": "shape=message"
190
- },
191
- {
192
- "type": "diamond",
193
- "text_only": false,
194
- "x": 0,
195
- "y": 0,
196
- "w": 100,
197
- "h": 100,
198
- "style_modifiers": "rhombus"
199
- },
200
- {
201
- "type": "document",
202
- "text_only": false,
203
- "x": 0,
204
- "y": 0,
205
- "w": 160,
206
- "h": 160,
207
- "style_modifiers": "shape=mxgraph.basic.document"
208
- },
209
- {
210
- "type": "ellipse",
211
- "text_only": false,
212
- "x": 0,
213
- "y": 0,
214
- "w": 200,
215
- "h": 120,
216
- "style_modifiers": "ellipse"
217
- },
218
- {
219
- "type": "hexagon",
220
- "text_only": false,
221
- "x": 0,
222
- "y": 0,
223
- "w": 200,
224
- "h": 120,
225
- "style_modifiers": "shape=hexagon"
226
- },
227
- {
228
- "type": "interface",
229
- "text_only": false,
230
- "x": 0,
231
- "y": 0,
232
- "w": 160,
233
- "h": 160,
234
- "style_modifiers": "align=left;overflow=fill;fontSize=12;fontFamily=Helvetica"
235
- },
236
- {
237
- "type": "klass",
238
- "text_only": false,
239
- "x": 0,
240
- "y": 0,
241
- "w": 160,
242
- "h": 160,
243
- "style_modifiers": "align=left;overflow=fill;fontSize=12;fontFamily=Helvetica"
244
- },
245
- {
246
- "type": "note",
247
- "text_only": false,
248
- "x": 0,
249
- "y": 0,
250
- "w": 160,
251
- "h": 160,
252
- "style_modifiers": "shape=note"
253
- },
254
- {
255
- "type": "process",
256
- "text_only": false,
257
- "x": 0,
258
- "y": 0,
259
- "w": 200,
260
- "h": 120,
261
- "style_modifiers": "shape=process"
262
- },
263
- {
264
- "type": "rectangle",
265
- "text_only": false,
266
- "x": 0,
267
- "y": 0,
268
- "w": 200,
269
- "h": 120,
270
- "style_modifiers": ""
271
- },
272
- {
273
- "type": "rectangle2",
274
- "text_only": false,
275
- "x": 0,
276
- "y": 0,
277
- "w": 200,
278
- "h": 120,
279
- "style_modifiers": "shape=mxgraph.basic.cloud_rect"
280
- },
281
- {
282
- "type": "square",
283
- "text_only": false,
284
- "x": 0,
285
- "y": 0,
286
- "w": 160,
287
- "h": 160,
288
- "style_modifiers": ""
289
- },
290
- {
291
- "type": "step",
292
- "text_only": false,
293
- "x": 0,
294
- "y": 0,
295
- "w": 120,
296
- "h": 80,
297
- "style_modifiers": "shape=step;perimeter=stepPerimeter;fixedSize=1"
298
- },
299
- {
300
- "type": "tick",
301
- "text_only": false,
302
- "x": 0,
303
- "y": 0,
304
- "w": 50,
305
- "h": 50,
306
- "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.tick"
307
- },
308
- {
309
- "type": "todo",
310
- "text_only": false,
311
- "x": 0,
312
- "y": 0,
313
- "w": 300,
314
- "h": 60,
315
- "style_modifiers": ""
316
- },
317
- {
318
- "type": "face",
319
- "text_only": false,
320
- "x": 0,
321
- "y": 0,
322
- "w": 100,
323
- "h": 100,
324
- "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.smiley"
325
- },
326
- {
327
- "type": "triangle",
328
- "text_only": false,
329
- "x": 0,
330
- "y": 0,
331
- "w": 100,
332
- "h": 100,
333
- "style_modifiers": "triangle"
334
- },
335
- {
336
- "type": "embed_row",
337
- "text_only": false,
338
- "x": 0,
339
- "y": 0,
340
- "w": 200,
341
- "h": 40,
342
- "style_modifiers": "shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;top=0;left=0;bottom=1;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest"
343
- },
344
- {
345
- "type": "embed_col50",
346
- "text_only": false,
347
- "x": 0,
348
- "y": 0,
349
- "w": 50,
350
- "h": 40,
351
- "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden"
352
- },
353
- {
354
- "type": "embed_col200",
355
- "text_only": false,
356
- "x": 0,
357
- "y": 0,
358
- "w": 150,
359
- "h": 40,
360
- "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden"
361
- }
362
- ]
1
+ {
2
+ "strokes": [
3
+ {
4
+ "name": "dashed",
5
+ "style": "dashed=1;fixDash=1"
6
+ },
7
+ {
8
+ "name": "dotted",
9
+ "style": "dashed=1;fixDash=1;dashPattern=1 4"
10
+ },
11
+ {
12
+ "name": "dashdot",
13
+ "style": "dashed=1;fixDash=1;dashPattern=10 5 1 5"
14
+ },
15
+ {
16
+ "name": "dashdotdot",
17
+ "style": "dashed=1;fixDash=1;dashPattern=10 5 1 5 1 5"
18
+ },
19
+ {
20
+ "name": "dotdotdot",
21
+ "style": "dashed=1;fixDash=1;dashPattern=1 2"
22
+ },
23
+ {
24
+ "name": "longdash",
25
+ "style": "dashed=1;fixDash=1;dashPattern=16 6"
26
+ },
27
+ {
28
+ "name": "dashlongdash",
29
+ "style": "dashed=1;fixDash=1;dashPattern=10 6 16 6"
30
+ },
31
+ {
32
+ "name": "dashed24",
33
+ "style": "dashed=1;fixDash=1;dashPattern=3 8"
34
+ },
35
+ {
36
+ "name": "dashed32",
37
+ "style": "dashed=1;fixDash=1;dashPattern=6 5"
38
+ },
39
+ {
40
+ "name": "dashed44",
41
+ "style": "dashed=1;fixDash=1;dashPattern=8 8"
42
+ }
43
+ ],
44
+ "connector": {
45
+ "compass": [
46
+ {
47
+ "name": "n",
48
+ "x": 0.5,
49
+ "y": 0
50
+ },
51
+ {
52
+ "name": "ne",
53
+ "x": 1,
54
+ "y": 0
55
+ },
56
+ {
57
+ "name": "e",
58
+ "x": 1,
59
+ "y": 0.5
60
+ },
61
+ {
62
+ "name": "se",
63
+ "x": 1,
64
+ "y": 1
65
+ },
66
+ {
67
+ "name": "s",
68
+ "x": 0.5,
69
+ "y": 1
70
+ },
71
+ {
72
+ "name": "sw",
73
+ "x": 0,
74
+ "y": 1
75
+ },
76
+ {
77
+ "name": "w",
78
+ "x": 0,
79
+ "y": 0.5
80
+ },
81
+ {
82
+ "name": "nw",
83
+ "x": 0,
84
+ "y": 0
85
+ }
86
+ ],
87
+ "waypoints": [
88
+ {
89
+ "name": "straight",
90
+ "style": "edgeStyle=none"
91
+ },
92
+ {
93
+ "name": "orthogonal",
94
+ "style": "edgeStyle=orthogonalEdgeStyle"
95
+ },
96
+ {
97
+ "name": "elbow",
98
+ "style": "edgeStyle=elbowEdgeStyle"
99
+ },
100
+ {
101
+ "name": "elbow_vertical",
102
+ "style": "edgeStyle=elbowEdgeStyle;elbow=vertical"
103
+ },
104
+ {
105
+ "name": "isometric",
106
+ "style": "edgeStyle=isometricEdgeStyle"
107
+ },
108
+ {
109
+ "name": "isometric_vertical",
110
+ "style": "edgeStyle=isometricEdgeStyle;elbow=vertical"
111
+ },
112
+ {
113
+ "name": "orthogonal_curved",
114
+ "style": "edgeStyle=orthogonalEdgeStyle;curved=1"
115
+ },
116
+ {
117
+ "name": "entity_relation",
118
+ "style": "edgeStyle=entityRelationEdgeStyle"
119
+ }
120
+ ],
121
+ "arrows": [
122
+ {
123
+ "name": "simple",
124
+ "style": "open"
125
+ },
126
+ {
127
+ "name": "triangle",
128
+ "style": "block"
129
+ },
130
+ {
131
+ "name": "diamond",
132
+ "style": "diamond"
133
+ },
134
+ {
135
+ "name": "circle",
136
+ "style": "oval"
137
+ },
138
+ {
139
+ "name": "cross",
140
+ "style": "cross"
141
+ },
142
+ {
143
+ "name": "short",
144
+ "style": "classicThin"
145
+ },
146
+ {
147
+ "name": "default",
148
+ "style": "classic"
149
+ },
150
+ {
151
+ "name": "none",
152
+ "style": "none"
153
+ },
154
+ {
155
+ "name": "plain",
156
+ "style": "open"
157
+ },
158
+ {
159
+ "name": "skewed_dash",
160
+ "style": "dash"
161
+ },
162
+ {
163
+ "name": "concave",
164
+ "style": "openThin"
165
+ },
166
+ {
167
+ "name": "er_many",
168
+ "style": "ERmany"
169
+ },
170
+ {
171
+ "name": "er_one",
172
+ "style": "ERone"
173
+ },
174
+ {
175
+ "name": "er_one_optional",
176
+ "style": "ERzeroToOne"
177
+ },
178
+ {
179
+ "name": "er_one_mandatory",
180
+ "style": "ERmandOne"
181
+ },
182
+ {
183
+ "name": "er_many_optional",
184
+ "style": "ERzeroToMany"
185
+ },
186
+ {
187
+ "name": "er_many_mandatory",
188
+ "style": "ERoneToMany"
189
+ }
190
+ ],
191
+ "design": [
192
+ {
193
+ "name": "style1",
194
+ "style": ""
195
+ },
196
+ {
197
+ "name": "style2",
198
+ "style": "shape=link"
199
+ },
200
+ {
201
+ "name": "style3",
202
+ "style": "shape=flexArrow"
203
+ },
204
+ {
205
+ "name": "style4",
206
+ "style": "shape=arrow"
207
+ }
208
+ ]
209
+ },
210
+ "shapes": [
211
+ {
212
+ "type": "line",
213
+ "category": "line",
214
+ "x": 0,
215
+ "y": 0,
216
+ "w": 50,
217
+ "h": 50,
218
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0"
219
+ },
220
+ {
221
+ "type": "h1",
222
+ "category": "text",
223
+ "x": 0,
224
+ "y": 0,
225
+ "w": 100,
226
+ "h": 50,
227
+ "style_modifiers": "text;fontSize=89;fontColor=#ffffff;fontStyle=1;fillColor=none"
228
+ },
229
+ {
230
+ "type": "h2",
231
+ "category": "text",
232
+ "x": 0,
233
+ "y": 0,
234
+ "w": 100,
235
+ "h": 50,
236
+ "style_modifiers": "text;fontSize=67;fontColor=#ffffff;fontStyle=1;fillColor=none"
237
+ },
238
+ {
239
+ "type": "h3",
240
+ "category": "text",
241
+ "x": 0,
242
+ "y": 0,
243
+ "w": 100,
244
+ "h": 50,
245
+ "style_modifiers": "text;fontSize=50;fontColor=#ffffff;fontStyle=1;fillColor=none"
246
+ },
247
+ {
248
+ "type": "h4",
249
+ "category": "text",
250
+ "x": 0,
251
+ "y": 0,
252
+ "w": 100,
253
+ "h": 50,
254
+ "style_modifiers": "text;fontSize=37;fontColor=#ffffff;fontStyle=1;fillColor=none"
255
+ },
256
+ {
257
+ "type": "h5",
258
+ "category": "text",
259
+ "x": 0,
260
+ "y": 0,
261
+ "w": 100,
262
+ "h": 50,
263
+ "style_modifiers": "text;fontSize=28;fontColor=#ffffff;fontStyle=1;fillColor=none"
264
+ },
265
+ {
266
+ "type": "h6",
267
+ "category": "text",
268
+ "x": 0,
269
+ "y": 0,
270
+ "w": 100,
271
+ "h": 50,
272
+ "style_modifiers": "text;fontSize=21;fontColor=#ffffff;fontStyle=1;fillColor=none"
273
+ },
274
+ {
275
+ "type": "p",
276
+ "category": "text",
277
+ "x": 0,
278
+ "y": 0,
279
+ "w": 100,
280
+ "h": 50,
281
+ "style_modifiers": "text;fontSize=16;fontColor=#ffffff;fontStyle=1;fillColor=none"
282
+ },
283
+ {
284
+ "type": "actor",
285
+ "category": "element",
286
+ "x": 0,
287
+ "y": 0,
288
+ "w": 40,
289
+ "h": 50,
290
+ "style_modifiers": "shape=actor"
291
+ },
292
+ {
293
+ "type": "actor2",
294
+ "category": "element",
295
+ "x": 0,
296
+ "y": 0,
297
+ "w": 30,
298
+ "h": 50,
299
+ "style_modifiers": "shape=umlActor;verticalLabelPosition=bottom;outlineConnect=1"
300
+ },
301
+ {
302
+ "type": "callout",
303
+ "category": "element",
304
+ "x": 0,
305
+ "y": 0,
306
+ "w": 160,
307
+ "h": 120,
308
+ "style_modifiers": "shape=callout"
309
+ },
310
+ {
311
+ "type": "callout2",
312
+ "category": "element",
313
+ "x": 0,
314
+ "y": 0,
315
+ "w": 160,
316
+ "h": 160,
317
+ "style_modifiers": "shape=mxgraph.basic.oval_callout"
318
+ },
319
+ {
320
+ "type": "callout3",
321
+ "category": "element",
322
+ "x": 0,
323
+ "y": 0,
324
+ "w": 160,
325
+ "h": 160,
326
+ "style_modifiers": "shape=mxgraph.basic.cloud_callout"
327
+ },
328
+ {
329
+ "type": "callout4",
330
+ "category": "element",
331
+ "x": 0,
332
+ "y": 0,
333
+ "w": 160,
334
+ "h": 120,
335
+ "style_modifiers": "shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;"
336
+ },
337
+ {
338
+ "type": "circle",
339
+ "category": "element",
340
+ "x": 0,
341
+ "y": 0,
342
+ "w": 160,
343
+ "h": 160,
344
+ "style_modifiers": "ellipse"
345
+ },
346
+ {
347
+ "type": "cloud",
348
+ "category": "element",
349
+ "x": 0,
350
+ "y": 0,
351
+ "w": 160,
352
+ "h": 160,
353
+ "style_modifiers": "shape=cloud"
354
+ },
355
+ {
356
+ "type": "container",
357
+ "category": "element",
358
+ "x": 0,
359
+ "y": 0,
360
+ "w": 160,
361
+ "h": 160,
362
+ "style_modifiers": "swimlane"
363
+ },
364
+ {
365
+ "type": "container2",
366
+ "category": "element",
367
+ "x": 0,
368
+ "y": 0,
369
+ "w": 160,
370
+ "h": 160,
371
+ "style_modifiers": "swimlane;horizontal=0"
372
+ },
373
+ {
374
+ "type": "container3",
375
+ "category": "element",
376
+ "x": 0,
377
+ "y": 0,
378
+ "w": 160,
379
+ "h": 160,
380
+ "style_modifiers": "swimlane;startSize=50"
381
+ },
382
+ {
383
+ "type": "container4",
384
+ "category": "element",
385
+ "x": 0,
386
+ "y": 0,
387
+ "w": 160,
388
+ "h": 160,
389
+ "style_modifiers": "swimlane;resizable=0"
390
+ },
391
+ {
392
+ "type": "cross",
393
+ "category": "element",
394
+ "x": 0,
395
+ "y": 0,
396
+ "w": 50,
397
+ "h": 50,
398
+ "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.x"
399
+ },
400
+ {
401
+ "type": "envelop",
402
+ "category": "element",
403
+ "x": 0,
404
+ "y": 0,
405
+ "w": 160,
406
+ "h": 100,
407
+ "style_modifiers": "shape=message"
408
+ },
409
+ {
410
+ "type": "diamond",
411
+ "category": "element",
412
+ "x": 0,
413
+ "y": 0,
414
+ "w": 100,
415
+ "h": 100,
416
+ "style_modifiers": "rhombus"
417
+ },
418
+ {
419
+ "type": "document",
420
+ "category": "element",
421
+ "x": 0,
422
+ "y": 0,
423
+ "w": 160,
424
+ "h": 160,
425
+ "style_modifiers": "shape=mxgraph.basic.document"
426
+ },
427
+ {
428
+ "type": "ellipse",
429
+ "category": "element",
430
+ "x": 0,
431
+ "y": 0,
432
+ "w": 200,
433
+ "h": 120,
434
+ "style_modifiers": "ellipse"
435
+ },
436
+ {
437
+ "type": "hexagon",
438
+ "category": "element",
439
+ "x": 0,
440
+ "y": 0,
441
+ "w": 200,
442
+ "h": 120,
443
+ "style_modifiers": "shape=hexagon"
444
+ },
445
+ {
446
+ "type": "interface",
447
+ "category": "element",
448
+ "x": 0,
449
+ "y": 0,
450
+ "w": 160,
451
+ "h": 160,
452
+ "style_modifiers": "align=left;overflow=fill;fontSize=12;fontFamily=Helvetica"
453
+ },
454
+ {
455
+ "type": "klass",
456
+ "category": "element",
457
+ "x": 0,
458
+ "y": 0,
459
+ "w": 160,
460
+ "h": 160,
461
+ "style_modifiers": "align=left;overflow=fill;fontSize=12;fontFamily=Helvetica"
462
+ },
463
+ {
464
+ "type": "note",
465
+ "category": "element",
466
+ "x": 0,
467
+ "y": 0,
468
+ "w": 160,
469
+ "h": 160,
470
+ "style_modifiers": "shape=note"
471
+ },
472
+ {
473
+ "type": "process",
474
+ "category": "element",
475
+ "x": 0,
476
+ "y": 0,
477
+ "w": 200,
478
+ "h": 120,
479
+ "style_modifiers": "shape=process"
480
+ },
481
+ {
482
+ "type": "rectangle",
483
+ "category": "element",
484
+ "x": 0,
485
+ "y": 0,
486
+ "w": 200,
487
+ "h": 120,
488
+ "style_modifiers": ""
489
+ },
490
+ {
491
+ "type": "rectangle2",
492
+ "category": "element",
493
+ "x": 0,
494
+ "y": 0,
495
+ "w": 200,
496
+ "h": 120,
497
+ "style_modifiers": "shape=mxgraph.basic.cloud_rect"
498
+ },
499
+ {
500
+ "type": "square",
501
+ "category": "element",
502
+ "x": 0,
503
+ "y": 0,
504
+ "w": 160,
505
+ "h": 160,
506
+ "style_modifiers": ""
507
+ },
508
+ {
509
+ "type": "step",
510
+ "category": "element",
511
+ "x": 0,
512
+ "y": 0,
513
+ "w": 120,
514
+ "h": 80,
515
+ "style_modifiers": "shape=step;perimeter=stepPerimeter;fixedSize=1"
516
+ },
517
+ {
518
+ "type": "tick",
519
+ "category": "element",
520
+ "x": 0,
521
+ "y": 0,
522
+ "w": 50,
523
+ "h": 50,
524
+ "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.tick"
525
+ },
526
+ {
527
+ "type": "todo",
528
+ "category": "element",
529
+ "x": 0,
530
+ "y": 0,
531
+ "w": 300,
532
+ "h": 60,
533
+ "style_modifiers": ""
534
+ },
535
+ {
536
+ "type": "face",
537
+ "category": "element",
538
+ "x": 0,
539
+ "y": 0,
540
+ "w": 100,
541
+ "h": 100,
542
+ "style_modifiers": "verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.smiley"
543
+ },
544
+ {
545
+ "type": "triangle",
546
+ "category": "element",
547
+ "x": 0,
548
+ "y": 0,
549
+ "w": 100,
550
+ "h": 100,
551
+ "style_modifiers": "triangle"
552
+ },
553
+ {
554
+ "type": "embed_row",
555
+ "category": "element",
556
+ "x": 0,
557
+ "y": 0,
558
+ "w": 200,
559
+ "h": 40,
560
+ "style_modifiers": "shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;top=0;left=0;bottom=1;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest"
561
+ },
562
+ {
563
+ "type": "embed_col50",
564
+ "category": "element",
565
+ "x": 0,
566
+ "y": 0,
567
+ "w": 50,
568
+ "h": 40,
569
+ "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden"
570
+ },
571
+ {
572
+ "type": "embed_col200",
573
+ "category": "element",
574
+ "x": 0,
575
+ "y": 0,
576
+ "w": 150,
577
+ "h": 40,
578
+ "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden"
579
+ }
580
+ ]
581
+ }