diff 1__Development/6__Website/POPBottleServer/syntaxGraph.json @ 7:20a1407463a0

sort of working with view sets -- does restore, (not tested) have to chg Display to handle view sets
author Sean Halle <seanhalle@yahoo.com>
date Thu, 07 Aug 2014 00:10:50 -0700
parents d18eee376f45
children cc10d99e3f83
line diff
     1.1 --- a/1__Development/6__Website/POPBottleServer/syntaxGraph.json	Wed Aug 06 00:16:19 2014 -0700
     1.2 +++ b/1__Development/6__Website/POPBottleServer/syntaxGraph.json	Thu Aug 07 00:10:50 2014 -0700
     1.3 @@ -0,0 +1,477 @@
     1.4 +{
     1.5 +	"rootElem": 1,
     1.6 +	"rootViewSet": {
     1.7 +		"ID": 2,
     1.8 +		"viewSetLinks": [
     1.9 +			{
    1.10 +				"ID": 3,
    1.11 +				"referenceViewSet": 2,
    1.12 +				"subordinateViewSet": 4,
    1.13 +				"xOffset": 0,
    1.14 +				"yOffset": 0,
    1.15 +				"scale": 1
    1.16 +			}
    1.17 +		]
    1.18 +	}
    1.19 +}
    1.20 +end elem
    1.21 +{
    1.22 +	"ID": 31,
    1.23 +	"properties": [
    1.24 +		{
    1.25 +			"ID": 32,
    1.26 +			"propertyName": "TypeOfElement",
    1.27 +			"propertyValue": "Command",
    1.28 +			"subProperties": [
    1.29 +				{
    1.30 +					"ID": 33,
    1.31 +					"propertyName": "CommandID",
    1.32 +					"propertyValue": "GabePattPop",
    1.33 +					"subProperties": []
    1.34 +				}
    1.35 +			]
    1.36 +		},
    1.37 +		{
    1.38 +			"ID": 34,
    1.39 +			"propertyName": "TypeOfSyntacticStructure",
    1.40 +			"propertyValue": "syntacticPatternRoot",
    1.41 +			"subProperties": []
    1.42 +		}
    1.43 +	],
    1.44 +	"portsIn": [
    1.45 +		{
    1.46 +			"ID": 35,
    1.47 +			"element": 31,
    1.48 +			"properties": [
    1.49 +				{
    1.50 +					"ID": 36,
    1.51 +					"propertyName": "TypeOfPort",
    1.52 +					"propertyValue": "dataComm",
    1.53 +					"subProperties": [
    1.54 +						{
    1.55 +							"ID": 37,
    1.56 +							"propertyName": "TypeOfCommData",
    1.57 +							"propertyValue": "GabePattStack",
    1.58 +							"subProperties": []
    1.59 +						}
    1.60 +					]
    1.61 +				}
    1.62 +			],
    1.63 +			"pairedPorts": [
    1.64 +				28
    1.65 +			]
    1.66 +		}
    1.67 +	],
    1.68 +	"portsOut": [
    1.69 +		{
    1.70 +			"ID": 38,
    1.71 +			"element": 31,
    1.72 +			"properties": [
    1.73 +				{
    1.74 +					"ID": 39,
    1.75 +					"propertyName": "TypeOfPort",
    1.76 +					"propertyValue": "dataComm",
    1.77 +					"subProperties": [
    1.78 +						{
    1.79 +							"ID": 40,
    1.80 +							"propertyName": "TypeOfCommData",
    1.81 +							"propertyValue": "GabePattStack",
    1.82 +							"subProperties": []
    1.83 +						}
    1.84 +					]
    1.85 +				}
    1.86 +			],
    1.87 +			"pairedPorts": []
    1.88 +		},
    1.89 +		{
    1.90 +			"ID": 41,
    1.91 +			"element": 31,
    1.92 +			"properties": [
    1.93 +				{
    1.94 +					"ID": 42,
    1.95 +					"propertyName": "TypeOfPort",
    1.96 +					"propertyValue": "dataComm",
    1.97 +					"subProperties": [
    1.98 +						{
    1.99 +							"ID": 43,
   1.100 +							"propertyName": "TypeOfCommData",
   1.101 +							"propertyValue": "float",
   1.102 +							"subProperties": []
   1.103 +						}
   1.104 +					]
   1.105 +				}
   1.106 +			],
   1.107 +			"pairedPorts": []
   1.108 +		}
   1.109 +	],
   1.110 +	"linkedElems": [],
   1.111 +	"isAlreadyVisited": true
   1.112 +}
   1.113 +end elem
   1.114 +{
   1.115 +	"ID": 18,
   1.116 +	"properties": [
   1.117 +		{
   1.118 +			"ID": 19,
   1.119 +			"propertyName": "TypeOfElement",
   1.120 +			"propertyValue": "Command",
   1.121 +			"subProperties": [
   1.122 +				{
   1.123 +					"ID": 20,
   1.124 +					"propertyName": "CommandID",
   1.125 +					"propertyValue": "GabePattPush",
   1.126 +					"subProperties": []
   1.127 +				}
   1.128 +			]
   1.129 +		},
   1.130 +		{
   1.131 +			"ID": 21,
   1.132 +			"propertyName": "TypeOfSyntacticStructure",
   1.133 +			"propertyValue": "syntacticPatternRoot",
   1.134 +			"subProperties": []
   1.135 +		}
   1.136 +	],
   1.137 +	"portsIn": [
   1.138 +		{
   1.139 +			"ID": 22,
   1.140 +			"element": 18,
   1.141 +			"properties": [
   1.142 +				{
   1.143 +					"ID": 23,
   1.144 +					"propertyName": "TypeOfPort",
   1.145 +					"propertyValue": "dataComm",
   1.146 +					"subProperties": [
   1.147 +						{
   1.148 +							"ID": 24,
   1.149 +							"propertyName": "TypeOfCommData",
   1.150 +							"propertyValue": "GabePattStack",
   1.151 +							"subProperties": []
   1.152 +						}
   1.153 +					]
   1.154 +				}
   1.155 +			],
   1.156 +			"pairedPorts": []
   1.157 +		},
   1.158 +		{
   1.159 +			"ID": 25,
   1.160 +			"element": 18,
   1.161 +			"properties": [
   1.162 +				{
   1.163 +					"ID": 26,
   1.164 +					"propertyName": "TypeOfPort",
   1.165 +					"propertyValue": "dataComm",
   1.166 +					"subProperties": [
   1.167 +						{
   1.168 +							"ID": 27,
   1.169 +							"propertyName": "TypeOfCommData",
   1.170 +							"propertyValue": "float",
   1.171 +							"subProperties": []
   1.172 +						}
   1.173 +					]
   1.174 +				}
   1.175 +			],
   1.176 +			"pairedPorts": []
   1.177 +		}
   1.178 +	],
   1.179 +	"portsOut": [
   1.180 +		{
   1.181 +			"ID": 28,
   1.182 +			"element": 18,
   1.183 +			"properties": [
   1.184 +				{
   1.185 +					"ID": 29,
   1.186 +					"propertyName": "TypeOfPort",
   1.187 +					"propertyValue": "dataComm",
   1.188 +					"subProperties": [
   1.189 +						{
   1.190 +							"ID": 30,
   1.191 +							"propertyName": "TypeOfCommData",
   1.192 +							"propertyValue": "GabePattStack",
   1.193 +							"subProperties": []
   1.194 +						}
   1.195 +					]
   1.196 +				}
   1.197 +			],
   1.198 +			"pairedPorts": [
   1.199 +				35
   1.200 +			]
   1.201 +		}
   1.202 +	],
   1.203 +	"linkedElems": [],
   1.204 +	"isAlreadyVisited": true
   1.205 +}
   1.206 +end elem
   1.207 +{
   1.208 +	"ID": 12,
   1.209 +	"properties": [
   1.210 +		{
   1.211 +			"ID": 13,
   1.212 +			"propertyName": "TypeOfElement",
   1.213 +			"propertyValue": "GabeQueryPattern",
   1.214 +			"subProperties": []
   1.215 +		},
   1.216 +		{
   1.217 +			"ID": 14,
   1.218 +			"propertyName": "TypeOfSyntacticStructure",
   1.219 +			"propertyValue": "syntacticHierarchy",
   1.220 +			"subProperties": []
   1.221 +		}
   1.222 +	],
   1.223 +	"portsIn": [],
   1.224 +	"portsOut": [],
   1.225 +	"linkedElems": [
   1.226 +		18,
   1.227 +		31
   1.228 +	],
   1.229 +	"isAlreadyVisited": true
   1.230 +}
   1.231 +end elem
   1.232 +{
   1.233 +	"ID": 44,
   1.234 +	"properties": [
   1.235 +		{
   1.236 +			"ID": 45,
   1.237 +			"propertyName": "TypeOfElement",
   1.238 +			"propertyValue": "Command",
   1.239 +			"subProperties": [
   1.240 +				{
   1.241 +					"ID": 46,
   1.242 +					"propertyName": "CommandID",
   1.243 +					"propertyValue": "GabePassThrough",
   1.244 +					"subProperties": []
   1.245 +				}
   1.246 +			]
   1.247 +		},
   1.248 +		{
   1.249 +			"ID": 47,
   1.250 +			"propertyName": "TypeOfSyntacticStructure",
   1.251 +			"propertyValue": "syntacticPatternRoot",
   1.252 +			"subProperties": []
   1.253 +		}
   1.254 +	],
   1.255 +	"portsIn": [
   1.256 +		{
   1.257 +			"ID": 48,
   1.258 +			"element": 44,
   1.259 +			"properties": [
   1.260 +				{
   1.261 +					"ID": 49,
   1.262 +					"propertyName": "TypeOfPort",
   1.263 +					"propertyValue": "dataComm",
   1.264 +					"subProperties": [
   1.265 +						{
   1.266 +							"ID": 50,
   1.267 +							"propertyName": "TypeOfCommData",
   1.268 +							"propertyValue": "GabePattStack",
   1.269 +							"subProperties": []
   1.270 +						}
   1.271 +					]
   1.272 +				}
   1.273 +			],
   1.274 +			"pairedPorts": []
   1.275 +		},
   1.276 +		{
   1.277 +			"ID": 51,
   1.278 +			"element": 44,
   1.279 +			"properties": [
   1.280 +				{
   1.281 +					"ID": 52,
   1.282 +					"propertyName": "TypeOfPort",
   1.283 +					"propertyValue": "dataComm",
   1.284 +					"subProperties": [
   1.285 +						{
   1.286 +							"ID": 53,
   1.287 +							"propertyName": "TypeOfCommData",
   1.288 +							"propertyValue": "float",
   1.289 +							"subProperties": []
   1.290 +						}
   1.291 +					]
   1.292 +				}
   1.293 +			],
   1.294 +			"pairedPorts": []
   1.295 +		}
   1.296 +	],
   1.297 +	"portsOut": [
   1.298 +		{
   1.299 +			"ID": 54,
   1.300 +			"element": 44,
   1.301 +			"properties": [
   1.302 +				{
   1.303 +					"ID": 55,
   1.304 +					"propertyName": "TypeOfPort",
   1.305 +					"propertyValue": "dataComm",
   1.306 +					"subProperties": [
   1.307 +						{
   1.308 +							"ID": 56,
   1.309 +							"propertyName": "TypeOfCommData",
   1.310 +							"propertyValue": "GabePattStack",
   1.311 +							"subProperties": []
   1.312 +						}
   1.313 +					]
   1.314 +				}
   1.315 +			],
   1.316 +			"pairedPorts": []
   1.317 +		},
   1.318 +		{
   1.319 +			"ID": 57,
   1.320 +			"element": 44,
   1.321 +			"properties": [
   1.322 +				{
   1.323 +					"ID": 58,
   1.324 +					"propertyName": "TypeOfPort",
   1.325 +					"propertyValue": "dataComm",
   1.326 +					"subProperties": [
   1.327 +						{
   1.328 +							"ID": 59,
   1.329 +							"propertyName": "TypeOfCommData",
   1.330 +							"propertyValue": "float",
   1.331 +							"subProperties": []
   1.332 +						}
   1.333 +					]
   1.334 +				}
   1.335 +			],
   1.336 +			"pairedPorts": []
   1.337 +		}
   1.338 +	],
   1.339 +	"linkedElems": [],
   1.340 +	"isAlreadyVisited": true
   1.341 +}
   1.342 +end elem
   1.343 +{
   1.344 +	"ID": 15,
   1.345 +	"properties": [
   1.346 +		{
   1.347 +			"ID": 16,
   1.348 +			"propertyName": "TypeOfElement",
   1.349 +			"propertyValue": "GabeReplacePattern",
   1.350 +			"subProperties": []
   1.351 +		},
   1.352 +		{
   1.353 +			"ID": 17,
   1.354 +			"propertyName": "TypeOfSyntacticStructure",
   1.355 +			"propertyValue": "syntacticHierarchy",
   1.356 +			"subProperties": []
   1.357 +		}
   1.358 +	],
   1.359 +	"portsIn": [],
   1.360 +	"portsOut": [],
   1.361 +	"linkedElems": [
   1.362 +		44
   1.363 +	],
   1.364 +	"isAlreadyVisited": true
   1.365 +}
   1.366 +end elem
   1.367 +{
   1.368 +	"ID": 1,
   1.369 +	"properties": [
   1.370 +		{
   1.371 +			"ID": 10,
   1.372 +			"propertyName": "TypeOfElement",
   1.373 +			"propertyValue": "GabeTransformRule",
   1.374 +			"subProperties": []
   1.375 +		},
   1.376 +		{
   1.377 +			"ID": 11,
   1.378 +			"propertyName": "TypeOfSyntacticStructure",
   1.379 +			"propertyValue": "syntacticHierarchy",
   1.380 +			"subProperties": []
   1.381 +		}
   1.382 +	],
   1.383 +	"portsIn": [],
   1.384 +	"portsOut": [],
   1.385 +	"linkedElems": [
   1.386 +		12,
   1.387 +		15
   1.388 +	],
   1.389 +	"viewSet": {
   1.390 +		"ID": 4,
   1.391 +		"syntaxElem": 1,
   1.392 +		"rootViewBox": {
   1.393 +			"ID": 5,
   1.394 +			"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.395 +			"width": 1000,
   1.396 +			"height": 700,
   1.397 +			"xOffset": 0,
   1.398 +			"yOffset": 0,
   1.399 +			"scale": 1,
   1.400 +			"parent": 4,
   1.401 +			"children": [
   1.402 +				{
   1.403 +					"ID": 6,
   1.404 +					"shape": "<svg>  <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">properties</text> </svg>",
   1.405 +					"width": 49,
   1.406 +					"height": 14,
   1.407 +					"xOffset": 8,
   1.408 +					"yOffset": 8,
   1.409 +					"scale": 1,
   1.410 +					"parent": 5,
   1.411 +					"children": [],
   1.412 +					"handlers": [
   1.413 +						{
   1.414 +							"type": "key"
   1.415 +						}
   1.416 +					]
   1.417 +				},
   1.418 +				{
   1.419 +					"ID": 7,
   1.420 +					"shape": "<svg>  <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsIn</text> </svg>",
   1.421 +					"width": 33,
   1.422 +					"height": 14,
   1.423 +					"xOffset": 8,
   1.424 +					"yOffset": 25,
   1.425 +					"scale": 1,
   1.426 +					"parent": 5,
   1.427 +					"children": [],
   1.428 +					"handlers": [
   1.429 +						{
   1.430 +							"type": "key"
   1.431 +						}
   1.432 +					]
   1.433 +				},
   1.434 +				{
   1.435 +					"ID": 8,
   1.436 +					"shape": "<svg>  <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">portsOut</text> </svg>",
   1.437 +					"width": 42,
   1.438 +					"height": 14,
   1.439 +					"xOffset": 8,
   1.440 +					"yOffset": 42,
   1.441 +					"scale": 1,
   1.442 +					"parent": 5,
   1.443 +					"children": [],
   1.444 +					"handlers": [
   1.445 +						{
   1.446 +							"type": "key"
   1.447 +						}
   1.448 +					]
   1.449 +				},
   1.450 +				{
   1.451 +					"ID": 9,
   1.452 +					"shape": "<svg>  <text x=\"0\" y=\"9\" style=\"font-family: Arial; font-size: 11;fill:black;stroke:none\" id=\"svgText\">linkedElems</text> </svg>",
   1.453 +					"width": 55,
   1.454 +					"height": 14,
   1.455 +					"xOffset": 8,
   1.456 +					"yOffset": 59,
   1.457 +					"scale": 1,
   1.458 +					"parent": 5,
   1.459 +					"children": [],
   1.460 +					"handlers": [
   1.461 +						{
   1.462 +							"type": "key"
   1.463 +						}
   1.464 +					]
   1.465 +				}
   1.466 +			],
   1.467 +			"handlers": [
   1.468 +				{
   1.469 +					"type": "key"
   1.470 +				},
   1.471 +				{
   1.472 +					"type": "key"
   1.473 +				}
   1.474 +			]
   1.475 +		},
   1.476 +		"viewSetLinks": []
   1.477 +	},
   1.478 +	"isAlreadyVisited": true
   1.479 +}
   1.480 +end elem