Mercurial > cgi-bin > hgwebdir.cgi > POP > oldRepo
diff 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 diff
1.1 --- a/1__Development/6__Website/POPBottleServer/syntaxGraph.json Thu Aug 07 00:10:50 2014 -0700 1.2 +++ b/1__Development/6__Website/POPBottleServer/syntaxGraph.json Sat Aug 09 03:34:26 2014 -0700 1.3 @@ -1,9 +1,11 @@ 1.4 { 1.5 "rootElem": 1, 1.6 "rootViewSet": { 1.7 + "type": "ViewSet", 1.8 "ID": 2, 1.9 "viewSetLinks": [ 1.10 { 1.11 + "type": "ViewSetLink", 1.12 "ID": 3, 1.13 "referenceViewSet": 2, 1.14 "subordinateViewSet": 4, 1.15 @@ -14,16 +16,19 @@ 1.16 ] 1.17 } 1.18 } 1.19 -end elem 1.20 +separator 1.21 { 1.22 + "type": "GraphElem", 1.23 "ID": 31, 1.24 "properties": [ 1.25 { 1.26 + "type": "GraphProperty", 1.27 "ID": 32, 1.28 "propertyName": "TypeOfElement", 1.29 "propertyValue": "Command", 1.30 "subProperties": [ 1.31 { 1.32 + "type": "GraphProperty", 1.33 "ID": 33, 1.34 "propertyName": "CommandID", 1.35 "propertyValue": "GabePattPop", 1.36 @@ -32,6 +37,7 @@ 1.37 ] 1.38 }, 1.39 { 1.40 + "type": "GraphProperty", 1.41 "ID": 34, 1.42 "propertyName": "TypeOfSyntacticStructure", 1.43 "propertyValue": "syntacticPatternRoot", 1.44 @@ -40,15 +46,18 @@ 1.45 ], 1.46 "portsIn": [ 1.47 { 1.48 + "type": "GraphPort", 1.49 "ID": 35, 1.50 "element": 31, 1.51 "properties": [ 1.52 { 1.53 + "type": "GraphProperty", 1.54 "ID": 36, 1.55 "propertyName": "TypeOfPort", 1.56 "propertyValue": "dataComm", 1.57 "subProperties": [ 1.58 { 1.59 + "type": "GraphProperty", 1.60 "ID": 37, 1.61 "propertyName": "TypeOfCommData", 1.62 "propertyValue": "GabePattStack", 1.63 @@ -64,15 +73,18 @@ 1.64 ], 1.65 "portsOut": [ 1.66 { 1.67 + "type": "GraphPort", 1.68 "ID": 38, 1.69 "element": 31, 1.70 "properties": [ 1.71 { 1.72 + "type": "GraphProperty", 1.73 "ID": 39, 1.74 "propertyName": "TypeOfPort", 1.75 "propertyValue": "dataComm", 1.76 "subProperties": [ 1.77 { 1.78 + "type": "GraphProperty", 1.79 "ID": 40, 1.80 "propertyName": "TypeOfCommData", 1.81 "propertyValue": "GabePattStack", 1.82 @@ -84,15 +96,18 @@ 1.83 "pairedPorts": [] 1.84 }, 1.85 { 1.86 + "type": "GraphPort", 1.87 "ID": 41, 1.88 "element": 31, 1.89 "properties": [ 1.90 { 1.91 + "type": "GraphProperty", 1.92 "ID": 42, 1.93 "propertyName": "TypeOfPort", 1.94 "propertyValue": "dataComm", 1.95 "subProperties": [ 1.96 { 1.97 + "type": "GraphProperty", 1.98 "ID": 43, 1.99 "propertyName": "TypeOfCommData", 1.100 "propertyValue": "float", 1.101 @@ -107,16 +122,19 @@ 1.102 "linkedElems": [], 1.103 "isAlreadyVisited": true 1.104 } 1.105 -end elem 1.106 +separator 1.107 { 1.108 + "type": "GraphElem", 1.109 "ID": 18, 1.110 "properties": [ 1.111 { 1.112 + "type": "GraphProperty", 1.113 "ID": 19, 1.114 "propertyName": "TypeOfElement", 1.115 "propertyValue": "Command", 1.116 "subProperties": [ 1.117 { 1.118 + "type": "GraphProperty", 1.119 "ID": 20, 1.120 "propertyName": "CommandID", 1.121 "propertyValue": "GabePattPush", 1.122 @@ -125,6 +143,7 @@ 1.123 ] 1.124 }, 1.125 { 1.126 + "type": "GraphProperty", 1.127 "ID": 21, 1.128 "propertyName": "TypeOfSyntacticStructure", 1.129 "propertyValue": "syntacticPatternRoot", 1.130 @@ -133,15 +152,18 @@ 1.131 ], 1.132 "portsIn": [ 1.133 { 1.134 + "type": "GraphPort", 1.135 "ID": 22, 1.136 "element": 18, 1.137 "properties": [ 1.138 { 1.139 + "type": "GraphProperty", 1.140 "ID": 23, 1.141 "propertyName": "TypeOfPort", 1.142 "propertyValue": "dataComm", 1.143 "subProperties": [ 1.144 { 1.145 + "type": "GraphProperty", 1.146 "ID": 24, 1.147 "propertyName": "TypeOfCommData", 1.148 "propertyValue": "GabePattStack", 1.149 @@ -153,15 +175,18 @@ 1.150 "pairedPorts": [] 1.151 }, 1.152 { 1.153 + "type": "GraphPort", 1.154 "ID": 25, 1.155 "element": 18, 1.156 "properties": [ 1.157 { 1.158 + "type": "GraphProperty", 1.159 "ID": 26, 1.160 "propertyName": "TypeOfPort", 1.161 "propertyValue": "dataComm", 1.162 "subProperties": [ 1.163 { 1.164 + "type": "GraphProperty", 1.165 "ID": 27, 1.166 "propertyName": "TypeOfCommData", 1.167 "propertyValue": "float", 1.168 @@ -175,15 +200,18 @@ 1.169 ], 1.170 "portsOut": [ 1.171 { 1.172 + "type": "GraphPort", 1.173 "ID": 28, 1.174 "element": 18, 1.175 "properties": [ 1.176 { 1.177 + "type": "GraphProperty", 1.178 "ID": 29, 1.179 "propertyName": "TypeOfPort", 1.180 "propertyValue": "dataComm", 1.181 "subProperties": [ 1.182 { 1.183 + "type": "GraphProperty", 1.184 "ID": 30, 1.185 "propertyName": "TypeOfCommData", 1.186 "propertyValue": "GabePattStack", 1.187 @@ -200,17 +228,20 @@ 1.188 "linkedElems": [], 1.189 "isAlreadyVisited": true 1.190 } 1.191 -end elem 1.192 +separator 1.193 { 1.194 + "type": "GraphElem", 1.195 "ID": 12, 1.196 "properties": [ 1.197 { 1.198 + "type": "GraphProperty", 1.199 "ID": 13, 1.200 "propertyName": "TypeOfElement", 1.201 "propertyValue": "GabeQueryPattern", 1.202 "subProperties": [] 1.203 }, 1.204 { 1.205 + "type": "GraphProperty", 1.206 "ID": 14, 1.207 "propertyName": "TypeOfSyntacticStructure", 1.208 "propertyValue": "syntacticHierarchy", 1.209 @@ -225,16 +256,19 @@ 1.210 ], 1.211 "isAlreadyVisited": true 1.212 } 1.213 -end elem 1.214 +separator 1.215 { 1.216 + "type": "GraphElem", 1.217 "ID": 44, 1.218 "properties": [ 1.219 { 1.220 + "type": "GraphProperty", 1.221 "ID": 45, 1.222 "propertyName": "TypeOfElement", 1.223 "propertyValue": "Command", 1.224 "subProperties": [ 1.225 { 1.226 + "type": "GraphProperty", 1.227 "ID": 46, 1.228 "propertyName": "CommandID", 1.229 "propertyValue": "GabePassThrough", 1.230 @@ -243,6 +277,7 @@ 1.231 ] 1.232 }, 1.233 { 1.234 + "type": "GraphProperty", 1.235 "ID": 47, 1.236 "propertyName": "TypeOfSyntacticStructure", 1.237 "propertyValue": "syntacticPatternRoot", 1.238 @@ -251,15 +286,18 @@ 1.239 ], 1.240 "portsIn": [ 1.241 { 1.242 + "type": "GraphPort", 1.243 "ID": 48, 1.244 "element": 44, 1.245 "properties": [ 1.246 { 1.247 + "type": "GraphProperty", 1.248 "ID": 49, 1.249 "propertyName": "TypeOfPort", 1.250 "propertyValue": "dataComm", 1.251 "subProperties": [ 1.252 { 1.253 + "type": "GraphProperty", 1.254 "ID": 50, 1.255 "propertyName": "TypeOfCommData", 1.256 "propertyValue": "GabePattStack", 1.257 @@ -271,15 +309,18 @@ 1.258 "pairedPorts": [] 1.259 }, 1.260 { 1.261 + "type": "GraphPort", 1.262 "ID": 51, 1.263 "element": 44, 1.264 "properties": [ 1.265 { 1.266 + "type": "GraphProperty", 1.267 "ID": 52, 1.268 "propertyName": "TypeOfPort", 1.269 "propertyValue": "dataComm", 1.270 "subProperties": [ 1.271 { 1.272 + "type": "GraphProperty", 1.273 "ID": 53, 1.274 "propertyName": "TypeOfCommData", 1.275 "propertyValue": "float", 1.276 @@ -293,15 +334,18 @@ 1.277 ], 1.278 "portsOut": [ 1.279 { 1.280 + "type": "GraphPort", 1.281 "ID": 54, 1.282 "element": 44, 1.283 "properties": [ 1.284 { 1.285 + "type": "GraphProperty", 1.286 "ID": 55, 1.287 "propertyName": "TypeOfPort", 1.288 "propertyValue": "dataComm", 1.289 "subProperties": [ 1.290 { 1.291 + "type": "GraphProperty", 1.292 "ID": 56, 1.293 "propertyName": "TypeOfCommData", 1.294 "propertyValue": "GabePattStack", 1.295 @@ -313,15 +357,18 @@ 1.296 "pairedPorts": [] 1.297 }, 1.298 { 1.299 + "type": "GraphPort", 1.300 "ID": 57, 1.301 "element": 44, 1.302 "properties": [ 1.303 { 1.304 + "type": "GraphProperty", 1.305 "ID": 58, 1.306 "propertyName": "TypeOfPort", 1.307 "propertyValue": "dataComm", 1.308 "subProperties": [ 1.309 { 1.310 + "type": "GraphProperty", 1.311 "ID": 59, 1.312 "propertyName": "TypeOfCommData", 1.313 "propertyValue": "float", 1.314 @@ -336,17 +383,20 @@ 1.315 "linkedElems": [], 1.316 "isAlreadyVisited": true 1.317 } 1.318 -end elem 1.319 +separator 1.320 { 1.321 + "type": "GraphElem", 1.322 "ID": 15, 1.323 "properties": [ 1.324 { 1.325 + "type": "GraphProperty", 1.326 "ID": 16, 1.327 "propertyName": "TypeOfElement", 1.328 "propertyValue": "GabeReplacePattern", 1.329 "subProperties": [] 1.330 }, 1.331 { 1.332 + "type": "GraphProperty", 1.333 "ID": 17, 1.334 "propertyName": "TypeOfSyntacticStructure", 1.335 "propertyValue": "syntacticHierarchy", 1.336 @@ -360,17 +410,20 @@ 1.337 ], 1.338 "isAlreadyVisited": true 1.339 } 1.340 -end elem 1.341 +separator 1.342 { 1.343 + "type": "GraphElem", 1.344 "ID": 1, 1.345 "properties": [ 1.346 { 1.347 + "type": "GraphProperty", 1.348 "ID": 10, 1.349 "propertyName": "TypeOfElement", 1.350 "propertyValue": "GabeTransformRule", 1.351 "subProperties": [] 1.352 }, 1.353 { 1.354 + "type": "GraphProperty", 1.355 "ID": 11, 1.356 "propertyName": "TypeOfSyntacticStructure", 1.357 "propertyValue": "syntacticHierarchy", 1.358 @@ -384,9 +437,11 @@ 1.359 15 1.360 ], 1.361 "viewSet": { 1.362 + "type": "ViewSet", 1.363 "ID": 4, 1.364 "syntaxElem": 1, 1.365 "rootViewBox": { 1.366 + "type": "ViewBox", 1.367 "ID": 5, 1.368 "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\">", 1.369 "width": 1000, 1.370 @@ -397,6 +452,7 @@ 1.371 "parent": 4, 1.372 "children": [ 1.373 { 1.374 + "type": "ViewBox", 1.375 "ID": 6, 1.376 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">properties</text> </svg>", 1.377 "width": 49, 1.378 @@ -413,6 +469,7 @@ 1.379 ] 1.380 }, 1.381 { 1.382 + "type": "ViewBox", 1.383 "ID": 7, 1.384 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsIn</text> </svg>", 1.385 "width": 33, 1.386 @@ -429,6 +486,7 @@ 1.387 ] 1.388 }, 1.389 { 1.390 + "type": "ViewBox", 1.391 "ID": 8, 1.392 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsOut</text> </svg>", 1.393 "width": 42, 1.394 @@ -445,6 +503,7 @@ 1.395 ] 1.396 }, 1.397 { 1.398 + "type": "ViewBox", 1.399 "ID": 9, 1.400 "shape": "<svg> <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">linkedElems</text> </svg>", 1.401 "width": 55, 1.402 @@ -474,4 +533,4 @@ 1.403 }, 1.404 "isAlreadyVisited": true 1.405 } 1.406 -end elem 1.407 +separator
