view 1__Development/6__Website/POPBottleServer/syntaxGraph.json @ 8:cc10d99e3f83

Persist and read back from disk and parse to objects is working.. Display needs updating now
author Sean Halle <seanhalle@yahoo.com>
date Sat, 09 Aug 2014 03:34:26 -0700
parents 20a1407463a0
children
line source
1 {
2 "rootElem": 1,
3 "rootViewSet": {
4 "type": "ViewSet",
5 "ID": 2,
6 "viewSetLinks": [
7 {
8 "type": "ViewSetLink",
9 "ID": 3,
10 "referenceViewSet": 2,
11 "subordinateViewSet": 4,
12 "xOffset": 0,
13 "yOffset": 0,
14 "scale": 1
15 }
16 ]
17 }
18 }
19 separator
20 {
21 "type": "GraphElem",
22 "ID": 31,
23 "properties": [
24 {
25 "type": "GraphProperty",
26 "ID": 32,
27 "propertyName": "TypeOfElement",
28 "propertyValue": "Command",
29 "subProperties": [
30 {
31 "type": "GraphProperty",
32 "ID": 33,
33 "propertyName": "CommandID",
34 "propertyValue": "GabePattPop",
35 "subProperties": []
36 }
37 ]
38 },
39 {
40 "type": "GraphProperty",
41 "ID": 34,
42 "propertyName": "TypeOfSyntacticStructure",
43 "propertyValue": "syntacticPatternRoot",
44 "subProperties": []
45 }
46 ],
47 "portsIn": [
48 {
49 "type": "GraphPort",
50 "ID": 35,
51 "element": 31,
52 "properties": [
53 {
54 "type": "GraphProperty",
55 "ID": 36,
56 "propertyName": "TypeOfPort",
57 "propertyValue": "dataComm",
58 "subProperties": [
59 {
60 "type": "GraphProperty",
61 "ID": 37,
62 "propertyName": "TypeOfCommData",
63 "propertyValue": "GabePattStack",
64 "subProperties": []
65 }
66 ]
67 }
68 ],
69 "pairedPorts": [
70 28
71 ]
72 }
73 ],
74 "portsOut": [
75 {
76 "type": "GraphPort",
77 "ID": 38,
78 "element": 31,
79 "properties": [
80 {
81 "type": "GraphProperty",
82 "ID": 39,
83 "propertyName": "TypeOfPort",
84 "propertyValue": "dataComm",
85 "subProperties": [
86 {
87 "type": "GraphProperty",
88 "ID": 40,
89 "propertyName": "TypeOfCommData",
90 "propertyValue": "GabePattStack",
91 "subProperties": []
92 }
93 ]
94 }
95 ],
96 "pairedPorts": []
97 },
98 {
99 "type": "GraphPort",
100 "ID": 41,
101 "element": 31,
102 "properties": [
103 {
104 "type": "GraphProperty",
105 "ID": 42,
106 "propertyName": "TypeOfPort",
107 "propertyValue": "dataComm",
108 "subProperties": [
109 {
110 "type": "GraphProperty",
111 "ID": 43,
112 "propertyName": "TypeOfCommData",
113 "propertyValue": "float",
114 "subProperties": []
115 }
116 ]
117 }
118 ],
119 "pairedPorts": []
120 }
121 ],
122 "linkedElems": [],
123 "isAlreadyVisited": true
124 }
125 separator
126 {
127 "type": "GraphElem",
128 "ID": 18,
129 "properties": [
130 {
131 "type": "GraphProperty",
132 "ID": 19,
133 "propertyName": "TypeOfElement",
134 "propertyValue": "Command",
135 "subProperties": [
136 {
137 "type": "GraphProperty",
138 "ID": 20,
139 "propertyName": "CommandID",
140 "propertyValue": "GabePattPush",
141 "subProperties": []
142 }
143 ]
144 },
145 {
146 "type": "GraphProperty",
147 "ID": 21,
148 "propertyName": "TypeOfSyntacticStructure",
149 "propertyValue": "syntacticPatternRoot",
150 "subProperties": []
151 }
152 ],
153 "portsIn": [
154 {
155 "type": "GraphPort",
156 "ID": 22,
157 "element": 18,
158 "properties": [
159 {
160 "type": "GraphProperty",
161 "ID": 23,
162 "propertyName": "TypeOfPort",
163 "propertyValue": "dataComm",
164 "subProperties": [
165 {
166 "type": "GraphProperty",
167 "ID": 24,
168 "propertyName": "TypeOfCommData",
169 "propertyValue": "GabePattStack",
170 "subProperties": []
171 }
172 ]
173 }
174 ],
175 "pairedPorts": []
176 },
177 {
178 "type": "GraphPort",
179 "ID": 25,
180 "element": 18,
181 "properties": [
182 {
183 "type": "GraphProperty",
184 "ID": 26,
185 "propertyName": "TypeOfPort",
186 "propertyValue": "dataComm",
187 "subProperties": [
188 {
189 "type": "GraphProperty",
190 "ID": 27,
191 "propertyName": "TypeOfCommData",
192 "propertyValue": "float",
193 "subProperties": []
194 }
195 ]
196 }
197 ],
198 "pairedPorts": []
199 }
200 ],
201 "portsOut": [
202 {
203 "type": "GraphPort",
204 "ID": 28,
205 "element": 18,
206 "properties": [
207 {
208 "type": "GraphProperty",
209 "ID": 29,
210 "propertyName": "TypeOfPort",
211 "propertyValue": "dataComm",
212 "subProperties": [
213 {
214 "type": "GraphProperty",
215 "ID": 30,
216 "propertyName": "TypeOfCommData",
217 "propertyValue": "GabePattStack",
218 "subProperties": []
219 }
220 ]
221 }
222 ],
223 "pairedPorts": [
224 35
225 ]
226 }
227 ],
228 "linkedElems": [],
229 "isAlreadyVisited": true
230 }
231 separator
232 {
233 "type": "GraphElem",
234 "ID": 12,
235 "properties": [
236 {
237 "type": "GraphProperty",
238 "ID": 13,
239 "propertyName": "TypeOfElement",
240 "propertyValue": "GabeQueryPattern",
241 "subProperties": []
242 },
243 {
244 "type": "GraphProperty",
245 "ID": 14,
246 "propertyName": "TypeOfSyntacticStructure",
247 "propertyValue": "syntacticHierarchy",
248 "subProperties": []
249 }
250 ],
251 "portsIn": [],
252 "portsOut": [],
253 "linkedElems": [
254 18,
255 31
256 ],
257 "isAlreadyVisited": true
258 }
259 separator
260 {
261 "type": "GraphElem",
262 "ID": 44,
263 "properties": [
264 {
265 "type": "GraphProperty",
266 "ID": 45,
267 "propertyName": "TypeOfElement",
268 "propertyValue": "Command",
269 "subProperties": [
270 {
271 "type": "GraphProperty",
272 "ID": 46,
273 "propertyName": "CommandID",
274 "propertyValue": "GabePassThrough",
275 "subProperties": []
276 }
277 ]
278 },
279 {
280 "type": "GraphProperty",
281 "ID": 47,
282 "propertyName": "TypeOfSyntacticStructure",
283 "propertyValue": "syntacticPatternRoot",
284 "subProperties": []
285 }
286 ],
287 "portsIn": [
288 {
289 "type": "GraphPort",
290 "ID": 48,
291 "element": 44,
292 "properties": [
293 {
294 "type": "GraphProperty",
295 "ID": 49,
296 "propertyName": "TypeOfPort",
297 "propertyValue": "dataComm",
298 "subProperties": [
299 {
300 "type": "GraphProperty",
301 "ID": 50,
302 "propertyName": "TypeOfCommData",
303 "propertyValue": "GabePattStack",
304 "subProperties": []
305 }
306 ]
307 }
308 ],
309 "pairedPorts": []
310 },
311 {
312 "type": "GraphPort",
313 "ID": 51,
314 "element": 44,
315 "properties": [
316 {
317 "type": "GraphProperty",
318 "ID": 52,
319 "propertyName": "TypeOfPort",
320 "propertyValue": "dataComm",
321 "subProperties": [
322 {
323 "type": "GraphProperty",
324 "ID": 53,
325 "propertyName": "TypeOfCommData",
326 "propertyValue": "float",
327 "subProperties": []
328 }
329 ]
330 }
331 ],
332 "pairedPorts": []
333 }
334 ],
335 "portsOut": [
336 {
337 "type": "GraphPort",
338 "ID": 54,
339 "element": 44,
340 "properties": [
341 {
342 "type": "GraphProperty",
343 "ID": 55,
344 "propertyName": "TypeOfPort",
345 "propertyValue": "dataComm",
346 "subProperties": [
347 {
348 "type": "GraphProperty",
349 "ID": 56,
350 "propertyName": "TypeOfCommData",
351 "propertyValue": "GabePattStack",
352 "subProperties": []
353 }
354 ]
355 }
356 ],
357 "pairedPorts": []
358 },
359 {
360 "type": "GraphPort",
361 "ID": 57,
362 "element": 44,
363 "properties": [
364 {
365 "type": "GraphProperty",
366 "ID": 58,
367 "propertyName": "TypeOfPort",
368 "propertyValue": "dataComm",
369 "subProperties": [
370 {
371 "type": "GraphProperty",
372 "ID": 59,
373 "propertyName": "TypeOfCommData",
374 "propertyValue": "float",
375 "subProperties": []
376 }
377 ]
378 }
379 ],
380 "pairedPorts": []
381 }
382 ],
383 "linkedElems": [],
384 "isAlreadyVisited": true
385 }
386 separator
387 {
388 "type": "GraphElem",
389 "ID": 15,
390 "properties": [
391 {
392 "type": "GraphProperty",
393 "ID": 16,
394 "propertyName": "TypeOfElement",
395 "propertyValue": "GabeReplacePattern",
396 "subProperties": []
397 },
398 {
399 "type": "GraphProperty",
400 "ID": 17,
401 "propertyName": "TypeOfSyntacticStructure",
402 "propertyValue": "syntacticHierarchy",
403 "subProperties": []
404 }
405 ],
406 "portsIn": [],
407 "portsOut": [],
408 "linkedElems": [
409 44
410 ],
411 "isAlreadyVisited": true
412 }
413 separator
414 {
415 "type": "GraphElem",
416 "ID": 1,
417 "properties": [
418 {
419 "type": "GraphProperty",
420 "ID": 10,
421 "propertyName": "TypeOfElement",
422 "propertyValue": "GabeTransformRule",
423 "subProperties": []
424 },
425 {
426 "type": "GraphProperty",
427 "ID": 11,
428 "propertyName": "TypeOfSyntacticStructure",
429 "propertyValue": "syntacticHierarchy",
430 "subProperties": []
431 }
432 ],
433 "portsIn": [],
434 "portsOut": [],
435 "linkedElems": [
436 12,
437 15
438 ],
439 "viewSet": {
440 "type": "ViewSet",
441 "ID": 4,
442 "syntaxElem": 1,
443 "rootViewBox": {
444 "type": "ViewBox",
445 "ID": 5,
446 "shape": "<svg width=\"68\" height=\"88\"><rect x=\"1\" y=\"1\" rx=\"20\" ry=\"20\" width=\"66\" height=\"86\" style=\"fill:none;stroke:red;stroke-width:2;opacity:1\" vector-effect=\"non-scaling-stroke\">",
447 "width": 1000,
448 "height": 700,
449 "xOffset": 0,
450 "yOffset": 0,
451 "scale": 1,
452 "parent": 4,
453 "children": [
454 {
455 "type": "ViewBox",
456 "ID": 6,
457 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">properties</text> </svg>",
458 "width": 49,
459 "height": 14,
460 "xOffset": 8,
461 "yOffset": 8,
462 "scale": 1,
463 "parent": 5,
464 "children": [],
465 "handlers": [
466 {
467 "type": "key"
468 }
469 ]
470 },
471 {
472 "type": "ViewBox",
473 "ID": 7,
474 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsIn</text> </svg>",
475 "width": 33,
476 "height": 14,
477 "xOffset": 8,
478 "yOffset": 25,
479 "scale": 1,
480 "parent": 5,
481 "children": [],
482 "handlers": [
483 {
484 "type": "key"
485 }
486 ]
487 },
488 {
489 "type": "ViewBox",
490 "ID": 8,
491 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsOut</text> </svg>",
492 "width": 42,
493 "height": 14,
494 "xOffset": 8,
495 "yOffset": 42,
496 "scale": 1,
497 "parent": 5,
498 "children": [],
499 "handlers": [
500 {
501 "type": "key"
502 }
503 ]
504 },
505 {
506 "type": "ViewBox",
507 "ID": 9,
508 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">linkedElems</text> </svg>",
509 "width": 55,
510 "height": 14,
511 "xOffset": 8,
512 "yOffset": 59,
513 "scale": 1,
514 "parent": 5,
515 "children": [],
516 "handlers": [
517 {
518 "type": "key"
519 }
520 ]
521 }
522 ],
523 "handlers": [
524 {
525 "type": "key"
526 },
527 {
528 "type": "key"
529 }
530 ]
531 },
532 "viewSetLinks": []
533 },
534 "isAlreadyVisited": true
535 }
536 separator