Upload folder using huggingface_hub (part 28)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- tools/ui/node_modules/cytoscape-cose-bilkent/.babelrc +3 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/.eslintignore +1 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/.eslintrc +13 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/LICENSE +21 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/README.md +145 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/bower.json +25 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +458 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/demo-compound.html +199 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/demo.html +117 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/private/private.properties +1 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/project.properties +3 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/project.xml +9 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/package.json +55 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/src/index.js +390 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/test/example.js +7 -0
- tools/ui/node_modules/cytoscape-cose-bilkent/webpack.config.js +43 -0
- tools/ui/node_modules/cytoscape-fcose/.babelrc +3 -0
- tools/ui/node_modules/cytoscape-fcose/.eslintignore +1 -0
- tools/ui/node_modules/cytoscape-fcose/.eslintrc +13 -0
- tools/ui/node_modules/cytoscape-fcose/CITATION.cff +31 -0
- tools/ui/node_modules/cytoscape-fcose/LICENSE +19 -0
- tools/ui/node_modules/cytoscape-fcose/README.md +236 -0
- tools/ui/node_modules/cytoscape-fcose/bower.json +25 -0
- tools/ui/node_modules/cytoscape-fcose/cytoscape-fcose.js +1549 -0
- tools/ui/node_modules/cytoscape-fcose/demo/demo-compound.html +465 -0
- tools/ui/node_modules/cytoscape-fcose/demo/demo-constraint-control.js +1482 -0
- tools/ui/node_modules/cytoscape-fcose/demo/demo-constraint.html +345 -0
- tools/ui/node_modules/cytoscape-fcose/demo/demo.gif +3 -0
- tools/ui/node_modules/cytoscape-fcose/demo/demo.html +457 -0
- tools/ui/node_modules/cytoscape-fcose/demo/incrementalConstraints.gif +3 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/callGraph.js +1616 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/callGraph_constraints.js +123 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/chalk.js +1305 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/chalk_constraints.js +78 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/unix.js +2868 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/unix_constraints.js +249 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/uwsn.js +2303 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/uwsn_constraints.js +88 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/wsn.js +0 -0
- tools/ui/node_modules/cytoscape-fcose/demo/samples/wsn_constraints.js +102 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/.babelrc +3 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/LICENSE +21 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/README.md +26 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/bower.json +23 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +0 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/index.js +16 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/package.json +40 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEConstants.js +26 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEEdge.js +12 -0
- tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEGraph.js +12 -0
tools/ui/node_modules/cytoscape-cose-bilkent/.babelrc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"presets": ["env"]
|
| 3 |
+
}
|
tools/ui/node_modules/cytoscape-cose-bilkent/.eslintignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
node_modules/**/*
|
tools/ui/node_modules/cytoscape-cose-bilkent/.eslintrc
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env": {
|
| 3 |
+
"browser": true,
|
| 4 |
+
"commonjs": true,
|
| 5 |
+
"node": true,
|
| 6 |
+
"amd": true,
|
| 7 |
+
"es6": true
|
| 8 |
+
},
|
| 9 |
+
"extends": "eslint:recommended",
|
| 10 |
+
"rules": {
|
| 11 |
+
"semi": "error"
|
| 12 |
+
}
|
| 13 |
+
}
|
tools/ui/node_modules/cytoscape-cose-bilkent/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2016-2018, The Cytoscape Consortium.
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
| 6 |
+
this software and associated documentation files (the “Software”), to deal in
|
| 7 |
+
the Software without restriction, including without limitation the rights to
|
| 8 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
| 9 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
| 10 |
+
so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
tools/ui/node_modules/cytoscape-cose-bilkent/README.md
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cytoscape-cose-bilkent
|
| 2 |
+
================================================================================
|
| 3 |
+
|
| 4 |
+
[](https://zenodo.org/badge/latestdoi/42200589)
|
| 5 |
+
|
| 6 |
+
## Description
|
| 7 |
+
|
| 8 |
+
The CoSE (Compound Spring Embedder) layout for Cytoscape.js developed by [i-Vis Lab](http://cs.bilkent.edu.tr/~ivis/) in Bilkent University is a spring embedder layout with support for compound graphs (nested structures) and varying (non-uniform) node dimensions.
|
| 9 |
+
([demo](https://raw.githack.com/cytoscape/cytoscape.js-cose-bilkent/master/demo.html), [compound demo](https://raw.githack.com/cytoscape/cytoscape.js-cose-bilkent/master/demo-compound.html))
|
| 10 |
+
|
| 11 |
+
Please cite the following when using this layout:
|
| 12 |
+
|
| 13 |
+
U. Dogrusoz, E. Giral, A. Cetintas, A. Civril, and E. Demir, "[A Layout Algorithm For Undirected Compound Graphs](http://www.sciencedirect.com/science/article/pii/S0020025508004799)", Information Sciences, 179, pp. 980-994, 2009.
|
| 14 |
+
|
| 15 |
+
## Dependencies
|
| 16 |
+
|
| 17 |
+
* Cytoscape.js ^3.2.0
|
| 18 |
+
* cose-base ^1.0.0
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
## Usage instructions
|
| 22 |
+
|
| 23 |
+
Download the library:
|
| 24 |
+
* via npm: `npm install cytoscape-cose-bilkent`,
|
| 25 |
+
* via bower: `bower install cytoscape-cose-bilkent`, or
|
| 26 |
+
* via direct download in the repository (probably from a tag).
|
| 27 |
+
|
| 28 |
+
Import the library as appropriate for your project:
|
| 29 |
+
|
| 30 |
+
ES import:
|
| 31 |
+
|
| 32 |
+
```js
|
| 33 |
+
import cytoscape from 'cytoscape';
|
| 34 |
+
import coseBilkent from 'cytoscape-cose-bilkent';
|
| 35 |
+
|
| 36 |
+
cytoscape.use( coseBilkent );
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
CommonJS require:
|
| 40 |
+
|
| 41 |
+
```js
|
| 42 |
+
let cytoscape = require('cytoscape');
|
| 43 |
+
let coseBilkent = require('cytoscape-cose-bilkent');
|
| 44 |
+
|
| 45 |
+
cytoscape.use( coseBilkent ); // register extension
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
AMD:
|
| 49 |
+
|
| 50 |
+
```js
|
| 51 |
+
require(['cytoscape', 'cytoscape-cose-bilkent'], function( cytoscape, coseBilkent ){
|
| 52 |
+
coseBilkent( cytoscape ); // register extension
|
| 53 |
+
});
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Plain HTML/JS has the extension registered for you automatically, because no `require()` is needed.
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
## API
|
| 60 |
+
|
| 61 |
+
When calling the layout, e.g. `cy.layout({ name: 'cose-bilkent', ... })`, the following options are supported:
|
| 62 |
+
|
| 63 |
+
```js
|
| 64 |
+
var defaultOptions = {
|
| 65 |
+
// Called on `layoutready`
|
| 66 |
+
ready: function () {
|
| 67 |
+
},
|
| 68 |
+
// Called on `layoutstop`
|
| 69 |
+
stop: function () {
|
| 70 |
+
},
|
| 71 |
+
// 'draft', 'default' or 'proof"
|
| 72 |
+
// - 'draft' fast cooling rate
|
| 73 |
+
// - 'default' moderate cooling rate
|
| 74 |
+
// - "proof" slow cooling rate
|
| 75 |
+
quality: 'default',
|
| 76 |
+
// Whether to include labels in node dimensions. Useful for avoiding label overlap
|
| 77 |
+
nodeDimensionsIncludeLabels: false,
|
| 78 |
+
// number of ticks per frame; higher is faster but more jerky
|
| 79 |
+
refresh: 30,
|
| 80 |
+
// Whether to fit the network view after when done
|
| 81 |
+
fit: true,
|
| 82 |
+
// Padding on fit
|
| 83 |
+
padding: 10,
|
| 84 |
+
// Whether to enable incremental mode
|
| 85 |
+
randomize: true,
|
| 86 |
+
// Node repulsion (non overlapping) multiplier
|
| 87 |
+
nodeRepulsion: 4500,
|
| 88 |
+
// Ideal (intra-graph) edge length
|
| 89 |
+
idealEdgeLength: 50,
|
| 90 |
+
// Divisor to compute edge forces
|
| 91 |
+
edgeElasticity: 0.45,
|
| 92 |
+
// Nesting factor (multiplier) to compute ideal edge length for inter-graph edges
|
| 93 |
+
nestingFactor: 0.1,
|
| 94 |
+
// Gravity force (constant)
|
| 95 |
+
gravity: 0.25,
|
| 96 |
+
// Maximum number of iterations to perform
|
| 97 |
+
numIter: 2500,
|
| 98 |
+
// Whether to tile disconnected nodes
|
| 99 |
+
tile: true,
|
| 100 |
+
// Type of layout animation. The option set is {'during', 'end', false}
|
| 101 |
+
animate: 'end',
|
| 102 |
+
// Duration for animate:end
|
| 103 |
+
animationDuration: 500,
|
| 104 |
+
// Amount of vertical space to put between degree zero nodes during tiling (can also be a function)
|
| 105 |
+
tilingPaddingVertical: 10,
|
| 106 |
+
// Amount of horizontal space to put between degree zero nodes during tiling (can also be a function)
|
| 107 |
+
tilingPaddingHorizontal: 10,
|
| 108 |
+
// Gravity range (constant) for compounds
|
| 109 |
+
gravityRangeCompound: 1.5,
|
| 110 |
+
// Gravity force (constant) for compounds
|
| 111 |
+
gravityCompound: 1.0,
|
| 112 |
+
// Gravity range (constant)
|
| 113 |
+
gravityRange: 3.8,
|
| 114 |
+
// Initial cooling factor for incremental layout
|
| 115 |
+
initialEnergyOnIncremental: 0.5
|
| 116 |
+
};
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
*Note that this extension supports only relatively modern browsers. Browsers like IE require significant shimming, for example with [core-js](https://www.npmjs.com/package/core-js).*
|
| 120 |
+
|
| 121 |
+
*Note that while running Cytoscape.js in headless mode, stylingEnabled option of Cytoscape.js should be set as true because this extension considers node dimensions and some other styling properties.*
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
## Build targets
|
| 125 |
+
|
| 126 |
+
* `npm run test` : Run Mocha tests in `./test`
|
| 127 |
+
* `npm run build` : Build `./src/**` into `cytoscape-cose-bilkent.js`
|
| 128 |
+
* `npm run watch` : Automatically build on changes with live reloading (N.b. you must already have an HTTP server running)
|
| 129 |
+
* `npm run dev` : Automatically build on changes with live reloading with webpack dev server
|
| 130 |
+
* `npm run lint` : Run eslint on the source
|
| 131 |
+
|
| 132 |
+
N.b. all builds use babel, so modern ES features can be used in the `src`.
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Publishing instructions
|
| 136 |
+
|
| 137 |
+
This project is set up to automatically be published to npm and bower. To publish:
|
| 138 |
+
|
| 139 |
+
1. Build the extension : `npm run build:release`
|
| 140 |
+
1. Commit the build : `git commit -am "Build for release"`
|
| 141 |
+
1. Bump the version number and tag: `npm version major|minor|patch`
|
| 142 |
+
1. Push to origin: `git push && git push --tags`
|
| 143 |
+
1. Publish to npm: `npm publish .`
|
| 144 |
+
1. If publishing to bower for the first time, you'll need to run `bower register cytoscape-cose-bilkent https://github.com/cytoscape/cytoscape.js-cose-bilkent.git`
|
| 145 |
+
1. [Make a new release](https://github.com/cytoscape/cytoscape.js-cose-bilkent/releases/new) for Zenodo.
|
tools/ui/node_modules/cytoscape-cose-bilkent/bower.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cytoscape-cose-bilkent",
|
| 3 |
+
"description": "The CoSE layout for Cytoscape.js by Bilkent with enhanced compound node placement",
|
| 4 |
+
"main": "cytoscape-cose-bilkent.js",
|
| 5 |
+
"dependencies": {
|
| 6 |
+
"cytoscape": "^3.2.0",
|
| 7 |
+
"cose-base": "^1.0.0"
|
| 8 |
+
},
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "https://github.com/cytoscape/cytoscape.js-cose-bilkent.git"
|
| 12 |
+
},
|
| 13 |
+
"ignore": [
|
| 14 |
+
"**/.*",
|
| 15 |
+
"node_modules",
|
| 16 |
+
"bower_components",
|
| 17 |
+
"test",
|
| 18 |
+
"tests"
|
| 19 |
+
],
|
| 20 |
+
"keywords": [
|
| 21 |
+
"cytoscape",
|
| 22 |
+
"cytoscape-extension"
|
| 23 |
+
],
|
| 24 |
+
"license": "MIT"
|
| 25 |
+
}
|
tools/ui/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js
ADDED
|
@@ -0,0 +1,458 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
| 2 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
| 3 |
+
module.exports = factory(require("cose-base"));
|
| 4 |
+
else if(typeof define === 'function' && define.amd)
|
| 5 |
+
define(["cose-base"], factory);
|
| 6 |
+
else if(typeof exports === 'object')
|
| 7 |
+
exports["cytoscapeCoseBilkent"] = factory(require("cose-base"));
|
| 8 |
+
else
|
| 9 |
+
root["cytoscapeCoseBilkent"] = factory(root["coseBase"]);
|
| 10 |
+
})(this, function(__WEBPACK_EXTERNAL_MODULE_0__) {
|
| 11 |
+
return /******/ (function(modules) { // webpackBootstrap
|
| 12 |
+
/******/ // The module cache
|
| 13 |
+
/******/ var installedModules = {};
|
| 14 |
+
/******/
|
| 15 |
+
/******/ // The require function
|
| 16 |
+
/******/ function __webpack_require__(moduleId) {
|
| 17 |
+
/******/
|
| 18 |
+
/******/ // Check if module is in cache
|
| 19 |
+
/******/ if(installedModules[moduleId]) {
|
| 20 |
+
/******/ return installedModules[moduleId].exports;
|
| 21 |
+
/******/ }
|
| 22 |
+
/******/ // Create a new module (and put it into the cache)
|
| 23 |
+
/******/ var module = installedModules[moduleId] = {
|
| 24 |
+
/******/ i: moduleId,
|
| 25 |
+
/******/ l: false,
|
| 26 |
+
/******/ exports: {}
|
| 27 |
+
/******/ };
|
| 28 |
+
/******/
|
| 29 |
+
/******/ // Execute the module function
|
| 30 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
| 31 |
+
/******/
|
| 32 |
+
/******/ // Flag the module as loaded
|
| 33 |
+
/******/ module.l = true;
|
| 34 |
+
/******/
|
| 35 |
+
/******/ // Return the exports of the module
|
| 36 |
+
/******/ return module.exports;
|
| 37 |
+
/******/ }
|
| 38 |
+
/******/
|
| 39 |
+
/******/
|
| 40 |
+
/******/ // expose the modules object (__webpack_modules__)
|
| 41 |
+
/******/ __webpack_require__.m = modules;
|
| 42 |
+
/******/
|
| 43 |
+
/******/ // expose the module cache
|
| 44 |
+
/******/ __webpack_require__.c = installedModules;
|
| 45 |
+
/******/
|
| 46 |
+
/******/ // identity function for calling harmony imports with the correct context
|
| 47 |
+
/******/ __webpack_require__.i = function(value) { return value; };
|
| 48 |
+
/******/
|
| 49 |
+
/******/ // define getter function for harmony exports
|
| 50 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
| 51 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
| 52 |
+
/******/ Object.defineProperty(exports, name, {
|
| 53 |
+
/******/ configurable: false,
|
| 54 |
+
/******/ enumerable: true,
|
| 55 |
+
/******/ get: getter
|
| 56 |
+
/******/ });
|
| 57 |
+
/******/ }
|
| 58 |
+
/******/ };
|
| 59 |
+
/******/
|
| 60 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
| 61 |
+
/******/ __webpack_require__.n = function(module) {
|
| 62 |
+
/******/ var getter = module && module.__esModule ?
|
| 63 |
+
/******/ function getDefault() { return module['default']; } :
|
| 64 |
+
/******/ function getModuleExports() { return module; };
|
| 65 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
| 66 |
+
/******/ return getter;
|
| 67 |
+
/******/ };
|
| 68 |
+
/******/
|
| 69 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
| 70 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
| 71 |
+
/******/
|
| 72 |
+
/******/ // __webpack_public_path__
|
| 73 |
+
/******/ __webpack_require__.p = "";
|
| 74 |
+
/******/
|
| 75 |
+
/******/ // Load entry module and return exports
|
| 76 |
+
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
| 77 |
+
/******/ })
|
| 78 |
+
/************************************************************************/
|
| 79 |
+
/******/ ([
|
| 80 |
+
/* 0 */
|
| 81 |
+
/***/ (function(module, exports) {
|
| 82 |
+
|
| 83 |
+
module.exports = __WEBPACK_EXTERNAL_MODULE_0__;
|
| 84 |
+
|
| 85 |
+
/***/ }),
|
| 86 |
+
/* 1 */
|
| 87 |
+
/***/ (function(module, exports, __webpack_require__) {
|
| 88 |
+
|
| 89 |
+
"use strict";
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
var LayoutConstants = __webpack_require__(0).layoutBase.LayoutConstants;
|
| 93 |
+
var FDLayoutConstants = __webpack_require__(0).layoutBase.FDLayoutConstants;
|
| 94 |
+
var CoSEConstants = __webpack_require__(0).CoSEConstants;
|
| 95 |
+
var CoSELayout = __webpack_require__(0).CoSELayout;
|
| 96 |
+
var CoSENode = __webpack_require__(0).CoSENode;
|
| 97 |
+
var PointD = __webpack_require__(0).layoutBase.PointD;
|
| 98 |
+
var DimensionD = __webpack_require__(0).layoutBase.DimensionD;
|
| 99 |
+
|
| 100 |
+
var defaults = {
|
| 101 |
+
// Called on `layoutready`
|
| 102 |
+
ready: function ready() {},
|
| 103 |
+
// Called on `layoutstop`
|
| 104 |
+
stop: function stop() {},
|
| 105 |
+
// 'draft', 'default' or 'proof"
|
| 106 |
+
// - 'draft' fast cooling rate
|
| 107 |
+
// - 'default' moderate cooling rate
|
| 108 |
+
// - "proof" slow cooling rate
|
| 109 |
+
quality: 'default',
|
| 110 |
+
// include labels in node dimensions
|
| 111 |
+
nodeDimensionsIncludeLabels: false,
|
| 112 |
+
// number of ticks per frame; higher is faster but more jerky
|
| 113 |
+
refresh: 30,
|
| 114 |
+
// Whether to fit the network view after when done
|
| 115 |
+
fit: true,
|
| 116 |
+
// Padding on fit
|
| 117 |
+
padding: 10,
|
| 118 |
+
// Whether to enable incremental mode
|
| 119 |
+
randomize: true,
|
| 120 |
+
// Node repulsion (non overlapping) multiplier
|
| 121 |
+
nodeRepulsion: 4500,
|
| 122 |
+
// Ideal edge (non nested) length
|
| 123 |
+
idealEdgeLength: 50,
|
| 124 |
+
// Divisor to compute edge forces
|
| 125 |
+
edgeElasticity: 0.45,
|
| 126 |
+
// Nesting factor (multiplier) to compute ideal edge length for nested edges
|
| 127 |
+
nestingFactor: 0.1,
|
| 128 |
+
// Gravity force (constant)
|
| 129 |
+
gravity: 0.25,
|
| 130 |
+
// Maximum number of iterations to perform
|
| 131 |
+
numIter: 2500,
|
| 132 |
+
// For enabling tiling
|
| 133 |
+
tile: true,
|
| 134 |
+
// Type of layout animation. The option set is {'during', 'end', false}
|
| 135 |
+
animate: 'end',
|
| 136 |
+
// Duration for animate:end
|
| 137 |
+
animationDuration: 500,
|
| 138 |
+
// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
|
| 139 |
+
tilingPaddingVertical: 10,
|
| 140 |
+
// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
|
| 141 |
+
tilingPaddingHorizontal: 10,
|
| 142 |
+
// Gravity range (constant) for compounds
|
| 143 |
+
gravityRangeCompound: 1.5,
|
| 144 |
+
// Gravity force (constant) for compounds
|
| 145 |
+
gravityCompound: 1.0,
|
| 146 |
+
// Gravity range (constant)
|
| 147 |
+
gravityRange: 3.8,
|
| 148 |
+
// Initial cooling factor for incremental layout
|
| 149 |
+
initialEnergyOnIncremental: 0.5
|
| 150 |
+
};
|
| 151 |
+
|
| 152 |
+
function extend(defaults, options) {
|
| 153 |
+
var obj = {};
|
| 154 |
+
|
| 155 |
+
for (var i in defaults) {
|
| 156 |
+
obj[i] = defaults[i];
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
for (var i in options) {
|
| 160 |
+
obj[i] = options[i];
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
return obj;
|
| 164 |
+
};
|
| 165 |
+
|
| 166 |
+
function _CoSELayout(_options) {
|
| 167 |
+
this.options = extend(defaults, _options);
|
| 168 |
+
getUserOptions(this.options);
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
var getUserOptions = function getUserOptions(options) {
|
| 172 |
+
if (options.nodeRepulsion != null) CoSEConstants.DEFAULT_REPULSION_STRENGTH = FDLayoutConstants.DEFAULT_REPULSION_STRENGTH = options.nodeRepulsion;
|
| 173 |
+
if (options.idealEdgeLength != null) CoSEConstants.DEFAULT_EDGE_LENGTH = FDLayoutConstants.DEFAULT_EDGE_LENGTH = options.idealEdgeLength;
|
| 174 |
+
if (options.edgeElasticity != null) CoSEConstants.DEFAULT_SPRING_STRENGTH = FDLayoutConstants.DEFAULT_SPRING_STRENGTH = options.edgeElasticity;
|
| 175 |
+
if (options.nestingFactor != null) CoSEConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = FDLayoutConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = options.nestingFactor;
|
| 176 |
+
if (options.gravity != null) CoSEConstants.DEFAULT_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_GRAVITY_STRENGTH = options.gravity;
|
| 177 |
+
if (options.numIter != null) CoSEConstants.MAX_ITERATIONS = FDLayoutConstants.MAX_ITERATIONS = options.numIter;
|
| 178 |
+
if (options.gravityRange != null) CoSEConstants.DEFAULT_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_GRAVITY_RANGE_FACTOR = options.gravityRange;
|
| 179 |
+
if (options.gravityCompound != null) CoSEConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = options.gravityCompound;
|
| 180 |
+
if (options.gravityRangeCompound != null) CoSEConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = options.gravityRangeCompound;
|
| 181 |
+
if (options.initialEnergyOnIncremental != null) CoSEConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = FDLayoutConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = options.initialEnergyOnIncremental;
|
| 182 |
+
|
| 183 |
+
if (options.quality == 'draft') LayoutConstants.QUALITY = 0;else if (options.quality == 'proof') LayoutConstants.QUALITY = 2;else LayoutConstants.QUALITY = 1;
|
| 184 |
+
|
| 185 |
+
CoSEConstants.NODE_DIMENSIONS_INCLUDE_LABELS = FDLayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = LayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = options.nodeDimensionsIncludeLabels;
|
| 186 |
+
CoSEConstants.DEFAULT_INCREMENTAL = FDLayoutConstants.DEFAULT_INCREMENTAL = LayoutConstants.DEFAULT_INCREMENTAL = !options.randomize;
|
| 187 |
+
CoSEConstants.ANIMATE = FDLayoutConstants.ANIMATE = LayoutConstants.ANIMATE = options.animate;
|
| 188 |
+
CoSEConstants.TILE = options.tile;
|
| 189 |
+
CoSEConstants.TILING_PADDING_VERTICAL = typeof options.tilingPaddingVertical === 'function' ? options.tilingPaddingVertical.call() : options.tilingPaddingVertical;
|
| 190 |
+
CoSEConstants.TILING_PADDING_HORIZONTAL = typeof options.tilingPaddingHorizontal === 'function' ? options.tilingPaddingHorizontal.call() : options.tilingPaddingHorizontal;
|
| 191 |
+
};
|
| 192 |
+
|
| 193 |
+
_CoSELayout.prototype.run = function () {
|
| 194 |
+
var ready;
|
| 195 |
+
var frameId;
|
| 196 |
+
var options = this.options;
|
| 197 |
+
var idToLNode = this.idToLNode = {};
|
| 198 |
+
var layout = this.layout = new CoSELayout();
|
| 199 |
+
var self = this;
|
| 200 |
+
|
| 201 |
+
self.stopped = false;
|
| 202 |
+
|
| 203 |
+
this.cy = this.options.cy;
|
| 204 |
+
|
| 205 |
+
this.cy.trigger({ type: 'layoutstart', layout: this });
|
| 206 |
+
|
| 207 |
+
var gm = layout.newGraphManager();
|
| 208 |
+
this.gm = gm;
|
| 209 |
+
|
| 210 |
+
var nodes = this.options.eles.nodes();
|
| 211 |
+
var edges = this.options.eles.edges();
|
| 212 |
+
|
| 213 |
+
this.root = gm.addRoot();
|
| 214 |
+
this.processChildrenList(this.root, this.getTopMostNodes(nodes), layout);
|
| 215 |
+
|
| 216 |
+
for (var i = 0; i < edges.length; i++) {
|
| 217 |
+
var edge = edges[i];
|
| 218 |
+
var sourceNode = this.idToLNode[edge.data("source")];
|
| 219 |
+
var targetNode = this.idToLNode[edge.data("target")];
|
| 220 |
+
if (sourceNode !== targetNode && sourceNode.getEdgesBetween(targetNode).length == 0) {
|
| 221 |
+
var e1 = gm.add(layout.newEdge(), sourceNode, targetNode);
|
| 222 |
+
e1.id = edge.id();
|
| 223 |
+
}
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
var getPositions = function getPositions(ele, i) {
|
| 227 |
+
if (typeof ele === "number") {
|
| 228 |
+
ele = i;
|
| 229 |
+
}
|
| 230 |
+
var theId = ele.data('id');
|
| 231 |
+
var lNode = self.idToLNode[theId];
|
| 232 |
+
|
| 233 |
+
return {
|
| 234 |
+
x: lNode.getRect().getCenterX(),
|
| 235 |
+
y: lNode.getRect().getCenterY()
|
| 236 |
+
};
|
| 237 |
+
};
|
| 238 |
+
|
| 239 |
+
/*
|
| 240 |
+
* Reposition nodes in iterations animatedly
|
| 241 |
+
*/
|
| 242 |
+
var iterateAnimated = function iterateAnimated() {
|
| 243 |
+
// Thigs to perform after nodes are repositioned on screen
|
| 244 |
+
var afterReposition = function afterReposition() {
|
| 245 |
+
if (options.fit) {
|
| 246 |
+
options.cy.fit(options.eles, options.padding);
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
if (!ready) {
|
| 250 |
+
ready = true;
|
| 251 |
+
self.cy.one('layoutready', options.ready);
|
| 252 |
+
self.cy.trigger({ type: 'layoutready', layout: self });
|
| 253 |
+
}
|
| 254 |
+
};
|
| 255 |
+
|
| 256 |
+
var ticksPerFrame = self.options.refresh;
|
| 257 |
+
var isDone;
|
| 258 |
+
|
| 259 |
+
for (var i = 0; i < ticksPerFrame && !isDone; i++) {
|
| 260 |
+
isDone = self.stopped || self.layout.tick();
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
// If layout is done
|
| 264 |
+
if (isDone) {
|
| 265 |
+
// If the layout is not a sublayout and it is successful perform post layout.
|
| 266 |
+
if (layout.checkLayoutSuccess() && !layout.isSubLayout) {
|
| 267 |
+
layout.doPostLayout();
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
// If layout has a tilingPostLayout function property call it.
|
| 271 |
+
if (layout.tilingPostLayout) {
|
| 272 |
+
layout.tilingPostLayout();
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
layout.isLayoutFinished = true;
|
| 276 |
+
|
| 277 |
+
self.options.eles.nodes().positions(getPositions);
|
| 278 |
+
|
| 279 |
+
afterReposition();
|
| 280 |
+
|
| 281 |
+
// trigger layoutstop when the layout stops (e.g. finishes)
|
| 282 |
+
self.cy.one('layoutstop', self.options.stop);
|
| 283 |
+
self.cy.trigger({ type: 'layoutstop', layout: self });
|
| 284 |
+
|
| 285 |
+
if (frameId) {
|
| 286 |
+
cancelAnimationFrame(frameId);
|
| 287 |
+
}
|
| 288 |
+
|
| 289 |
+
ready = false;
|
| 290 |
+
return;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
var animationData = self.layout.getPositionsData(); // Get positions of layout nodes note that all nodes may not be layout nodes because of tiling
|
| 294 |
+
|
| 295 |
+
// Position nodes, for the nodes whose id does not included in data (because they are removed from their parents and included in dummy compounds)
|
| 296 |
+
// use position of their ancestors or dummy ancestors
|
| 297 |
+
options.eles.nodes().positions(function (ele, i) {
|
| 298 |
+
if (typeof ele === "number") {
|
| 299 |
+
ele = i;
|
| 300 |
+
}
|
| 301 |
+
// If ele is a compound node, then its position will be defined by its children
|
| 302 |
+
if (!ele.isParent()) {
|
| 303 |
+
var theId = ele.id();
|
| 304 |
+
var pNode = animationData[theId];
|
| 305 |
+
var temp = ele;
|
| 306 |
+
// If pNode is undefined search until finding position data of its first ancestor (It may be dummy as well)
|
| 307 |
+
while (pNode == null) {
|
| 308 |
+
pNode = animationData[temp.data('parent')] || animationData['DummyCompound_' + temp.data('parent')];
|
| 309 |
+
animationData[theId] = pNode;
|
| 310 |
+
temp = temp.parent()[0];
|
| 311 |
+
if (temp == undefined) {
|
| 312 |
+
break;
|
| 313 |
+
}
|
| 314 |
+
}
|
| 315 |
+
if (pNode != null) {
|
| 316 |
+
return {
|
| 317 |
+
x: pNode.x,
|
| 318 |
+
y: pNode.y
|
| 319 |
+
};
|
| 320 |
+
} else {
|
| 321 |
+
return {
|
| 322 |
+
x: ele.position('x'),
|
| 323 |
+
y: ele.position('y')
|
| 324 |
+
};
|
| 325 |
+
}
|
| 326 |
+
}
|
| 327 |
+
});
|
| 328 |
+
|
| 329 |
+
afterReposition();
|
| 330 |
+
|
| 331 |
+
frameId = requestAnimationFrame(iterateAnimated);
|
| 332 |
+
};
|
| 333 |
+
|
| 334 |
+
/*
|
| 335 |
+
* Listen 'layoutstarted' event and start animated iteration if animate option is 'during'
|
| 336 |
+
*/
|
| 337 |
+
layout.addListener('layoutstarted', function () {
|
| 338 |
+
if (self.options.animate === 'during') {
|
| 339 |
+
frameId = requestAnimationFrame(iterateAnimated);
|
| 340 |
+
}
|
| 341 |
+
});
|
| 342 |
+
|
| 343 |
+
layout.runLayout(); // Run cose layout
|
| 344 |
+
|
| 345 |
+
/*
|
| 346 |
+
* If animate option is not 'during' ('end' or false) perform these here (If it is 'during' similar things are already performed)
|
| 347 |
+
*/
|
| 348 |
+
if (this.options.animate !== "during") {
|
| 349 |
+
self.options.eles.nodes().not(":parent").layoutPositions(self, self.options, getPositions); // Use layout positions to reposition the nodes it considers the options parameter
|
| 350 |
+
ready = false;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
return this; // chaining
|
| 354 |
+
};
|
| 355 |
+
|
| 356 |
+
//Get the top most ones of a list of nodes
|
| 357 |
+
_CoSELayout.prototype.getTopMostNodes = function (nodes) {
|
| 358 |
+
var nodesMap = {};
|
| 359 |
+
for (var i = 0; i < nodes.length; i++) {
|
| 360 |
+
nodesMap[nodes[i].id()] = true;
|
| 361 |
+
}
|
| 362 |
+
var roots = nodes.filter(function (ele, i) {
|
| 363 |
+
if (typeof ele === "number") {
|
| 364 |
+
ele = i;
|
| 365 |
+
}
|
| 366 |
+
var parent = ele.parent()[0];
|
| 367 |
+
while (parent != null) {
|
| 368 |
+
if (nodesMap[parent.id()]) {
|
| 369 |
+
return false;
|
| 370 |
+
}
|
| 371 |
+
parent = parent.parent()[0];
|
| 372 |
+
}
|
| 373 |
+
return true;
|
| 374 |
+
});
|
| 375 |
+
|
| 376 |
+
return roots;
|
| 377 |
+
};
|
| 378 |
+
|
| 379 |
+
_CoSELayout.prototype.processChildrenList = function (parent, children, layout) {
|
| 380 |
+
var size = children.length;
|
| 381 |
+
for (var i = 0; i < size; i++) {
|
| 382 |
+
var theChild = children[i];
|
| 383 |
+
var children_of_children = theChild.children();
|
| 384 |
+
var theNode;
|
| 385 |
+
|
| 386 |
+
var dimensions = theChild.layoutDimensions({
|
| 387 |
+
nodeDimensionsIncludeLabels: this.options.nodeDimensionsIncludeLabels
|
| 388 |
+
});
|
| 389 |
+
|
| 390 |
+
if (theChild.outerWidth() != null && theChild.outerHeight() != null) {
|
| 391 |
+
theNode = parent.add(new CoSENode(layout.graphManager, new PointD(theChild.position('x') - dimensions.w / 2, theChild.position('y') - dimensions.h / 2), new DimensionD(parseFloat(dimensions.w), parseFloat(dimensions.h))));
|
| 392 |
+
} else {
|
| 393 |
+
theNode = parent.add(new CoSENode(this.graphManager));
|
| 394 |
+
}
|
| 395 |
+
// Attach id to the layout node
|
| 396 |
+
theNode.id = theChild.data("id");
|
| 397 |
+
// Attach the paddings of cy node to layout node
|
| 398 |
+
theNode.paddingLeft = parseInt(theChild.css('padding'));
|
| 399 |
+
theNode.paddingTop = parseInt(theChild.css('padding'));
|
| 400 |
+
theNode.paddingRight = parseInt(theChild.css('padding'));
|
| 401 |
+
theNode.paddingBottom = parseInt(theChild.css('padding'));
|
| 402 |
+
|
| 403 |
+
//Attach the label properties to compound if labels will be included in node dimensions
|
| 404 |
+
if (this.options.nodeDimensionsIncludeLabels) {
|
| 405 |
+
if (theChild.isParent()) {
|
| 406 |
+
var labelWidth = theChild.boundingBox({ includeLabels: true, includeNodes: false }).w;
|
| 407 |
+
var labelHeight = theChild.boundingBox({ includeLabels: true, includeNodes: false }).h;
|
| 408 |
+
var labelPos = theChild.css("text-halign");
|
| 409 |
+
theNode.labelWidth = labelWidth;
|
| 410 |
+
theNode.labelHeight = labelHeight;
|
| 411 |
+
theNode.labelPos = labelPos;
|
| 412 |
+
}
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
+
// Map the layout node
|
| 416 |
+
this.idToLNode[theChild.data("id")] = theNode;
|
| 417 |
+
|
| 418 |
+
if (isNaN(theNode.rect.x)) {
|
| 419 |
+
theNode.rect.x = 0;
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
if (isNaN(theNode.rect.y)) {
|
| 423 |
+
theNode.rect.y = 0;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
if (children_of_children != null && children_of_children.length > 0) {
|
| 427 |
+
var theNewGraph;
|
| 428 |
+
theNewGraph = layout.getGraphManager().add(layout.newGraph(), theNode);
|
| 429 |
+
this.processChildrenList(theNewGraph, children_of_children, layout);
|
| 430 |
+
}
|
| 431 |
+
}
|
| 432 |
+
};
|
| 433 |
+
|
| 434 |
+
/**
|
| 435 |
+
* @brief : called on continuous layouts to stop them before they finish
|
| 436 |
+
*/
|
| 437 |
+
_CoSELayout.prototype.stop = function () {
|
| 438 |
+
this.stopped = true;
|
| 439 |
+
|
| 440 |
+
return this; // chaining
|
| 441 |
+
};
|
| 442 |
+
|
| 443 |
+
var register = function register(cytoscape) {
|
| 444 |
+
// var Layout = getLayout( cytoscape );
|
| 445 |
+
|
| 446 |
+
cytoscape('layout', 'cose-bilkent', _CoSELayout);
|
| 447 |
+
};
|
| 448 |
+
|
| 449 |
+
// auto reg for globals
|
| 450 |
+
if (typeof cytoscape !== 'undefined') {
|
| 451 |
+
register(cytoscape);
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
module.exports = register;
|
| 455 |
+
|
| 456 |
+
/***/ })
|
| 457 |
+
/******/ ]);
|
| 458 |
+
});
|
tools/ui/node_modules/cytoscape-cose-bilkent/demo-compound.html
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE>
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<title>cytoscape-cose-bilkent.js demo (compound)</title>
|
| 7 |
+
|
| 8 |
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
| 9 |
+
|
| 10 |
+
<script src="https://unpkg.com/cytoscape/dist/cytoscape.min.js"></script>
|
| 11 |
+
|
| 12 |
+
<!-- for testing with local version of cytoscape.js -->
|
| 13 |
+
<!--<script src="../cytoscape.js/build/cytoscape.js"></script>-->
|
| 14 |
+
|
| 15 |
+
<!--polyfills are needed for this extension for old browsers like IE -->
|
| 16 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.5.7/shim.min.js"></script>
|
| 17 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 18 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 19 |
+
<script src="cytoscape-cose-bilkent.js"></script>
|
| 20 |
+
|
| 21 |
+
<style>
|
| 22 |
+
body {
|
| 23 |
+
font-family: helvetica;
|
| 24 |
+
font-size: 14px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
#cy {
|
| 28 |
+
width: 100%;
|
| 29 |
+
height: 90%;
|
| 30 |
+
z-index: 999;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
h1 {
|
| 34 |
+
opacity: 0.5;
|
| 35 |
+
font-size: 1em;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
button {
|
| 39 |
+
margin-right: 10px;
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
+
|
| 43 |
+
<script>
|
| 44 |
+
document.addEventListener('DOMContentLoaded', function(){
|
| 45 |
+
|
| 46 |
+
var cy = window.cy = cytoscape({
|
| 47 |
+
container: document.getElementById('cy'),
|
| 48 |
+
|
| 49 |
+
ready: function(){
|
| 50 |
+
this.nodes().forEach(function(node){
|
| 51 |
+
let width = [30, 70, 110];
|
| 52 |
+
let size = width[Math.floor(Math.random()*3)];
|
| 53 |
+
node.css("width", size);
|
| 54 |
+
node.css("height", size);
|
| 55 |
+
});
|
| 56 |
+
this.layout({name: 'cose-bilkent', animationDuration: 1000}).run();
|
| 57 |
+
},
|
| 58 |
+
|
| 59 |
+
style: [
|
| 60 |
+
{
|
| 61 |
+
selector: 'node',
|
| 62 |
+
style: {
|
| 63 |
+
'background-color': '#ad1a66'
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
|
| 67 |
+
{
|
| 68 |
+
selector: ':parent',
|
| 69 |
+
style: {
|
| 70 |
+
'background-opacity': 0.333
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
|
| 74 |
+
{
|
| 75 |
+
selector: 'edge',
|
| 76 |
+
style: {
|
| 77 |
+
'width': 3,
|
| 78 |
+
'line-color': '#ad1a66'
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
],
|
| 82 |
+
|
| 83 |
+
elements: [{ group:'nodes', data:{ id: 'n0'}},
|
| 84 |
+
{ group:'nodes', data:{ id: 'n1'}},
|
| 85 |
+
{ group:'nodes', data:{ id: 'n2'}},
|
| 86 |
+
{ group:'nodes', data:{ id: 'n3'}},
|
| 87 |
+
{ group:'nodes', data:{ id: 'n4', parent: 'n37'}},
|
| 88 |
+
{ group:'nodes', data:{ id: 'n5'}},
|
| 89 |
+
{ group:'nodes', data:{ id: 'n6'}},
|
| 90 |
+
{ group:'nodes', data:{ id: 'n7', parent: 'n37'}},
|
| 91 |
+
{ group:'nodes', data:{ id: 'n8', parent: 'n37'}},
|
| 92 |
+
{ group:'nodes', data:{ id: 'n9', parent: 'n37'}},
|
| 93 |
+
{ group:'nodes', data:{ id: 'n10', parent: 'n38'}},
|
| 94 |
+
{ group:'nodes', data:{ id: 'n12'}},
|
| 95 |
+
{ group:'nodes', data:{ id: 'n13'}},
|
| 96 |
+
{ group:'nodes', data:{ id: 'n14'}},
|
| 97 |
+
{ group:'nodes', data:{ id: 'n15'}},
|
| 98 |
+
{ group:'nodes', data:{ id: 'n16'}},
|
| 99 |
+
{ group:'nodes', data:{ id: 'n17'}},
|
| 100 |
+
{ group:'nodes', data:{ id: 'n18'}},
|
| 101 |
+
{ group:'nodes', data:{ id: 'n19'}},
|
| 102 |
+
{ group:'nodes', data:{ id: 'n20'}},
|
| 103 |
+
{ group:'nodes', data:{ id: 'n21'}},
|
| 104 |
+
{ group:'nodes', data:{ id: 'n22'}},
|
| 105 |
+
{ group:'nodes', data:{ id: 'n23'}},
|
| 106 |
+
{ group:'nodes', data:{ id: 'n24', parent: 'n39'}},
|
| 107 |
+
{ group:'nodes', data:{ id: 'n25', parent: 'n39'}},
|
| 108 |
+
{ group:'nodes', data:{ id: 'n26', parent: 'n42'}},
|
| 109 |
+
{ group:'nodes', data:{ id: 'n27', parent: 'n42'}},
|
| 110 |
+
{ group:'nodes', data:{ id: 'n28', parent: 'n42'}},
|
| 111 |
+
{ group:'nodes', data:{ id: 'n29', parent: 'n40'}},
|
| 112 |
+
{ group:'nodes', data:{ id: 'n31', parent: 'n41'}},
|
| 113 |
+
{ group:'nodes', data:{ id: 'n32', parent: 'n41'}},
|
| 114 |
+
{ group:'nodes', data:{ id: 'n33', parent: 'n41'}},
|
| 115 |
+
{ group:'nodes', data:{ id: 'n34', parent: 'n41'}},
|
| 116 |
+
{ group:'nodes', data:{ id: 'n35', parent: 'n41'}},
|
| 117 |
+
{ group:'nodes', data:{ id: 'n36', parent: 'n41'}},
|
| 118 |
+
{ group:'nodes', data:{ id: 'n37'}},
|
| 119 |
+
{ group:'nodes', data:{ id: 'n38'}},
|
| 120 |
+
{ group:'nodes', data:{ id: 'n39', parent: 'n43'}},
|
| 121 |
+
{ group:'nodes', data:{ id: 'n40', parent: 'n42'}},
|
| 122 |
+
{ group:'nodes', data:{ id: 'n41', parent: 'n42'}},
|
| 123 |
+
{ group:'nodes', data:{ id: 'n42', parent: 'n43'}},
|
| 124 |
+
{ group:'nodes', data:{ id: 'n43'}},
|
| 125 |
+
{ group:'edges', data:{ id: 'e0', source: 'n0', target: 'n1'} },
|
| 126 |
+
{ group:'edges', data:{ id: 'e1', source: 'n1', target: 'n2'} },
|
| 127 |
+
{ group:'edges', data:{ id: 'e2', source: 'n2', target: 'n3'} },
|
| 128 |
+
{ group:'edges', data:{ id: 'e3', source: 'n0', target: 'n3'} },
|
| 129 |
+
{ group:'edges', data:{ id: 'e4', source: 'n1', target: 'n4'} },
|
| 130 |
+
{ group:'edges', data:{ id: 'e5', source: 'n2', target: 'n4'} },
|
| 131 |
+
{ group:'edges', data:{ id: 'e6', source: 'n4', target: 'n5'} },
|
| 132 |
+
{ group:'edges', data:{ id: 'e7', source: 'n5', target: 'n6'} },
|
| 133 |
+
{ group:'edges', data:{ id: 'e8', source: 'n4', target: 'n6'} },
|
| 134 |
+
{ group:'edges', data:{ id: 'e9', source: 'n4', target: 'n7'} },
|
| 135 |
+
{ group:'edges', data:{ id: 'e10', source: 'n7', target: 'n8'} },
|
| 136 |
+
{ group:'edges', data:{ id: 'e11', source: 'n8', target: 'n9'} },
|
| 137 |
+
{ group:'edges', data:{ id: 'e12', source: 'n7', target: 'n9'} },
|
| 138 |
+
{ group:'edges', data:{ id: 'e13', source: 'n13', target: 'n14'} },
|
| 139 |
+
{ group:'edges', data:{ id: 'e14', source: 'n12', target: 'n14'} },
|
| 140 |
+
{ group:'edges', data:{ id: 'e15', source: 'n14', target: 'n15'} },
|
| 141 |
+
{ group:'edges', data:{ id: 'e16', source: 'n14', target: 'n16'} },
|
| 142 |
+
{ group:'edges', data:{ id: 'e17', source: 'n15', target: 'n17'} },
|
| 143 |
+
{ group:'edges', data:{ id: 'e18', source: 'n17', target: 'n18'} },
|
| 144 |
+
{ group:'edges', data:{ id: 'e19', source: 'n18', target: 'n19'} },
|
| 145 |
+
{ group:'edges', data:{ id: 'e20', source: 'n17', target: 'n20'} },
|
| 146 |
+
{ group:'edges', data:{ id: 'e21', source: 'n19', target: 'n20'} },
|
| 147 |
+
{ group:'edges', data:{ id: 'e22', source: 'n16', target: 'n20'} },
|
| 148 |
+
{ group:'edges', data:{ id: 'e23', source: 'n20', target: 'n21'} },
|
| 149 |
+
{ group:'edges', data:{ id: 'e25', source: 'n23', target: 'n24'} },
|
| 150 |
+
{ group:'edges', data:{ id: 'e26', source: 'n24', target: 'n25'} },
|
| 151 |
+
{ group:'edges', data:{ id: 'e27', source: 'n26', target: 'n38'} },
|
| 152 |
+
{ group:'edges', data:{ id: 'e29', source: 'n26', target: 'n39'} },
|
| 153 |
+
{ group:'edges', data:{ id: 'e30', source: 'n26', target: 'n27'} },
|
| 154 |
+
{ group:'edges', data:{ id: 'e31', source: 'n26', target: 'n28'} },
|
| 155 |
+
{ group:'edges', data:{ id: 'e33', source: 'n21', target: 'n31'} },
|
| 156 |
+
{ group:'edges', data:{ id: 'e35', source: 'n31', target: 'n33'} },
|
| 157 |
+
{ group:'edges', data:{ id: 'e36', source: 'n31', target: 'n34'} },
|
| 158 |
+
{ group:'edges', data:{ id: 'e37', source: 'n33', target: 'n34'} },
|
| 159 |
+
{ group:'edges', data:{ id: 'e38', source: 'n32', target: 'n35'} },
|
| 160 |
+
{ group:'edges', data:{ id: 'e39', source: 'n32', target: 'n36'} },
|
| 161 |
+
{ group:'edges', data:{ id: 'e40', source: 'n16', target: 'n40'} }
|
| 162 |
+
]
|
| 163 |
+
});
|
| 164 |
+
document.getElementById("layoutButton").addEventListener("click", function(){
|
| 165 |
+
var layout = cy.layout({
|
| 166 |
+
name: 'cose-bilkent',
|
| 167 |
+
animate: 'end',
|
| 168 |
+
animationEasing: 'ease-out',
|
| 169 |
+
animationDuration: 1000,
|
| 170 |
+
randomize: true
|
| 171 |
+
});
|
| 172 |
+
|
| 173 |
+
layout.run();
|
| 174 |
+
});
|
| 175 |
+
document.getElementById("randomize").addEventListener("click", function(){
|
| 176 |
+
var layout = cy.layout({
|
| 177 |
+
name: 'random',
|
| 178 |
+
animate: true,
|
| 179 |
+
animationDuration: 1000,
|
| 180 |
+
animationEasing: 'ease-out'
|
| 181 |
+
});
|
| 182 |
+
|
| 183 |
+
layout.run();
|
| 184 |
+
});
|
| 185 |
+
});
|
| 186 |
+
</script>
|
| 187 |
+
</head>
|
| 188 |
+
|
| 189 |
+
<body>
|
| 190 |
+
<h1>cytoscape-cose-bilkent demo (compound)</h1>
|
| 191 |
+
|
| 192 |
+
<button id="randomize" type="button">Randomize</button>
|
| 193 |
+
<button id="layoutButton" type="button">CoSE-Bilkent</button>
|
| 194 |
+
|
| 195 |
+
<div id="cy"></div>
|
| 196 |
+
|
| 197 |
+
</body>
|
| 198 |
+
|
| 199 |
+
</html>
|
tools/ui/node_modules/cytoscape-cose-bilkent/demo.html
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE>
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<title>cytoscape-cose-bilkent.js demo</title>
|
| 7 |
+
|
| 8 |
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
| 9 |
+
|
| 10 |
+
<script src="https://unpkg.com/cytoscape/dist/cytoscape.min.js"></script>
|
| 11 |
+
|
| 12 |
+
<!-- for testing with local version of cytoscape.js -->
|
| 13 |
+
<!--<script src="../cytoscape.js/build/cytoscape.js"></script>-->
|
| 14 |
+
|
| 15 |
+
<!--polyfills are needed for this extension for old browsers like IE -->
|
| 16 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.5.7/shim.min.js"></script>
|
| 17 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 18 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 19 |
+
<script src="cytoscape-cose-bilkent.js"></script>
|
| 20 |
+
|
| 21 |
+
<style>
|
| 22 |
+
body {
|
| 23 |
+
font-family: helvetica;
|
| 24 |
+
font-size: 14px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
#cy {
|
| 28 |
+
width: 100%;
|
| 29 |
+
height: 90%;
|
| 30 |
+
z-index: 999;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
h1 {
|
| 34 |
+
opacity: 0.5;
|
| 35 |
+
font-size: 1em;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
button {
|
| 39 |
+
margin-right: 10px;
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
+
|
| 43 |
+
<script>
|
| 44 |
+
document.addEventListener('DOMContentLoaded',function(){
|
| 45 |
+
|
| 46 |
+
var cy = window.cy = cytoscape({
|
| 47 |
+
container: document.getElementById('cy'),
|
| 48 |
+
|
| 49 |
+
ready: function(){
|
| 50 |
+
this.nodes().forEach(function(node){
|
| 51 |
+
let width = [30, 70, 110];
|
| 52 |
+
let size = width[Math.floor(Math.random()*3)];
|
| 53 |
+
node.css("width", size);
|
| 54 |
+
node.css("height", size);
|
| 55 |
+
});
|
| 56 |
+
this.layout({name: 'cose-bilkent', animationDuration: 1000}).run();
|
| 57 |
+
},
|
| 58 |
+
|
| 59 |
+
style: [
|
| 60 |
+
{
|
| 61 |
+
selector: 'node',
|
| 62 |
+
style: {
|
| 63 |
+
'background-color': '#ad1a66'
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
|
| 67 |
+
{
|
| 68 |
+
selector: 'edge',
|
| 69 |
+
style: {
|
| 70 |
+
'width': 3,
|
| 71 |
+
'line-color': '#ad1a66'
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
],
|
| 75 |
+
|
| 76 |
+
elements: [{"data":{"id":"glyph9","sbgnbbox":{"x":1452.639173965406,"y":609.3619416544145,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"hexokinase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1452.639173965406,"y":609.3619416544145},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph0","sbgnbbox":{"x":1351.3490293961959,"y":518.9529901384763,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"glucose","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1351.3490293961959,"y":518.9529901384763},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph6","sbgnbbox":{"x":1358.2854747390154,"y":707.9866590968695,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ATP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":1358.2854747390154,"y":707.9866590968695},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph8","sbgnbbox":{"x":1322.9939787691299,"y":614.6878118623499,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1322.9939787691299,"y":614.6878118623499},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph7","sbgnbbox":{"x":1239.4852011317887,"y":543.2369849876238,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ADP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":1239.4852011317887,"y":543.2369849876238},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph12","sbgnbbox":{"x":841.6855140740067,"y":765.0152660242113,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ADP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":841.6855140740067,"y":765.0152660242113},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph13","sbgnbbox":{"x":1019.5908382748769,"y":841.6087025848726,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ATP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":1019.5908382748769,"y":841.6087025848726},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph1","sbgnbbox":{"x":1231.2768042260652,"y":673.2683218469676,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"glucose 6P","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1231.2768042260652,"y":673.2683218469676},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph2","sbgnbbox":{"x":1039.8995038336504,"y":730.180116446269,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"fructose 6P","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1039.8995038336504,"y":730.180116446269},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph15","sbgnbbox":{"x":569.5498472077387,"y":506.89980858075364,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"triose-P isomerase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":569.5498472077387,"y":506.89980858075364},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph3","sbgnbbox":{"x":903.0347368937041,"y":654.3308627056822,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"fructose 1,6P","sbgnstatesandinfos":[],"ports":[]},"position":{"x":903.0347368937041,"y":654.3308627056822},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph17","sbgnbbox":{"x":1195.6310733031135,"y":820.9504141631944,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"glucose-6P isomerase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1195.6310733031135,"y":820.9504141631944},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph10","sbgnbbox":{"x":1141.2404374322139,"y":732.3190922346248,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":1141.2404374322139,"y":732.3190922346248},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph19","sbgnbbox":{"x":893.1427762830865,"y":856.2695126662625,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"phospho fructokinase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":893.1427762830865,"y":856.2695126662625},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph11","sbgnbbox":{"x":939.3335184518824,"y":758.3699048922733,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":939.3335184518824,"y":758.3699048922733},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph18","sbgnbbox":{"x":770.4114528170364,"y":659.2220219290564,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"adolase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":770.4114528170364,"y":659.2220219290564},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph16","sbgnbbox":{"x":818.0111009023315,"y":564.8072603606723,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":818.0111009023315,"y":564.8072603606723},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph22","sbgnbbox":{"x":651.1292498357636,"y":314.1387423188818,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"GAPDH","sbgnstatesandinfos":[],"ports":[]},"position":{"x":651.1292498357636,"y":314.1387423188818},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph4","sbgnbbox":{"x":792.0076145303351,"y":454.0225025614517,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"GA-3P","sbgnstatesandinfos":[],"ports":[]},"position":{"x":792.0076145303351,"y":454.0225025614517},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph23","sbgnbbox":{"x":704.0937009722281,"y":398.0421081673902,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"Pi","sbgnstatesandinfos":[],"ports":[]},"position":{"x":704.0937009722281,"y":398.0421081673902},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph24","sbgnbbox":{"x":809.2974819306742,"y":231.7141323534711,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"NAD","sbgnstatesandinfos":[],"ports":[]},"position":{"x":809.2974819306742,"y":231.7141323534711},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph25","sbgnbbox":{"x":890.826951363933,"y":299.74915938409947,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"H+","sbgnstatesandinfos":[],"ports":[]},"position":{"x":890.826951363933,"y":299.74915938409947},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph20","sbgnbbox":{"x":786.2625869125006,"y":331.67766378118495,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":786.2625869125006,"y":331.67766378118495},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph26","sbgnbbox":{"x":879.2981049664311,"y":389.27232563593486,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"NADH","sbgnstatesandinfos":[],"ports":[]},"position":{"x":879.2981049664311,"y":389.27232563593486},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph35","sbgnbbox":{"x":627.088268638501,"y":40.089848876876886,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"PGK1","sbgnstatesandinfos":[],"ports":[]},"position":{"x":627.088268638501,"y":40.089848876876886},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph36","sbgnbbox":{"x":329.6761506918384,"y":187.20503497360494,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"PG mutase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":329.6761506918384,"y":187.20503497360494},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph37","sbgnbbox":{"x":155.12947729633356,"y":379.5263531900425,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"enolase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":155.12947729633356,"y":379.5263531900425},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph38","sbgnbbox":{"x":70.13952165372024,"y":581.2691021233562,"w":"120.0","h":"60.0"},"sbgnclass":"macromolecule","sbgnlabel":"pyruvate kinase","sbgnstatesandinfos":[],"ports":[]},"position":{"x":70.13952165372024,"y":581.2691021233562},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph21","sbgnbbox":{"x":713.4639263718316,"y":229.06355211274115,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"1,3 BPG","sbgnstatesandinfos":[],"ports":[]},"position":{"x":713.4639263718316,"y":229.06355211274115},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph42","sbgnbbox":{"x":523.848994074475,"y":108.47701882803744,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ADP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":523.848994074475,"y":108.47701882803744},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph41","sbgnbbox":{"x":718.966532806447,"y":116.46683749236911,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ATP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":718.966532806447,"y":116.46683749236911},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph31","sbgnbbox":{"x":621.3138039842713,"y":145.7168752444793,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":621.3138039842713,"y":145.7168752444793},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph27","sbgnbbox":{"x":525.2099120385327,"y":210.92542274858295,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"3 PG","sbgnstatesandinfos":[],"ports":[]},"position":{"x":525.2099120385327,"y":210.92542274858295},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph32","sbgnbbox":{"x":426.3492127437995,"y":257.85665030680025,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":426.3492127437995,"y":257.85665030680025},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph28","sbgnbbox":{"x":346.30926488002945,"y":344.4562152937847,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"2 PG","sbgnstatesandinfos":[],"ports":[]},"position":{"x":346.30926488002945,"y":344.4562152937847},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph43","sbgnbbox":{"x":363.54724181648487,"y":486.5705174517715,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"H2O","sbgnstatesandinfos":[],"ports":[]},"position":{"x":363.54724181648487,"y":486.5705174517715},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph33","sbgnbbox":{"x":276.2797233955059,"y":435.0423711483709,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":269.87972487503066,"y":430.2423722580144},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph29","sbgnbbox":{"x":227.86139816113416,"y":531.824141876398,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"PEP","sbgnstatesandinfos":[],"ports":[]},"position":{"x":227.86139816113416,"y":531.824141876398},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph39","sbgnbbox":{"x":104.77693104995387,"y":691.8382969303054,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ADP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":104.77693104995387,"y":691.8382969303054},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph40","sbgnbbox":{"x":292.039416141131,"y":643.4009391289965,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"ATP","sbgnstatesandinfos":[],"sbgnclonemarker":true,"ports":[]},"position":{"x":292.039416141131,"y":643.4009391289965},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph34","sbgnbbox":{"x":193.8304385062596,"y":632.9540034207419,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":193.8304385062596,"y":632.9540034207419},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph30","sbgnbbox":{"x":205.4745704273754,"y":733.5181650652648,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"pyruvate","sbgnstatesandinfos":[],"ports":[]},"position":{"x":205.4745704273754,"y":733.5181650652648},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph14","sbgnbbox":{"x":695.1248473196924,"y":482.8828321494848,"w":"20.0","h":"20.0"},"sbgnclass":"process","sbgnstatesandinfos":[],"ports":[]},"position":{"x":695.1248473196924,"y":482.8828321494848},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"glyph5","sbgnbbox":{"x":721.6687687330186,"y":570.3868893775194,"w":"60.0","h":"60.0"},"sbgnclass":"simple chemical","sbgnlabel":"DHA-P","sbgnstatesandinfos":[],"ports":[]},"position":{"x":721.6687687330186,"y":570.3868893775194},"group":"nodes","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e22","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph9","target":"glyph8","portsource":"glyph9","porttarget":"glyph8"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e23","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph0","target":"glyph8","portsource":"glyph0","porttarget":"glyph8"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e24","sbgnclass":"production","sbgncardinality":0,"source":"glyph8","target":"glyph1","portsource":"glyph8","porttarget":"glyph1"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e25","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph6","target":"glyph8","portsource":"glyph6","porttarget":"glyph8"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e26","sbgnclass":"production","sbgncardinality":0,"source":"glyph8","target":"glyph7","portsource":"glyph8","porttarget":"glyph7"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e27","sbgnclass":"production","sbgncardinality":0,"source":"glyph11","target":"glyph12","portsource":"glyph11","porttarget":"glyph12"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e28","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph13","target":"glyph11","portsource":"glyph13","porttarget":"glyph11"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e29","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph1","target":"glyph10","portsource":"glyph1","porttarget":"glyph10"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e30","sbgnclass":"production","sbgncardinality":0,"source":"glyph10","target":"glyph2","portsource":"glyph10","porttarget":"glyph2"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e31","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph2","target":"glyph11","portsource":"glyph2","porttarget":"glyph11"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e32","sbgnclass":"production","sbgncardinality":0,"source":"glyph11","target":"glyph3","portsource":"glyph11","porttarget":"glyph3"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e33","sbgnclass":"production","sbgncardinality":0,"source":"glyph14","target":"glyph4","portsource":"glyph14","porttarget":"glyph4"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e34","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph15","target":"glyph14","portsource":"glyph15","porttarget":"glyph14"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e35","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph3","target":"glyph16","portsource":"glyph3","porttarget":"glyph16"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e36","sbgnclass":"production","sbgncardinality":0,"source":"glyph16","target":"glyph5","portsource":"glyph16","porttarget":"glyph5"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e37","sbgnclass":"production","sbgncardinality":0,"source":"glyph16","target":"glyph4","portsource":"glyph16","porttarget":"glyph4"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e38","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph17","target":"glyph10","portsource":"glyph17","porttarget":"glyph10"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e39","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph19","target":"glyph11","portsource":"glyph19","porttarget":"glyph11"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e40","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph18","target":"glyph16","portsource":"glyph18","porttarget":"glyph16"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e41","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph22","target":"glyph20","portsource":"glyph22","porttarget":"glyph20"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e42","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph4","target":"glyph20","portsource":"glyph4","porttarget":"glyph20"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e43","sbgnclass":"production","sbgncardinality":0,"source":"glyph20","target":"glyph21","portsource":"glyph20","porttarget":"glyph21"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e44","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph23","target":"glyph20","portsource":"glyph23","porttarget":"glyph20"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e45","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph24","target":"glyph20","portsource":"glyph24","porttarget":"glyph20"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e46","sbgnclass":"production","sbgncardinality":0,"source":"glyph20","target":"glyph25","portsource":"glyph20","porttarget":"glyph25"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e47","sbgnclass":"production","sbgncardinality":0,"source":"glyph20","target":"glyph26","portsource":"glyph20","porttarget":"glyph26"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e48","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph35","target":"glyph31","portsource":"glyph35","porttarget":"glyph31"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e49","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph36","target":"glyph32","portsource":"glyph36","porttarget":"glyph32"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e50","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph37","target":"glyph33","portsource":"glyph37","porttarget":"glyph33"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e51","sbgnclass":"catalysis","sbgncardinality":0,"source":"glyph38","target":"glyph34","portsource":"glyph38","porttarget":"glyph34"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e52","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph21","target":"glyph31","portsource":"glyph21","porttarget":"glyph31"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e53","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph42","target":"glyph31","portsource":"glyph42","porttarget":"glyph31"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e54","sbgnclass":"production","sbgncardinality":0,"source":"glyph31","target":"glyph41","portsource":"glyph31","porttarget":"glyph41"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e55","sbgnclass":"production","sbgncardinality":0,"source":"glyph31","target":"glyph27","portsource":"glyph31","porttarget":"glyph27"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e56","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph27","target":"glyph32","portsource":"glyph27","porttarget":"glyph32"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e57","sbgnclass":"production","sbgncardinality":0,"source":"glyph32","target":"glyph28","portsource":"glyph32","porttarget":"glyph28"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e58","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph28","target":"glyph33","portsource":"glyph28","porttarget":"glyph33"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e59","sbgnclass":"production","sbgncardinality":0,"source":"glyph33","target":"glyph43","portsource":"glyph33","porttarget":"glyph43"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e60","sbgnclass":"production","sbgncardinality":0,"source":"glyph33","target":"glyph29","portsource":"glyph33","porttarget":"glyph29"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e61","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph29","target":"glyph34","portsource":"glyph29","porttarget":"glyph34"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e62","sbgnclass":"consumption","sbgncardinality":0,"source":"glyph39","target":"glyph34","portsource":"glyph39","porttarget":"glyph34"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e63","sbgnclass":"production","sbgncardinality":0,"source":"glyph34","target":"glyph40","portsource":"glyph34","porttarget":"glyph40"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e64","sbgnclass":"production","sbgncardinality":0,"source":"glyph34","target":"glyph30","portsource":"glyph34","porttarget":"glyph30"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},{"data":{"id":"e65","sbgnclass":"production","sbgncardinality":0,"source":"glyph14","target":"glyph5","portsource":"glyph14","porttarget":"glyph5"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},
|
| 77 |
+
{"data":{"id":"e66","sbgnclass":"production","sbgncardinality":0,"source":"glyph33","target":"glyph35","portsource":"glyph33","porttarget":"glyph35"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},
|
| 78 |
+
{"data":{"id":"e67","sbgnclass":"production","sbgncardinality":0,"source":"glyph13","target":"glyph22","portsource":"glyph13","porttarget":"glyph22"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},
|
| 79 |
+
{"data":{"id":"e68","sbgnclass":"production","sbgncardinality":0,"source":"glyph17","target":"glyph6","portsource":"glyph17","porttarget":"glyph6"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""},
|
| 80 |
+
{"data":{"id":"e69","sbgnclass":"production","sbgncardinality":0,"source":"glyph25","target":"glyph27","portsource":"glyph25","porttarget":"glyph27"},"position":{},"group":"edges","removed":false,"selected":false,"selectable":true,"locked":false,"grabbed":false,"grabbable":true,"classes":""}]
|
| 81 |
+
});
|
| 82 |
+
document.getElementById("layoutButton").addEventListener("click", function(){
|
| 83 |
+
var layout = cy.layout({
|
| 84 |
+
name: 'cose-bilkent',
|
| 85 |
+
animate: 'end',
|
| 86 |
+
animationEasing: 'ease-out',
|
| 87 |
+
animationDuration: 1000,
|
| 88 |
+
randomize: true
|
| 89 |
+
});
|
| 90 |
+
|
| 91 |
+
layout.run();
|
| 92 |
+
});
|
| 93 |
+
document.getElementById("randomize").addEventListener("click", function(){
|
| 94 |
+
var layout = cy.layout({
|
| 95 |
+
name: 'random',
|
| 96 |
+
animate: true,
|
| 97 |
+
animationDuration: 1000,
|
| 98 |
+
animationEasing: 'ease-out'
|
| 99 |
+
});
|
| 100 |
+
|
| 101 |
+
layout.run();
|
| 102 |
+
});
|
| 103 |
+
});
|
| 104 |
+
</script>
|
| 105 |
+
</head>
|
| 106 |
+
|
| 107 |
+
<body>
|
| 108 |
+
<h1>cytoscape-cose-bilkent demo</h1>
|
| 109 |
+
|
| 110 |
+
<button id="randomize" type="button">Randomize</button>
|
| 111 |
+
<button id="layoutButton" type="button">CoSE-Bilkent</button>
|
| 112 |
+
|
| 113 |
+
<div id="cy"></div>
|
| 114 |
+
|
| 115 |
+
</body>
|
| 116 |
+
|
| 117 |
+
</html>
|
tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/private/private.properties
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
browser=Chrome.INTEGRATED
|
tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/project.properties
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
files.encoding=UTF-8
|
| 2 |
+
site.root.folder=
|
| 3 |
+
source.folder=
|
tools/ui/node_modules/cytoscape-cose-bilkent/nbproject/project.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project xmlns="http://www.netbeans.org/ns/project/1">
|
| 3 |
+
<type>org.netbeans.modules.web.clientproject</type>
|
| 4 |
+
<configuration>
|
| 5 |
+
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
| 6 |
+
<name>cytoscape-cose-bilkent</name>
|
| 7 |
+
</data>
|
| 8 |
+
</configuration>
|
| 9 |
+
</project>
|
tools/ui/node_modules/cytoscape-cose-bilkent/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cytoscape-cose-bilkent",
|
| 3 |
+
"version": "4.1.0",
|
| 4 |
+
"description": "The CoSE layout for Cytoscape.js by Bilkent with enhanced compound node placement",
|
| 5 |
+
"main": "cytoscape-cose-bilkent.js",
|
| 6 |
+
"scripts": {
|
| 7 |
+
"postpublish": "run-s gh-pages",
|
| 8 |
+
"gh-pages": "gh-pages -d pages",
|
| 9 |
+
"copyright": "update license",
|
| 10 |
+
"lint": "eslint src",
|
| 11 |
+
"build": "cross-env NODE_ENV=production webpack",
|
| 12 |
+
"build:min": "cross-env NODE_ENV=production MIN=true webpack",
|
| 13 |
+
"build:release": "run-s build copyright",
|
| 14 |
+
"watch": "webpack --progress --watch",
|
| 15 |
+
"dev": "webpack-dev-server --open",
|
| 16 |
+
"test": "mocha"
|
| 17 |
+
},
|
| 18 |
+
"repository": {
|
| 19 |
+
"type": "git",
|
| 20 |
+
"url": "https://github.com/cytoscape/cytoscape.js-cose-bilkent.git"
|
| 21 |
+
},
|
| 22 |
+
"keywords": [
|
| 23 |
+
"cytoscape",
|
| 24 |
+
"cytoscape-extension"
|
| 25 |
+
],
|
| 26 |
+
"license": "MIT",
|
| 27 |
+
"bugs": {
|
| 28 |
+
"url": "https://github.com/cytoscape/cytoscape.js-cose-bilkent/issues"
|
| 29 |
+
},
|
| 30 |
+
"homepage": "https://github.com/cytoscape/cytoscape.js-cose-bilkent",
|
| 31 |
+
"devDependencies": {
|
| 32 |
+
"babel-core": "^6.24.1",
|
| 33 |
+
"babel-loader": "^7.0.0",
|
| 34 |
+
"babel-preset-env": "^1.5.1",
|
| 35 |
+
"camelcase": "^4.1.0",
|
| 36 |
+
"chai": "4.0.2",
|
| 37 |
+
"cpy-cli": "^1.0.1",
|
| 38 |
+
"cross-env": "^5.0.0",
|
| 39 |
+
"eslint": "^3.9.1",
|
| 40 |
+
"gh-pages": "^1.0.0",
|
| 41 |
+
"mocha": "3.4.2",
|
| 42 |
+
"npm-run-all": "^4.1.2",
|
| 43 |
+
"rimraf": "^2.6.2",
|
| 44 |
+
"update": "^0.7.4",
|
| 45 |
+
"updater-license": "^1.0.0",
|
| 46 |
+
"webpack": "^2.6.1",
|
| 47 |
+
"webpack-dev-server": "^2.4.5"
|
| 48 |
+
},
|
| 49 |
+
"peerDependencies": {
|
| 50 |
+
"cytoscape": "^3.2.0"
|
| 51 |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict';
|
| 2 |
+
|
| 3 |
+
var LayoutConstants = require('cose-base').layoutBase.LayoutConstants;
|
| 4 |
+
var FDLayoutConstants = require('cose-base').layoutBase.FDLayoutConstants;
|
| 5 |
+
var CoSEConstants = require('cose-base').CoSEConstants;
|
| 6 |
+
var CoSELayout = require('cose-base').CoSELayout;
|
| 7 |
+
var CoSENode = require('cose-base').CoSENode;
|
| 8 |
+
var PointD = require('cose-base').layoutBase.PointD;
|
| 9 |
+
var DimensionD = require('cose-base').layoutBase.DimensionD;
|
| 10 |
+
|
| 11 |
+
var defaults = {
|
| 12 |
+
// Called on `layoutready`
|
| 13 |
+
ready: function () {
|
| 14 |
+
},
|
| 15 |
+
// Called on `layoutstop`
|
| 16 |
+
stop: function () {
|
| 17 |
+
},
|
| 18 |
+
// 'draft', 'default' or 'proof"
|
| 19 |
+
// - 'draft' fast cooling rate
|
| 20 |
+
// - 'default' moderate cooling rate
|
| 21 |
+
// - "proof" slow cooling rate
|
| 22 |
+
quality: 'default',
|
| 23 |
+
// include labels in node dimensions
|
| 24 |
+
nodeDimensionsIncludeLabels: false,
|
| 25 |
+
// number of ticks per frame; higher is faster but more jerky
|
| 26 |
+
refresh: 30,
|
| 27 |
+
// Whether to fit the network view after when done
|
| 28 |
+
fit: true,
|
| 29 |
+
// Padding on fit
|
| 30 |
+
padding: 10,
|
| 31 |
+
// Whether to enable incremental mode
|
| 32 |
+
randomize: true,
|
| 33 |
+
// Node repulsion (non overlapping) multiplier
|
| 34 |
+
nodeRepulsion: 4500,
|
| 35 |
+
// Ideal edge (non nested) length
|
| 36 |
+
idealEdgeLength: 50,
|
| 37 |
+
// Divisor to compute edge forces
|
| 38 |
+
edgeElasticity: 0.45,
|
| 39 |
+
// Nesting factor (multiplier) to compute ideal edge length for nested edges
|
| 40 |
+
nestingFactor: 0.1,
|
| 41 |
+
// Gravity force (constant)
|
| 42 |
+
gravity: 0.25,
|
| 43 |
+
// Maximum number of iterations to perform
|
| 44 |
+
numIter: 2500,
|
| 45 |
+
// For enabling tiling
|
| 46 |
+
tile: true,
|
| 47 |
+
// Type of layout animation. The option set is {'during', 'end', false}
|
| 48 |
+
animate: 'end',
|
| 49 |
+
// Duration for animate:end
|
| 50 |
+
animationDuration: 500,
|
| 51 |
+
// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
|
| 52 |
+
tilingPaddingVertical: 10,
|
| 53 |
+
// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
|
| 54 |
+
tilingPaddingHorizontal: 10,
|
| 55 |
+
// Gravity range (constant) for compounds
|
| 56 |
+
gravityRangeCompound: 1.5,
|
| 57 |
+
// Gravity force (constant) for compounds
|
| 58 |
+
gravityCompound: 1.0,
|
| 59 |
+
// Gravity range (constant)
|
| 60 |
+
gravityRange: 3.8,
|
| 61 |
+
// Initial cooling factor for incremental layout
|
| 62 |
+
initialEnergyOnIncremental: 0.5
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
function extend(defaults, options) {
|
| 66 |
+
var obj = {};
|
| 67 |
+
|
| 68 |
+
for (var i in defaults) {
|
| 69 |
+
obj[i] = defaults[i];
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
for (var i in options) {
|
| 73 |
+
obj[i] = options[i];
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
return obj;
|
| 77 |
+
};
|
| 78 |
+
|
| 79 |
+
function _CoSELayout(_options) {
|
| 80 |
+
this.options = extend(defaults, _options);
|
| 81 |
+
getUserOptions(this.options);
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
var getUserOptions = function (options) {
|
| 85 |
+
if (options.nodeRepulsion != null)
|
| 86 |
+
CoSEConstants.DEFAULT_REPULSION_STRENGTH = FDLayoutConstants.DEFAULT_REPULSION_STRENGTH = options.nodeRepulsion;
|
| 87 |
+
if (options.idealEdgeLength != null)
|
| 88 |
+
CoSEConstants.DEFAULT_EDGE_LENGTH = FDLayoutConstants.DEFAULT_EDGE_LENGTH = options.idealEdgeLength;
|
| 89 |
+
if (options.edgeElasticity != null)
|
| 90 |
+
CoSEConstants.DEFAULT_SPRING_STRENGTH = FDLayoutConstants.DEFAULT_SPRING_STRENGTH = options.edgeElasticity;
|
| 91 |
+
if (options.nestingFactor != null)
|
| 92 |
+
CoSEConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = FDLayoutConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = options.nestingFactor;
|
| 93 |
+
if (options.gravity != null)
|
| 94 |
+
CoSEConstants.DEFAULT_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_GRAVITY_STRENGTH = options.gravity;
|
| 95 |
+
if (options.numIter != null)
|
| 96 |
+
CoSEConstants.MAX_ITERATIONS = FDLayoutConstants.MAX_ITERATIONS = options.numIter;
|
| 97 |
+
if (options.gravityRange != null)
|
| 98 |
+
CoSEConstants.DEFAULT_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_GRAVITY_RANGE_FACTOR = options.gravityRange;
|
| 99 |
+
if(options.gravityCompound != null)
|
| 100 |
+
CoSEConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = options.gravityCompound;
|
| 101 |
+
if(options.gravityRangeCompound != null)
|
| 102 |
+
CoSEConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = options.gravityRangeCompound;
|
| 103 |
+
if (options.initialEnergyOnIncremental != null)
|
| 104 |
+
CoSEConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = FDLayoutConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = options.initialEnergyOnIncremental;
|
| 105 |
+
|
| 106 |
+
if (options.quality == 'draft')
|
| 107 |
+
LayoutConstants.QUALITY = 0;
|
| 108 |
+
else if(options.quality == 'proof')
|
| 109 |
+
LayoutConstants.QUALITY = 2;
|
| 110 |
+
else
|
| 111 |
+
LayoutConstants.QUALITY = 1;
|
| 112 |
+
|
| 113 |
+
CoSEConstants.NODE_DIMENSIONS_INCLUDE_LABELS = FDLayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = LayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = options.nodeDimensionsIncludeLabels;
|
| 114 |
+
CoSEConstants.DEFAULT_INCREMENTAL = FDLayoutConstants.DEFAULT_INCREMENTAL = LayoutConstants.DEFAULT_INCREMENTAL =
|
| 115 |
+
!(options.randomize);
|
| 116 |
+
CoSEConstants.ANIMATE = FDLayoutConstants.ANIMATE = LayoutConstants.ANIMATE = options.animate;
|
| 117 |
+
CoSEConstants.TILE = options.tile;
|
| 118 |
+
CoSEConstants.TILING_PADDING_VERTICAL =
|
| 119 |
+
typeof options.tilingPaddingVertical === 'function' ? options.tilingPaddingVertical.call() : options.tilingPaddingVertical;
|
| 120 |
+
CoSEConstants.TILING_PADDING_HORIZONTAL =
|
| 121 |
+
typeof options.tilingPaddingHorizontal === 'function' ? options.tilingPaddingHorizontal.call() : options.tilingPaddingHorizontal;
|
| 122 |
+
};
|
| 123 |
+
|
| 124 |
+
_CoSELayout.prototype.run = function () {
|
| 125 |
+
var ready;
|
| 126 |
+
var frameId;
|
| 127 |
+
var options = this.options;
|
| 128 |
+
var idToLNode = this.idToLNode = {};
|
| 129 |
+
var layout = this.layout = new CoSELayout();
|
| 130 |
+
var self = this;
|
| 131 |
+
|
| 132 |
+
self.stopped = false;
|
| 133 |
+
|
| 134 |
+
this.cy = this.options.cy;
|
| 135 |
+
|
| 136 |
+
this.cy.trigger({ type: 'layoutstart', layout: this });
|
| 137 |
+
|
| 138 |
+
var gm = layout.newGraphManager();
|
| 139 |
+
this.gm = gm;
|
| 140 |
+
|
| 141 |
+
var nodes = this.options.eles.nodes();
|
| 142 |
+
var edges = this.options.eles.edges();
|
| 143 |
+
|
| 144 |
+
this.root = gm.addRoot();
|
| 145 |
+
this.processChildrenList(this.root, this.getTopMostNodes(nodes), layout);
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
for (var i = 0; i < edges.length; i++) {
|
| 149 |
+
var edge = edges[i];
|
| 150 |
+
var sourceNode = this.idToLNode[edge.data("source")];
|
| 151 |
+
var targetNode = this.idToLNode[edge.data("target")];
|
| 152 |
+
if(sourceNode !== targetNode && sourceNode.getEdgesBetween(targetNode).length == 0){
|
| 153 |
+
var e1 = gm.add(layout.newEdge(), sourceNode, targetNode);
|
| 154 |
+
e1.id = edge.id();
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
var getPositions = function(ele, i){
|
| 159 |
+
if(typeof ele === "number") {
|
| 160 |
+
ele = i;
|
| 161 |
+
}
|
| 162 |
+
var theId = ele.data('id');
|
| 163 |
+
var lNode = self.idToLNode[theId];
|
| 164 |
+
|
| 165 |
+
return {
|
| 166 |
+
x: lNode.getRect().getCenterX(),
|
| 167 |
+
y: lNode.getRect().getCenterY()
|
| 168 |
+
};
|
| 169 |
+
};
|
| 170 |
+
|
| 171 |
+
/*
|
| 172 |
+
* Reposition nodes in iterations animatedly
|
| 173 |
+
*/
|
| 174 |
+
var iterateAnimated = function () {
|
| 175 |
+
// Thigs to perform after nodes are repositioned on screen
|
| 176 |
+
var afterReposition = function() {
|
| 177 |
+
if (options.fit) {
|
| 178 |
+
options.cy.fit(options.eles, options.padding);
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
if (!ready) {
|
| 182 |
+
ready = true;
|
| 183 |
+
self.cy.one('layoutready', options.ready);
|
| 184 |
+
self.cy.trigger({type: 'layoutready', layout: self});
|
| 185 |
+
}
|
| 186 |
+
};
|
| 187 |
+
|
| 188 |
+
var ticksPerFrame = self.options.refresh;
|
| 189 |
+
var isDone;
|
| 190 |
+
|
| 191 |
+
for( var i = 0; i < ticksPerFrame && !isDone; i++ ){
|
| 192 |
+
isDone = self.stopped || self.layout.tick();
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
// If layout is done
|
| 196 |
+
if (isDone) {
|
| 197 |
+
// If the layout is not a sublayout and it is successful perform post layout.
|
| 198 |
+
if (layout.checkLayoutSuccess() && !layout.isSubLayout) {
|
| 199 |
+
layout.doPostLayout();
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
// If layout has a tilingPostLayout function property call it.
|
| 203 |
+
if (layout.tilingPostLayout) {
|
| 204 |
+
layout.tilingPostLayout();
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
layout.isLayoutFinished = true;
|
| 208 |
+
|
| 209 |
+
self.options.eles.nodes().positions(getPositions);
|
| 210 |
+
|
| 211 |
+
afterReposition();
|
| 212 |
+
|
| 213 |
+
// trigger layoutstop when the layout stops (e.g. finishes)
|
| 214 |
+
self.cy.one('layoutstop', self.options.stop);
|
| 215 |
+
self.cy.trigger({ type: 'layoutstop', layout: self });
|
| 216 |
+
|
| 217 |
+
if (frameId) {
|
| 218 |
+
cancelAnimationFrame(frameId);
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
ready = false;
|
| 222 |
+
return;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
var animationData = self.layout.getPositionsData(); // Get positions of layout nodes note that all nodes may not be layout nodes because of tiling
|
| 226 |
+
|
| 227 |
+
// Position nodes, for the nodes whose id does not included in data (because they are removed from their parents and included in dummy compounds)
|
| 228 |
+
// use position of their ancestors or dummy ancestors
|
| 229 |
+
options.eles.nodes().positions(function (ele, i) {
|
| 230 |
+
if (typeof ele === "number") {
|
| 231 |
+
ele = i;
|
| 232 |
+
}
|
| 233 |
+
// If ele is a compound node, then its position will be defined by its children
|
| 234 |
+
if(!ele.isParent()){
|
| 235 |
+
var theId = ele.id();
|
| 236 |
+
var pNode = animationData[theId];
|
| 237 |
+
var temp = ele;
|
| 238 |
+
// If pNode is undefined search until finding position data of its first ancestor (It may be dummy as well)
|
| 239 |
+
while (pNode == null) {
|
| 240 |
+
pNode = animationData[temp.data('parent')] || animationData['DummyCompound_' + temp.data('parent')];
|
| 241 |
+
animationData[theId] = pNode;
|
| 242 |
+
temp = temp.parent()[0];
|
| 243 |
+
if(temp == undefined){
|
| 244 |
+
break;
|
| 245 |
+
}
|
| 246 |
+
}
|
| 247 |
+
if(pNode != null){
|
| 248 |
+
return {
|
| 249 |
+
x: pNode.x,
|
| 250 |
+
y: pNode.y
|
| 251 |
+
};
|
| 252 |
+
} else{
|
| 253 |
+
return {
|
| 254 |
+
x: ele.position('x'),
|
| 255 |
+
y: ele.position('y')
|
| 256 |
+
};
|
| 257 |
+
}
|
| 258 |
+
}
|
| 259 |
+
});
|
| 260 |
+
|
| 261 |
+
afterReposition();
|
| 262 |
+
|
| 263 |
+
frameId = requestAnimationFrame(iterateAnimated);
|
| 264 |
+
};
|
| 265 |
+
|
| 266 |
+
/*
|
| 267 |
+
* Listen 'layoutstarted' event and start animated iteration if animate option is 'during'
|
| 268 |
+
*/
|
| 269 |
+
layout.addListener('layoutstarted', function () {
|
| 270 |
+
if (self.options.animate === 'during') {
|
| 271 |
+
frameId = requestAnimationFrame(iterateAnimated);
|
| 272 |
+
}
|
| 273 |
+
});
|
| 274 |
+
|
| 275 |
+
layout.runLayout(); // Run cose layout
|
| 276 |
+
|
| 277 |
+
/*
|
| 278 |
+
* If animate option is not 'during' ('end' or false) perform these here (If it is 'during' similar things are already performed)
|
| 279 |
+
*/
|
| 280 |
+
if(this.options.animate !== "during"){
|
| 281 |
+
self.options.eles.nodes().not(":parent").layoutPositions(self, self.options, getPositions); // Use layout positions to reposition the nodes it considers the options parameter
|
| 282 |
+
ready = false;
|
| 283 |
+
}
|
| 284 |
+
|
| 285 |
+
return this; // chaining
|
| 286 |
+
};
|
| 287 |
+
|
| 288 |
+
//Get the top most ones of a list of nodes
|
| 289 |
+
_CoSELayout.prototype.getTopMostNodes = function(nodes) {
|
| 290 |
+
var nodesMap = {};
|
| 291 |
+
for (var i = 0; i < nodes.length; i++) {
|
| 292 |
+
nodesMap[nodes[i].id()] = true;
|
| 293 |
+
}
|
| 294 |
+
var roots = nodes.filter(function (ele, i) {
|
| 295 |
+
if(typeof ele === "number") {
|
| 296 |
+
ele = i;
|
| 297 |
+
}
|
| 298 |
+
var parent = ele.parent()[0];
|
| 299 |
+
while(parent != null){
|
| 300 |
+
if(nodesMap[parent.id()]){
|
| 301 |
+
return false;
|
| 302 |
+
}
|
| 303 |
+
parent = parent.parent()[0];
|
| 304 |
+
}
|
| 305 |
+
return true;
|
| 306 |
+
});
|
| 307 |
+
|
| 308 |
+
return roots;
|
| 309 |
+
};
|
| 310 |
+
|
| 311 |
+
_CoSELayout.prototype.processChildrenList = function (parent, children, layout) {
|
| 312 |
+
var size = children.length;
|
| 313 |
+
for (var i = 0; i < size; i++) {
|
| 314 |
+
var theChild = children[i];
|
| 315 |
+
var children_of_children = theChild.children();
|
| 316 |
+
var theNode;
|
| 317 |
+
|
| 318 |
+
var dimensions = theChild.layoutDimensions({
|
| 319 |
+
nodeDimensionsIncludeLabels: this.options.nodeDimensionsIncludeLabels
|
| 320 |
+
});
|
| 321 |
+
|
| 322 |
+
if (theChild.outerWidth() != null
|
| 323 |
+
&& theChild.outerHeight() != null) {
|
| 324 |
+
theNode = parent.add(new CoSENode(layout.graphManager,
|
| 325 |
+
new PointD(theChild.position('x') - dimensions.w / 2, theChild.position('y') - dimensions.h / 2),
|
| 326 |
+
new DimensionD(parseFloat(dimensions.w), parseFloat(dimensions.h))));
|
| 327 |
+
}
|
| 328 |
+
else {
|
| 329 |
+
theNode = parent.add(new CoSENode(this.graphManager));
|
| 330 |
+
}
|
| 331 |
+
// Attach id to the layout node
|
| 332 |
+
theNode.id = theChild.data("id");
|
| 333 |
+
// Attach the paddings of cy node to layout node
|
| 334 |
+
theNode.paddingLeft = parseInt( theChild.css('padding') );
|
| 335 |
+
theNode.paddingTop = parseInt( theChild.css('padding') );
|
| 336 |
+
theNode.paddingRight = parseInt( theChild.css('padding') );
|
| 337 |
+
theNode.paddingBottom = parseInt( theChild.css('padding') );
|
| 338 |
+
|
| 339 |
+
//Attach the label properties to compound if labels will be included in node dimensions
|
| 340 |
+
if(this.options.nodeDimensionsIncludeLabels){
|
| 341 |
+
if(theChild.isParent()){
|
| 342 |
+
var labelWidth = theChild.boundingBox({ includeLabels: true, includeNodes: false }).w;
|
| 343 |
+
var labelHeight = theChild.boundingBox({ includeLabels: true, includeNodes: false }).h;
|
| 344 |
+
var labelPos = theChild.css("text-halign");
|
| 345 |
+
theNode.labelWidth = labelWidth;
|
| 346 |
+
theNode.labelHeight = labelHeight;
|
| 347 |
+
theNode.labelPos = labelPos;
|
| 348 |
+
}
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
// Map the layout node
|
| 352 |
+
this.idToLNode[theChild.data("id")] = theNode;
|
| 353 |
+
|
| 354 |
+
if (isNaN(theNode.rect.x)) {
|
| 355 |
+
theNode.rect.x = 0;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
if (isNaN(theNode.rect.y)) {
|
| 359 |
+
theNode.rect.y = 0;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
if (children_of_children != null && children_of_children.length > 0) {
|
| 363 |
+
var theNewGraph;
|
| 364 |
+
theNewGraph = layout.getGraphManager().add(layout.newGraph(), theNode);
|
| 365 |
+
this.processChildrenList(theNewGraph, children_of_children, layout);
|
| 366 |
+
}
|
| 367 |
+
}
|
| 368 |
+
};
|
| 369 |
+
|
| 370 |
+
/**
|
| 371 |
+
* @brief : called on continuous layouts to stop them before they finish
|
| 372 |
+
*/
|
| 373 |
+
_CoSELayout.prototype.stop = function () {
|
| 374 |
+
this.stopped = true;
|
| 375 |
+
|
| 376 |
+
return this; // chaining
|
| 377 |
+
};
|
| 378 |
+
|
| 379 |
+
var register = function( cytoscape ){
|
| 380 |
+
// var Layout = getLayout( cytoscape );
|
| 381 |
+
|
| 382 |
+
cytoscape('layout', 'cose-bilkent', _CoSELayout);
|
| 383 |
+
};
|
| 384 |
+
|
| 385 |
+
// auto reg for globals
|
| 386 |
+
if( typeof cytoscape !== 'undefined' ){
|
| 387 |
+
register( cytoscape );
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
module.exports = register;
|
tools/ui/node_modules/cytoscape-cose-bilkent/test/example.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const chai = require('chai');
|
| 2 |
+
|
| 3 |
+
describe('This', function(){
|
| 4 |
+
it('does that', function(){
|
| 5 |
+
expect( true ).to.be.true;
|
| 6 |
+
});
|
| 7 |
+
});
|
tools/ui/node_modules/cytoscape-cose-bilkent/webpack.config.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const path = require('path');
|
| 2 |
+
const pkg = require('./package.json');
|
| 3 |
+
const camelcase = require('camelcase');
|
| 4 |
+
const process = require('process');
|
| 5 |
+
const webpack = require('webpack');
|
| 6 |
+
const env = process.env;
|
| 7 |
+
const NODE_ENV = env.NODE_ENV;
|
| 8 |
+
const MIN = env.MIN;
|
| 9 |
+
const PROD = NODE_ENV === 'production';
|
| 10 |
+
|
| 11 |
+
let config = {
|
| 12 |
+
devtool: PROD ? false : 'inline-source-map',
|
| 13 |
+
entry: './src/index.js',
|
| 14 |
+
output: {
|
| 15 |
+
path: path.join( __dirname ),
|
| 16 |
+
filename: pkg.name + '.js',
|
| 17 |
+
library: camelcase( pkg.name ),
|
| 18 |
+
libraryTarget: 'umd'
|
| 19 |
+
},
|
| 20 |
+
module: {
|
| 21 |
+
rules: [
|
| 22 |
+
{ test: /\.js$/, exclude: /node_modules/, use: 'babel-loader' }
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
externals: PROD ? {
|
| 26 |
+
'cose-base': {
|
| 27 |
+
commonjs2: 'cose-base',
|
| 28 |
+
commonjs: 'cose-base',
|
| 29 |
+
amd: 'cose-base',
|
| 30 |
+
root: 'coseBase'
|
| 31 |
+
}
|
| 32 |
+
} : {},
|
| 33 |
+
plugins: MIN ? [
|
| 34 |
+
new webpack.optimize.UglifyJsPlugin({
|
| 35 |
+
compress: {
|
| 36 |
+
warnings: false,
|
| 37 |
+
drop_console: false,
|
| 38 |
+
}
|
| 39 |
+
})
|
| 40 |
+
] : []
|
| 41 |
+
};
|
| 42 |
+
|
| 43 |
+
module.exports = config;
|
tools/ui/node_modules/cytoscape-fcose/.babelrc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"presets": ["env"]
|
| 3 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/.eslintignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
node_modules/**/*
|
tools/ui/node_modules/cytoscape-fcose/.eslintrc
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"env": {
|
| 3 |
+
"browser": true,
|
| 4 |
+
"commonjs": true,
|
| 5 |
+
"node": true,
|
| 6 |
+
"amd": true,
|
| 7 |
+
"es6": true
|
| 8 |
+
},
|
| 9 |
+
"extends": "eslint:recommended",
|
| 10 |
+
"rules": {
|
| 11 |
+
"semi": "error"
|
| 12 |
+
}
|
| 13 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/CITATION.cff
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use this software, please cite it as below."
|
| 3 |
+
authors:
|
| 4 |
+
- family-names: "Balci"
|
| 5 |
+
given-names: "Hasan"
|
| 6 |
+
orcid: "https://orcid.org/0000-0001-8319-7758"
|
| 7 |
+
- family-names: "Dogrusoz"
|
| 8 |
+
given-names: "Ugur"
|
| 9 |
+
orcid: "https://orcid.org/0000-0002-7153-0784"
|
| 10 |
+
title: "cytoscape.js-fcose"
|
| 11 |
+
version: 2.1.0
|
| 12 |
+
date-released: 2021-06-25
|
| 13 |
+
url: "https://github.com/iVis-at-Bilkent/cytoscape.js-fcose"
|
| 14 |
+
preferred-citation:
|
| 15 |
+
type: article
|
| 16 |
+
authors:
|
| 17 |
+
- family-names: "Balci"
|
| 18 |
+
given-names: "Hasan"
|
| 19 |
+
orcid: "https://orcid.org/0000-0001-8319-7758"
|
| 20 |
+
- family-names: "Dogrusoz"
|
| 21 |
+
given-names: "Ugur"
|
| 22 |
+
orcid: "https://orcid.org/0000-0002-7153-0784"
|
| 23 |
+
doi: "10.1109/TVCG.2021.3095303"
|
| 24 |
+
journal: "IEEE Transactions on Visualization and Computer Graphics"
|
| 25 |
+
title: "fCoSE: A Fast Compound Graph Layout Algorithm with Constraint Support"
|
| 26 |
+
issue: 12
|
| 27 |
+
volume: 28
|
| 28 |
+
start: 4582 # First page number
|
| 29 |
+
end: 4593 # Last page number
|
| 30 |
+
month: 12
|
| 31 |
+
year: 2022
|
tools/ui/node_modules/cytoscape-fcose/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2018 - present, iVis-at-Bilkent.
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
| 4 |
+
this software and associated documentation files (the “Software”), to deal in
|
| 5 |
+
the Software without restriction, including without limitation the rights to
|
| 6 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
| 7 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
| 8 |
+
so, subject to the following conditions:
|
| 9 |
+
|
| 10 |
+
The above copyright notice and this permission notice shall be included in all
|
| 11 |
+
copies or substantial portions of the Software.
|
| 12 |
+
|
| 13 |
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 19 |
+
SOFTWARE.
|
tools/ui/node_modules/cytoscape-fcose/README.md
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cytoscape-fcose
|
| 2 |
+
================================================================================
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
## Description
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
fCoSE (pron. "f-cosay", **f**ast **Co**mpound **S**pring **E**mbedder), is a faster version of our earlier compound spring embedder algorithm named [CoSE](https://github.com/cytoscape/cytoscape.js-cose-bilkent), implemented as a Cytoscape.js extension by [i-Vis Lab](http://cs.bilkent.edu.tr/~ivis/) in Bilkent University.
|
| 9 |
+
|
| 10 |
+
Here are some demos: **simple**, **compound**, and **constraints**, respectively:
|
| 11 |
+
<p align="center">
|
| 12 |
+
<a href="https://ivis-at-bilkent.github.io/cytoscape.js-fcose/demo/demo.html" title="Simple"><img src="https://www.cs.bilkent.edu.tr/~ivis/images/demo1.png" height=42px></a>  
|
| 13 |
+
<a href="https://ivis-at-bilkent.github.io/cytoscape.js-fcose/demo/demo-compound.html" title="Compound"><img src="https://www.cs.bilkent.edu.tr/~ivis/images/demo2.png" height=42px></a>  
|
| 14 |
+
<a href="https://ivis-at-bilkent.github.io/cytoscape.js-fcose/demo/demo-constraint.html" title="Constraints"><img src="https://www.cs.bilkent.edu.tr/~ivis/images/demo3.png" height=42px></a>
|
| 15 |
+
</p>
|
| 16 |
+
|
| 17 |
+
fCoSE layout algorithm combines the speed of spectral layout with the aesthetics of force-directed layout. fCoSE runs up to 2 times as fast as CoSE while achieving similar aesthetics.
|
| 18 |
+
|
| 19 |
+
<p align="center"><img src="demo/demo.gif" width="440"></p>
|
| 20 |
+
|
| 21 |
+
Furthermore, fCoSE also supports a fairly rich set of constraint types (i.e., fixed position, vertical/horizontal alignment and relative placement).
|
| 22 |
+
|
| 23 |
+
<p align="center"><img src="demo/incrementalConstraints.gif" width="800"></p>
|
| 24 |
+
|
| 25 |
+
You can see constraint support in action in the following videos: [fixed node](https://youtu.be/vRZVlwntzGY), [alignment](https://youtu.be/O5rddJ7DteU), [relative placement](https://youtu.be/Xcm87bT50RA), [hybrid](https://youtu.be/KRAQHmnTvUA), [real life graphs](https://youtu.be/vTPy9G2ALcI). Constraints can also be added [incrementally](https://youtu.be/DTm2WmzwP4k) on a given layout.
|
| 26 |
+
|
| 27 |
+
Please cite the following when you use this layout:
|
| 28 |
+
|
| 29 |
+
H. Balci and U. Dogrusoz, "[fCoSE: A Fast Compound Graph Layout Algorithm with Constraint Support](https://doi.org/10.1109/TVCG.2021.3095303)," in IEEE Transactions on Visualization and Computer Graphics, 28(12), pp. 4582-4593, 2022.
|
| 30 |
+
|
| 31 |
+
U. Dogrusoz, E. Giral, A. Cetintas, A. Civril and E. Demir, "[A Layout Algorithm For Undirected Compound Graphs](http://www.sciencedirect.com/science/article/pii/S0020025508004799)", Information Sciences, 179, pp. 980-994, 2009.
|
| 32 |
+
|
| 33 |
+
## Dependencies
|
| 34 |
+
|
| 35 |
+
* Cytoscape.js ^3.2.0
|
| 36 |
+
* cose-base ^2.0.0
|
| 37 |
+
* cytoscape-layout-utilities.js (optional for packing disconnected components) ^1.0.0
|
| 38 |
+
|
| 39 |
+
## Documentation
|
| 40 |
+
|
| 41 |
+
fCoSE supports user-defined placement constraints as well as its full support for compound graphs. These constraints may be defined for simple nodes. Supported constraint types are:
|
| 42 |
+
|
| 43 |
+
* **Fixed node constraint:** The user may provide *exact* desired positions for a set of nodes called *fixed nodes*. For example, in order to position node *n1* to *(x: 100, y: 200)* and node *n2* to *(x: 200, y: -300)* as a result of the layout, ```fixedNodeConstraint``` option should be set as follows:
|
| 44 |
+
|
| 45 |
+
```js
|
| 46 |
+
fixedNodeConstraint: [{nodeId: 'n1', position: {x: 100, y: 200}},
|
| 47 |
+
{nodeId: 'n2', position: {x: 200, y: -300}}],
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
* **Alignment constraint:** This constraint aims to align two or more nodes (with respect to their centers) vertically or horizontally. For example, for the vertical alignment of nodes {*n1, n2, n3*} and {*n4, n5*}, and horizontal alignment of nodes {*n2, n4*} as a result of the layout, ```alignmentConstraint``` option should be set as follows:
|
| 51 |
+
```js
|
| 52 |
+
alignmentConstraint: {vertical: [['n1', 'n2', 'n3'], ['n4', 'n5']], horizontal: [['n2', 'n4']]},
|
| 53 |
+
```
|
| 54 |
+
***Note:** Alignment constraints in a direction must be given in most compact form. Example: ```['n1', 'n2', 'n3']``` instead of ```['n1', 'n2'], ['n1', 'n3']```.*
|
| 55 |
+
|
| 56 |
+
* **Relative placement constraint:** The user may constrain the position of a node relative to another node in either vertical or horizontal direction. For example, in order to position node *n1* to be above of node *n2* by at least 100 pixels and position node *n3* to be on the left of node *n4* by at least 75 pixels as a result of the layout, ```relativePlacementConstraint``` option should be set as follows:
|
| 57 |
+
|
| 58 |
+
```js
|
| 59 |
+
relativePlacementConstraint: [{top: 'n1', bottom: 'n2', gap: 100},
|
| 60 |
+
{left: 'n3', right: 'n4', gap: 75}],
|
| 61 |
+
```
|
| 62 |
+
The `gap` property is optional. If it is omitted, average `idealEdgeLength` is used as the gap value.
|
| 63 |
+
|
| 64 |
+
## Usage instructions
|
| 65 |
+
|
| 66 |
+
Download the library:
|
| 67 |
+
* via npm: `npm install cytoscape-fcose`,
|
| 68 |
+
* via bower: `bower install cytoscape-fcose`, or
|
| 69 |
+
* via direct download in the repository (probably from a tag).
|
| 70 |
+
|
| 71 |
+
Import the library as appropriate for your project:
|
| 72 |
+
|
| 73 |
+
ES import:
|
| 74 |
+
|
| 75 |
+
```js
|
| 76 |
+
import cytoscape from 'cytoscape';
|
| 77 |
+
import fcose from 'cytoscape-fcose';
|
| 78 |
+
|
| 79 |
+
cytoscape.use( fcose );
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
CommonJS require:
|
| 83 |
+
|
| 84 |
+
```js
|
| 85 |
+
let cytoscape = require('cytoscape');
|
| 86 |
+
let fcose = require('cytoscape-fcose');
|
| 87 |
+
|
| 88 |
+
cytoscape.use( fcose ); // register extension
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
AMD:
|
| 92 |
+
|
| 93 |
+
```js
|
| 94 |
+
require(['cytoscape', 'cytoscape-fcose'], function( cytoscape, fcose ){
|
| 95 |
+
fcose( cytoscape ); // register extension
|
| 96 |
+
});
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
Plain HTML/JS has the extension registered for you automatically, because no `require()` is needed. Just add the following files:
|
| 100 |
+
|
| 101 |
+
```
|
| 102 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 103 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 104 |
+
<script src="https://unpkg.com/cytoscape-fcose/cytoscape-fcose.js"></script>
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
## API
|
| 109 |
+
|
| 110 |
+
When calling the layout, e.g. `cy.layout({ name: 'fcose', ... })`, the following options are supported:
|
| 111 |
+
|
| 112 |
+
```js
|
| 113 |
+
var defaultOptions = {
|
| 114 |
+
|
| 115 |
+
// 'draft', 'default' or 'proof'
|
| 116 |
+
// - "draft" only applies spectral layout
|
| 117 |
+
// - "default" improves the quality with incremental layout (fast cooling rate)
|
| 118 |
+
// - "proof" improves the quality with incremental layout (slow cooling rate)
|
| 119 |
+
quality: "default",
|
| 120 |
+
// Use random node positions at beginning of layout
|
| 121 |
+
// if this is set to false, then quality option must be "proof"
|
| 122 |
+
randomize: true,
|
| 123 |
+
// Whether or not to animate the layout
|
| 124 |
+
animate: true,
|
| 125 |
+
// Duration of animation in ms, if enabled
|
| 126 |
+
animationDuration: 1000,
|
| 127 |
+
// Easing of animation, if enabled
|
| 128 |
+
animationEasing: undefined,
|
| 129 |
+
// Fit the viewport to the repositioned nodes
|
| 130 |
+
fit: true,
|
| 131 |
+
// Padding around layout
|
| 132 |
+
padding: 30,
|
| 133 |
+
// Whether to include labels in node dimensions. Valid in "proof" quality
|
| 134 |
+
nodeDimensionsIncludeLabels: false,
|
| 135 |
+
// Whether or not simple nodes (non-compound nodes) are of uniform dimensions
|
| 136 |
+
uniformNodeDimensions: false,
|
| 137 |
+
// Whether to pack disconnected components - cytoscape-layout-utilities extension should be registered and initialized
|
| 138 |
+
packComponents: true,
|
| 139 |
+
// Layout step - all, transformed, enforced, cose - for debug purpose only
|
| 140 |
+
step: "all",
|
| 141 |
+
|
| 142 |
+
/* spectral layout options */
|
| 143 |
+
|
| 144 |
+
// False for random, true for greedy sampling
|
| 145 |
+
samplingType: true,
|
| 146 |
+
// Sample size to construct distance matrix
|
| 147 |
+
sampleSize: 25,
|
| 148 |
+
// Separation amount between nodes
|
| 149 |
+
nodeSeparation: 75,
|
| 150 |
+
// Power iteration tolerance
|
| 151 |
+
piTol: 0.0000001,
|
| 152 |
+
|
| 153 |
+
/* incremental layout options */
|
| 154 |
+
|
| 155 |
+
// Node repulsion (non overlapping) multiplier
|
| 156 |
+
nodeRepulsion: node => 4500,
|
| 157 |
+
// Ideal edge (non nested) length
|
| 158 |
+
idealEdgeLength: edge => 50,
|
| 159 |
+
// Divisor to compute edge forces
|
| 160 |
+
edgeElasticity: edge => 0.45,
|
| 161 |
+
// Nesting factor (multiplier) to compute ideal edge length for nested edges
|
| 162 |
+
nestingFactor: 0.1,
|
| 163 |
+
// Maximum number of iterations to perform - this is a suggested value and might be adjusted by the algorithm as required
|
| 164 |
+
numIter: 2500,
|
| 165 |
+
// For enabling tiling
|
| 166 |
+
tile: true,
|
| 167 |
+
// The comparison function to be used while sorting nodes during tiling operation.
|
| 168 |
+
// Takes the ids of 2 nodes that will be compared as a parameter and the default tiling operation is performed when this option is not set.
|
| 169 |
+
// It works similar to ``compareFunction`` parameter of ``Array.prototype.sort()``
|
| 170 |
+
// If node1 is less then node2 by some ordering criterion ``tilingCompareBy(nodeId1, nodeId2)`` must return a negative value
|
| 171 |
+
// If node1 is greater then node2 by some ordering criterion ``tilingCompareBy(nodeId1, nodeId2)`` must return a positive value
|
| 172 |
+
// If node1 is equal to node2 by some ordering criterion ``tilingCompareBy(nodeId1, nodeId2)`` must return 0
|
| 173 |
+
tilingCompareBy: undefined,
|
| 174 |
+
// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
|
| 175 |
+
tilingPaddingVertical: 10,
|
| 176 |
+
// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
|
| 177 |
+
tilingPaddingHorizontal: 10,
|
| 178 |
+
// Gravity force (constant)
|
| 179 |
+
gravity: 0.25,
|
| 180 |
+
// Gravity range (constant) for compounds
|
| 181 |
+
gravityRangeCompound: 1.5,
|
| 182 |
+
// Gravity force (constant) for compounds
|
| 183 |
+
gravityCompound: 1.0,
|
| 184 |
+
// Gravity range (constant)
|
| 185 |
+
gravityRange: 3.8,
|
| 186 |
+
// Initial cooling factor for incremental layout
|
| 187 |
+
initialEnergyOnIncremental: 0.3,
|
| 188 |
+
|
| 189 |
+
/* constraint options */
|
| 190 |
+
|
| 191 |
+
// Fix desired nodes to predefined positions
|
| 192 |
+
// [{nodeId: 'n1', position: {x: 100, y: 200}}, {...}]
|
| 193 |
+
fixedNodeConstraint: undefined,
|
| 194 |
+
// Align desired nodes in vertical/horizontal direction
|
| 195 |
+
// {vertical: [['n1', 'n2'], [...]], horizontal: [['n2', 'n4'], [...]]}
|
| 196 |
+
alignmentConstraint: undefined,
|
| 197 |
+
// Place two nodes relatively in vertical/horizontal direction
|
| 198 |
+
// [{top: 'n1', bottom: 'n2', gap: 100}, {left: 'n3', right: 'n4', gap: 75}, {...}]
|
| 199 |
+
relativePlacementConstraint: undefined,
|
| 200 |
+
|
| 201 |
+
/* layout event callbacks */
|
| 202 |
+
ready: () => {}, // on layoutready
|
| 203 |
+
stop: () => {} // on layoutstop
|
| 204 |
+
};
|
| 205 |
+
```
|
| 206 |
+
To be able to use `packComponents` option, `cytoscape-layout-utilities` extension should also be registered in the application.
|
| 207 |
+
Packing related [options](https://github.com/iVis-at-Bilkent/cytoscape.js-layout-utilities#default-options) should be set via `cytoscape-layout-utilities` extension.
|
| 208 |
+
If they are not set, fCoSE uses default options.
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
## Build targets
|
| 212 |
+
|
| 213 |
+
* `npm run test` : Run Mocha tests in `./test`
|
| 214 |
+
* `npm run build` : Build `./src/**` into `cytoscape-fcose.js`
|
| 215 |
+
* `npm run watch` : Automatically build on changes with live reloading (N.b. you must already have an HTTP server running)
|
| 216 |
+
* `npm run dev` : Automatically build on changes with live reloading with webpack dev server
|
| 217 |
+
* `npm run lint` : Run eslint on the source
|
| 218 |
+
|
| 219 |
+
N.b. all builds use babel, so modern ES features can be used in the `src`.
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
## Publishing instructions
|
| 223 |
+
|
| 224 |
+
This project is set up to automatically be published to npm and bower. To publish:
|
| 225 |
+
|
| 226 |
+
1. Build the extension : `npm run build:release`
|
| 227 |
+
1. Commit the build : `git commit -am "Build for release"`
|
| 228 |
+
1. Bump the version number and tag: `npm version major|minor|patch`
|
| 229 |
+
1. Push to origin: `git push && git push --tags`
|
| 230 |
+
1. Publish to npm: `npm publish .`
|
| 231 |
+
1. If publishing to bower for the first time, you'll need to run `bower register cytoscape-fcose https://github.com/iVis-at-Bilkent/cytoscape.js-fcose.git`
|
| 232 |
+
1. [Make a new release](https://github.com/iVis-at-Bilkent/cytoscape.js-fcose/releases/new) for Zenodo.
|
| 233 |
+
|
| 234 |
+
## Team
|
| 235 |
+
|
| 236 |
+
* [Hasan Balcı](https://github.com/hasanbalci) and [Ugur Dogrusoz](https://github.com/ugurdogrusoz) of [i-Vis at Bilkent University](http://www.cs.bilkent.edu.tr/~ivis)
|
tools/ui/node_modules/cytoscape-fcose/bower.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cytoscape-fcose",
|
| 3 |
+
"description": "The fCoSE layout for Cytoscape.js by Bilkent with fast compound node placement",
|
| 4 |
+
"main": "cytoscape-fcose.js",
|
| 5 |
+
"dependencies": {
|
| 6 |
+
"cytoscape": "^3.2.0",
|
| 7 |
+
"cose-base": "^1.0.0"
|
| 8 |
+
},
|
| 9 |
+
"repository": {
|
| 10 |
+
"type": "git",
|
| 11 |
+
"url": "https://github.com/iVis-at-Bilkent/cytoscape.js-fcose.git"
|
| 12 |
+
},
|
| 13 |
+
"ignore": [
|
| 14 |
+
"**/.*",
|
| 15 |
+
"node_modules",
|
| 16 |
+
"bower_components",
|
| 17 |
+
"test",
|
| 18 |
+
"tests"
|
| 19 |
+
],
|
| 20 |
+
"keywords": [
|
| 21 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
| 2 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
| 3 |
+
module.exports = factory(require("cose-base"));
|
| 4 |
+
else if(typeof define === 'function' && define.amd)
|
| 5 |
+
define(["cose-base"], factory);
|
| 6 |
+
else if(typeof exports === 'object')
|
| 7 |
+
exports["cytoscapeFcose"] = factory(require("cose-base"));
|
| 8 |
+
else
|
| 9 |
+
root["cytoscapeFcose"] = factory(root["coseBase"]);
|
| 10 |
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__140__) {
|
| 11 |
+
return /******/ (() => { // webpackBootstrap
|
| 12 |
+
/******/ "use strict";
|
| 13 |
+
/******/ var __webpack_modules__ = ({
|
| 14 |
+
|
| 15 |
+
/***/ 658:
|
| 16 |
+
/***/ ((module) => {
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
// Simple, internal Object.assign() polyfill for options objects etc.
|
| 21 |
+
|
| 22 |
+
module.exports = Object.assign != null ? Object.assign.bind(Object) : function (tgt) {
|
| 23 |
+
for (var _len = arguments.length, srcs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
| 24 |
+
srcs[_key - 1] = arguments[_key];
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
srcs.forEach(function (src) {
|
| 28 |
+
Object.keys(src).forEach(function (k) {
|
| 29 |
+
return tgt[k] = src[k];
|
| 30 |
+
});
|
| 31 |
+
});
|
| 32 |
+
|
| 33 |
+
return tgt;
|
| 34 |
+
};
|
| 35 |
+
|
| 36 |
+
/***/ }),
|
| 37 |
+
|
| 38 |
+
/***/ 548:
|
| 39 |
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
|
| 44 |
+
|
| 45 |
+
/*
|
| 46 |
+
* Auxiliary functions
|
| 47 |
+
*/
|
| 48 |
+
|
| 49 |
+
var LinkedList = __webpack_require__(140).layoutBase.LinkedList;
|
| 50 |
+
|
| 51 |
+
var auxiliary = {};
|
| 52 |
+
|
| 53 |
+
// get the top most nodes
|
| 54 |
+
auxiliary.getTopMostNodes = function (nodes) {
|
| 55 |
+
var nodesMap = {};
|
| 56 |
+
for (var i = 0; i < nodes.length; i++) {
|
| 57 |
+
nodesMap[nodes[i].id()] = true;
|
| 58 |
+
}
|
| 59 |
+
var roots = nodes.filter(function (ele, i) {
|
| 60 |
+
if (typeof ele === "number") {
|
| 61 |
+
ele = i;
|
| 62 |
+
}
|
| 63 |
+
var parent = ele.parent()[0];
|
| 64 |
+
while (parent != null) {
|
| 65 |
+
if (nodesMap[parent.id()]) {
|
| 66 |
+
return false;
|
| 67 |
+
}
|
| 68 |
+
parent = parent.parent()[0];
|
| 69 |
+
}
|
| 70 |
+
return true;
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
return roots;
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
// find disconnected components and create dummy nodes that connect them
|
| 77 |
+
auxiliary.connectComponents = function (cy, eles, topMostNodes, dummyNodes) {
|
| 78 |
+
var queue = new LinkedList();
|
| 79 |
+
var visited = new Set();
|
| 80 |
+
var visitedTopMostNodes = [];
|
| 81 |
+
var currentNeighbor = void 0;
|
| 82 |
+
var minDegreeNode = void 0;
|
| 83 |
+
var minDegree = void 0;
|
| 84 |
+
|
| 85 |
+
var isConnected = false;
|
| 86 |
+
var count = 1;
|
| 87 |
+
var nodesConnectedToDummy = [];
|
| 88 |
+
var components = [];
|
| 89 |
+
|
| 90 |
+
var _loop = function _loop() {
|
| 91 |
+
var cmpt = cy.collection();
|
| 92 |
+
components.push(cmpt);
|
| 93 |
+
|
| 94 |
+
var currentNode = topMostNodes[0];
|
| 95 |
+
var childrenOfCurrentNode = cy.collection();
|
| 96 |
+
childrenOfCurrentNode.merge(currentNode).merge(currentNode.descendants().intersection(eles));
|
| 97 |
+
visitedTopMostNodes.push(currentNode);
|
| 98 |
+
|
| 99 |
+
childrenOfCurrentNode.forEach(function (node) {
|
| 100 |
+
queue.push(node);
|
| 101 |
+
visited.add(node);
|
| 102 |
+
cmpt.merge(node);
|
| 103 |
+
});
|
| 104 |
+
|
| 105 |
+
var _loop2 = function _loop2() {
|
| 106 |
+
currentNode = queue.shift();
|
| 107 |
+
|
| 108 |
+
// Traverse all neighbors of this node
|
| 109 |
+
var neighborNodes = cy.collection();
|
| 110 |
+
currentNode.neighborhood().nodes().forEach(function (node) {
|
| 111 |
+
if (eles.intersection(currentNode.edgesWith(node)).length > 0) {
|
| 112 |
+
neighborNodes.merge(node);
|
| 113 |
+
}
|
| 114 |
+
});
|
| 115 |
+
|
| 116 |
+
for (var i = 0; i < neighborNodes.length; i++) {
|
| 117 |
+
var neighborNode = neighborNodes[i];
|
| 118 |
+
currentNeighbor = topMostNodes.intersection(neighborNode.union(neighborNode.ancestors()));
|
| 119 |
+
if (currentNeighbor != null && !visited.has(currentNeighbor[0])) {
|
| 120 |
+
var childrenOfNeighbor = currentNeighbor.union(currentNeighbor.descendants());
|
| 121 |
+
|
| 122 |
+
childrenOfNeighbor.forEach(function (node) {
|
| 123 |
+
queue.push(node);
|
| 124 |
+
visited.add(node);
|
| 125 |
+
cmpt.merge(node);
|
| 126 |
+
if (topMostNodes.has(node)) {
|
| 127 |
+
visitedTopMostNodes.push(node);
|
| 128 |
+
}
|
| 129 |
+
});
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
};
|
| 133 |
+
|
| 134 |
+
while (queue.length != 0) {
|
| 135 |
+
_loop2();
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
cmpt.forEach(function (node) {
|
| 139 |
+
eles.intersection(node.connectedEdges()).forEach(function (e) {
|
| 140 |
+
// connectedEdges() usually cached
|
| 141 |
+
if (cmpt.has(e.source()) && cmpt.has(e.target())) {
|
| 142 |
+
// has() is cheap
|
| 143 |
+
cmpt.merge(e);
|
| 144 |
+
}
|
| 145 |
+
});
|
| 146 |
+
});
|
| 147 |
+
|
| 148 |
+
if (visitedTopMostNodes.length == topMostNodes.length) {
|
| 149 |
+
isConnected = true;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
if (!isConnected || isConnected && count > 1) {
|
| 153 |
+
minDegreeNode = visitedTopMostNodes[0];
|
| 154 |
+
minDegree = minDegreeNode.connectedEdges().length;
|
| 155 |
+
visitedTopMostNodes.forEach(function (node) {
|
| 156 |
+
if (node.connectedEdges().length < minDegree) {
|
| 157 |
+
minDegree = node.connectedEdges().length;
|
| 158 |
+
minDegreeNode = node;
|
| 159 |
+
}
|
| 160 |
+
});
|
| 161 |
+
nodesConnectedToDummy.push(minDegreeNode.id());
|
| 162 |
+
// TO DO: Check efficiency of this part
|
| 163 |
+
var temp = cy.collection();
|
| 164 |
+
temp.merge(visitedTopMostNodes[0]);
|
| 165 |
+
visitedTopMostNodes.forEach(function (node) {
|
| 166 |
+
temp.merge(node);
|
| 167 |
+
});
|
| 168 |
+
visitedTopMostNodes = [];
|
| 169 |
+
topMostNodes = topMostNodes.difference(temp);
|
| 170 |
+
count++;
|
| 171 |
+
}
|
| 172 |
+
};
|
| 173 |
+
|
| 174 |
+
do {
|
| 175 |
+
_loop();
|
| 176 |
+
} while (!isConnected);
|
| 177 |
+
|
| 178 |
+
if (dummyNodes) {
|
| 179 |
+
if (nodesConnectedToDummy.length > 0) {
|
| 180 |
+
dummyNodes.set('dummy' + (dummyNodes.size + 1), nodesConnectedToDummy);
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
return components;
|
| 184 |
+
};
|
| 185 |
+
|
| 186 |
+
// relocates componentResult to originalCenter if there is no fixedNodeConstraint
|
| 187 |
+
auxiliary.relocateComponent = function (originalCenter, componentResult, options) {
|
| 188 |
+
if (!options.fixedNodeConstraint) {
|
| 189 |
+
var minXCoord = Number.POSITIVE_INFINITY;
|
| 190 |
+
var maxXCoord = Number.NEGATIVE_INFINITY;
|
| 191 |
+
var minYCoord = Number.POSITIVE_INFINITY;
|
| 192 |
+
var maxYCoord = Number.NEGATIVE_INFINITY;
|
| 193 |
+
if (options.quality == "draft") {
|
| 194 |
+
// calculate current bounding box
|
| 195 |
+
var _iteratorNormalCompletion = true;
|
| 196 |
+
var _didIteratorError = false;
|
| 197 |
+
var _iteratorError = undefined;
|
| 198 |
+
|
| 199 |
+
try {
|
| 200 |
+
for (var _iterator = componentResult.nodeIndexes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
| 201 |
+
var _ref = _step.value;
|
| 202 |
+
|
| 203 |
+
var _ref2 = _slicedToArray(_ref, 2);
|
| 204 |
+
|
| 205 |
+
var key = _ref2[0];
|
| 206 |
+
var value = _ref2[1];
|
| 207 |
+
|
| 208 |
+
var cyNode = options.cy.getElementById(key);
|
| 209 |
+
if (cyNode) {
|
| 210 |
+
var nodeBB = cyNode.boundingBox();
|
| 211 |
+
var leftX = componentResult.xCoords[value] - nodeBB.w / 2;
|
| 212 |
+
var rightX = componentResult.xCoords[value] + nodeBB.w / 2;
|
| 213 |
+
var topY = componentResult.yCoords[value] - nodeBB.h / 2;
|
| 214 |
+
var bottomY = componentResult.yCoords[value] + nodeBB.h / 2;
|
| 215 |
+
|
| 216 |
+
if (leftX < minXCoord) minXCoord = leftX;
|
| 217 |
+
if (rightX > maxXCoord) maxXCoord = rightX;
|
| 218 |
+
if (topY < minYCoord) minYCoord = topY;
|
| 219 |
+
if (bottomY > maxYCoord) maxYCoord = bottomY;
|
| 220 |
+
}
|
| 221 |
+
}
|
| 222 |
+
// find difference between current and original center
|
| 223 |
+
} catch (err) {
|
| 224 |
+
_didIteratorError = true;
|
| 225 |
+
_iteratorError = err;
|
| 226 |
+
} finally {
|
| 227 |
+
try {
|
| 228 |
+
if (!_iteratorNormalCompletion && _iterator.return) {
|
| 229 |
+
_iterator.return();
|
| 230 |
+
}
|
| 231 |
+
} finally {
|
| 232 |
+
if (_didIteratorError) {
|
| 233 |
+
throw _iteratorError;
|
| 234 |
+
}
|
| 235 |
+
}
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
var diffOnX = originalCenter.x - (maxXCoord + minXCoord) / 2;
|
| 239 |
+
var diffOnY = originalCenter.y - (maxYCoord + minYCoord) / 2;
|
| 240 |
+
// move component to original center
|
| 241 |
+
componentResult.xCoords = componentResult.xCoords.map(function (x) {
|
| 242 |
+
return x + diffOnX;
|
| 243 |
+
});
|
| 244 |
+
componentResult.yCoords = componentResult.yCoords.map(function (y) {
|
| 245 |
+
return y + diffOnY;
|
| 246 |
+
});
|
| 247 |
+
} else {
|
| 248 |
+
// calculate current bounding box
|
| 249 |
+
Object.keys(componentResult).forEach(function (item) {
|
| 250 |
+
var node = componentResult[item];
|
| 251 |
+
var leftX = node.getRect().x;
|
| 252 |
+
var rightX = node.getRect().x + node.getRect().width;
|
| 253 |
+
var topY = node.getRect().y;
|
| 254 |
+
var bottomY = node.getRect().y + node.getRect().height;
|
| 255 |
+
|
| 256 |
+
if (leftX < minXCoord) minXCoord = leftX;
|
| 257 |
+
if (rightX > maxXCoord) maxXCoord = rightX;
|
| 258 |
+
if (topY < minYCoord) minYCoord = topY;
|
| 259 |
+
if (bottomY > maxYCoord) maxYCoord = bottomY;
|
| 260 |
+
});
|
| 261 |
+
// find difference between current and original center
|
| 262 |
+
var _diffOnX = originalCenter.x - (maxXCoord + minXCoord) / 2;
|
| 263 |
+
var _diffOnY = originalCenter.y - (maxYCoord + minYCoord) / 2;
|
| 264 |
+
// move component to original center
|
| 265 |
+
Object.keys(componentResult).forEach(function (item) {
|
| 266 |
+
var node = componentResult[item];
|
| 267 |
+
node.setCenter(node.getCenterX() + _diffOnX, node.getCenterY() + _diffOnY);
|
| 268 |
+
});
|
| 269 |
+
}
|
| 270 |
+
}
|
| 271 |
+
};
|
| 272 |
+
|
| 273 |
+
auxiliary.calcBoundingBox = function (parentNode, xCoords, yCoords, nodeIndexes) {
|
| 274 |
+
// calculate bounds
|
| 275 |
+
var left = Number.MAX_SAFE_INTEGER;
|
| 276 |
+
var right = Number.MIN_SAFE_INTEGER;
|
| 277 |
+
var top = Number.MAX_SAFE_INTEGER;
|
| 278 |
+
var bottom = Number.MIN_SAFE_INTEGER;
|
| 279 |
+
var nodeLeft = void 0;
|
| 280 |
+
var nodeRight = void 0;
|
| 281 |
+
var nodeTop = void 0;
|
| 282 |
+
var nodeBottom = void 0;
|
| 283 |
+
|
| 284 |
+
var nodes = parentNode.descendants().not(":parent");
|
| 285 |
+
var s = nodes.length;
|
| 286 |
+
for (var i = 0; i < s; i++) {
|
| 287 |
+
var node = nodes[i];
|
| 288 |
+
|
| 289 |
+
nodeLeft = xCoords[nodeIndexes.get(node.id())] - node.width() / 2;
|
| 290 |
+
nodeRight = xCoords[nodeIndexes.get(node.id())] + node.width() / 2;
|
| 291 |
+
nodeTop = yCoords[nodeIndexes.get(node.id())] - node.height() / 2;
|
| 292 |
+
nodeBottom = yCoords[nodeIndexes.get(node.id())] + node.height() / 2;
|
| 293 |
+
|
| 294 |
+
if (left > nodeLeft) {
|
| 295 |
+
left = nodeLeft;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
if (right < nodeRight) {
|
| 299 |
+
right = nodeRight;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
if (top > nodeTop) {
|
| 303 |
+
top = nodeTop;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
if (bottom < nodeBottom) {
|
| 307 |
+
bottom = nodeBottom;
|
| 308 |
+
}
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
var boundingBox = {};
|
| 312 |
+
boundingBox.topLeftX = left;
|
| 313 |
+
boundingBox.topLeftY = top;
|
| 314 |
+
boundingBox.width = right - left;
|
| 315 |
+
boundingBox.height = bottom - top;
|
| 316 |
+
return boundingBox;
|
| 317 |
+
};
|
| 318 |
+
|
| 319 |
+
// This function finds and returns parent nodes whose all children are hidden
|
| 320 |
+
auxiliary.calcParentsWithoutChildren = function (cy, eles) {
|
| 321 |
+
var parentsWithoutChildren = cy.collection();
|
| 322 |
+
eles.nodes(':parent').forEach(function (parent) {
|
| 323 |
+
var check = false;
|
| 324 |
+
parent.children().forEach(function (child) {
|
| 325 |
+
if (child.css('display') != 'none') {
|
| 326 |
+
check = true;
|
| 327 |
+
}
|
| 328 |
+
});
|
| 329 |
+
if (!check) {
|
| 330 |
+
parentsWithoutChildren.merge(parent);
|
| 331 |
+
}
|
| 332 |
+
});
|
| 333 |
+
|
| 334 |
+
return parentsWithoutChildren;
|
| 335 |
+
};
|
| 336 |
+
|
| 337 |
+
module.exports = auxiliary;
|
| 338 |
+
|
| 339 |
+
/***/ }),
|
| 340 |
+
|
| 341 |
+
/***/ 816:
|
| 342 |
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
/**
|
| 347 |
+
The implementation of the postprocessing part that applies CoSE layout over the spectral layout
|
| 348 |
+
*/
|
| 349 |
+
|
| 350 |
+
var aux = __webpack_require__(548);
|
| 351 |
+
var CoSELayout = __webpack_require__(140).CoSELayout;
|
| 352 |
+
var CoSENode = __webpack_require__(140).CoSENode;
|
| 353 |
+
var PointD = __webpack_require__(140).layoutBase.PointD;
|
| 354 |
+
var DimensionD = __webpack_require__(140).layoutBase.DimensionD;
|
| 355 |
+
var LayoutConstants = __webpack_require__(140).layoutBase.LayoutConstants;
|
| 356 |
+
var FDLayoutConstants = __webpack_require__(140).layoutBase.FDLayoutConstants;
|
| 357 |
+
var CoSEConstants = __webpack_require__(140).CoSEConstants;
|
| 358 |
+
|
| 359 |
+
// main function that cose layout is processed
|
| 360 |
+
var coseLayout = function coseLayout(options, spectralResult) {
|
| 361 |
+
|
| 362 |
+
var cy = options.cy;
|
| 363 |
+
var eles = options.eles;
|
| 364 |
+
var nodes = eles.nodes();
|
| 365 |
+
var edges = eles.edges();
|
| 366 |
+
|
| 367 |
+
var nodeIndexes = void 0;
|
| 368 |
+
var xCoords = void 0;
|
| 369 |
+
var yCoords = void 0;
|
| 370 |
+
var idToLNode = {};
|
| 371 |
+
|
| 372 |
+
if (options.randomize) {
|
| 373 |
+
nodeIndexes = spectralResult["nodeIndexes"];
|
| 374 |
+
xCoords = spectralResult["xCoords"];
|
| 375 |
+
yCoords = spectralResult["yCoords"];
|
| 376 |
+
}
|
| 377 |
+
|
| 378 |
+
var isFn = function isFn(fn) {
|
| 379 |
+
return typeof fn === 'function';
|
| 380 |
+
};
|
| 381 |
+
|
| 382 |
+
var optFn = function optFn(opt, ele) {
|
| 383 |
+
if (isFn(opt)) {
|
| 384 |
+
return opt(ele);
|
| 385 |
+
} else {
|
| 386 |
+
return opt;
|
| 387 |
+
}
|
| 388 |
+
};
|
| 389 |
+
|
| 390 |
+
/**** Postprocessing functions ****/
|
| 391 |
+
|
| 392 |
+
var parentsWithoutChildren = aux.calcParentsWithoutChildren(cy, eles);
|
| 393 |
+
|
| 394 |
+
// transfer cytoscape nodes to cose nodes
|
| 395 |
+
var processChildrenList = function processChildrenList(parent, children, layout, options) {
|
| 396 |
+
var size = children.length;
|
| 397 |
+
for (var i = 0; i < size; i++) {
|
| 398 |
+
var theChild = children[i];
|
| 399 |
+
var children_of_children = null;
|
| 400 |
+
if (theChild.intersection(parentsWithoutChildren).length == 0) {
|
| 401 |
+
children_of_children = theChild.children();
|
| 402 |
+
}
|
| 403 |
+
var theNode = void 0;
|
| 404 |
+
|
| 405 |
+
var dimensions = theChild.layoutDimensions({
|
| 406 |
+
nodeDimensionsIncludeLabels: options.nodeDimensionsIncludeLabels
|
| 407 |
+
});
|
| 408 |
+
|
| 409 |
+
if (theChild.outerWidth() != null && theChild.outerHeight() != null) {
|
| 410 |
+
if (options.randomize) {
|
| 411 |
+
if (!theChild.isParent()) {
|
| 412 |
+
theNode = parent.add(new CoSENode(layout.graphManager, new PointD(xCoords[nodeIndexes.get(theChild.id())] - dimensions.w / 2, yCoords[nodeIndexes.get(theChild.id())] - dimensions.h / 2), new DimensionD(parseFloat(dimensions.w), parseFloat(dimensions.h))));
|
| 413 |
+
} else {
|
| 414 |
+
var parentInfo = aux.calcBoundingBox(theChild, xCoords, yCoords, nodeIndexes);
|
| 415 |
+
if (theChild.intersection(parentsWithoutChildren).length == 0) {
|
| 416 |
+
theNode = parent.add(new CoSENode(layout.graphManager, new PointD(parentInfo.topLeftX, parentInfo.topLeftY), new DimensionD(parentInfo.width, parentInfo.height)));
|
| 417 |
+
} else {
|
| 418 |
+
// for the parentsWithoutChildren
|
| 419 |
+
theNode = parent.add(new CoSENode(layout.graphManager, new PointD(parentInfo.topLeftX, parentInfo.topLeftY), new DimensionD(parseFloat(dimensions.w), parseFloat(dimensions.h))));
|
| 420 |
+
}
|
| 421 |
+
}
|
| 422 |
+
} else {
|
| 423 |
+
theNode = parent.add(new CoSENode(layout.graphManager, new PointD(theChild.position('x') - dimensions.w / 2, theChild.position('y') - dimensions.h / 2), new DimensionD(parseFloat(dimensions.w), parseFloat(dimensions.h))));
|
| 424 |
+
}
|
| 425 |
+
} else {
|
| 426 |
+
theNode = parent.add(new CoSENode(this.graphManager));
|
| 427 |
+
}
|
| 428 |
+
// Attach id to the layout node and repulsion value
|
| 429 |
+
theNode.id = theChild.data("id");
|
| 430 |
+
theNode.nodeRepulsion = optFn(options.nodeRepulsion, theChild);
|
| 431 |
+
// Attach the paddings of cy node to layout node
|
| 432 |
+
theNode.paddingLeft = parseInt(theChild.css('padding'));
|
| 433 |
+
theNode.paddingTop = parseInt(theChild.css('padding'));
|
| 434 |
+
theNode.paddingRight = parseInt(theChild.css('padding'));
|
| 435 |
+
theNode.paddingBottom = parseInt(theChild.css('padding'));
|
| 436 |
+
|
| 437 |
+
//Attach the label properties to both compound and simple nodes if labels will be included in node dimensions
|
| 438 |
+
//These properties will be used while updating bounds of compounds during iterations or tiling
|
| 439 |
+
//and will be used for simple nodes while transferring final positions to cytoscape
|
| 440 |
+
if (options.nodeDimensionsIncludeLabels) {
|
| 441 |
+
theNode.labelWidth = theChild.boundingBox({ includeLabels: true, includeNodes: false, includeOverlays: false }).w;
|
| 442 |
+
theNode.labelHeight = theChild.boundingBox({ includeLabels: true, includeNodes: false, includeOverlays: false }).h;
|
| 443 |
+
theNode.labelPosVertical = theChild.css("text-valign");
|
| 444 |
+
theNode.labelPosHorizontal = theChild.css("text-halign");
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
// Map the layout node
|
| 448 |
+
idToLNode[theChild.data("id")] = theNode;
|
| 449 |
+
|
| 450 |
+
if (isNaN(theNode.rect.x)) {
|
| 451 |
+
theNode.rect.x = 0;
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
if (isNaN(theNode.rect.y)) {
|
| 455 |
+
theNode.rect.y = 0;
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
if (children_of_children != null && children_of_children.length > 0) {
|
| 459 |
+
var theNewGraph = void 0;
|
| 460 |
+
theNewGraph = layout.getGraphManager().add(layout.newGraph(), theNode);
|
| 461 |
+
processChildrenList(theNewGraph, children_of_children, layout, options);
|
| 462 |
+
}
|
| 463 |
+
}
|
| 464 |
+
};
|
| 465 |
+
|
| 466 |
+
// transfer cytoscape edges to cose edges
|
| 467 |
+
var processEdges = function processEdges(layout, gm, edges) {
|
| 468 |
+
var idealLengthTotal = 0;
|
| 469 |
+
var edgeCount = 0;
|
| 470 |
+
for (var i = 0; i < edges.length; i++) {
|
| 471 |
+
var edge = edges[i];
|
| 472 |
+
var sourceNode = idToLNode[edge.data("source")];
|
| 473 |
+
var targetNode = idToLNode[edge.data("target")];
|
| 474 |
+
if (sourceNode && targetNode && sourceNode !== targetNode && sourceNode.getEdgesBetween(targetNode).length == 0) {
|
| 475 |
+
var e1 = gm.add(layout.newEdge(), sourceNode, targetNode);
|
| 476 |
+
e1.id = edge.id();
|
| 477 |
+
e1.idealLength = optFn(options.idealEdgeLength, edge);
|
| 478 |
+
e1.edgeElasticity = optFn(options.edgeElasticity, edge);
|
| 479 |
+
idealLengthTotal += e1.idealLength;
|
| 480 |
+
edgeCount++;
|
| 481 |
+
}
|
| 482 |
+
}
|
| 483 |
+
// we need to update the ideal edge length constant with the avg. ideal length value after processing edges
|
| 484 |
+
// in case there is no edge, use other options
|
| 485 |
+
if (options.idealEdgeLength != null) {
|
| 486 |
+
if (edgeCount > 0) CoSEConstants.DEFAULT_EDGE_LENGTH = FDLayoutConstants.DEFAULT_EDGE_LENGTH = idealLengthTotal / edgeCount;else if (!isFn(options.idealEdgeLength)) // in case there is no edge, but option gives a value to use
|
| 487 |
+
CoSEConstants.DEFAULT_EDGE_LENGTH = FDLayoutConstants.DEFAULT_EDGE_LENGTH = options.idealEdgeLength;else // in case there is no edge and we cannot get a value from option (because it's a function)
|
| 488 |
+
CoSEConstants.DEFAULT_EDGE_LENGTH = FDLayoutConstants.DEFAULT_EDGE_LENGTH = 50;
|
| 489 |
+
// we need to update these constant values based on the ideal edge length constant
|
| 490 |
+
CoSEConstants.MIN_REPULSION_DIST = FDLayoutConstants.MIN_REPULSION_DIST = FDLayoutConstants.DEFAULT_EDGE_LENGTH / 10.0;
|
| 491 |
+
CoSEConstants.DEFAULT_RADIAL_SEPARATION = FDLayoutConstants.DEFAULT_EDGE_LENGTH;
|
| 492 |
+
}
|
| 493 |
+
};
|
| 494 |
+
|
| 495 |
+
// transfer cytoscape constraints to cose layout
|
| 496 |
+
var processConstraints = function processConstraints(layout, options) {
|
| 497 |
+
// get nodes to be fixed
|
| 498 |
+
if (options.fixedNodeConstraint) {
|
| 499 |
+
layout.constraints["fixedNodeConstraint"] = options.fixedNodeConstraint;
|
| 500 |
+
}
|
| 501 |
+
// get nodes to be aligned
|
| 502 |
+
if (options.alignmentConstraint) {
|
| 503 |
+
layout.constraints["alignmentConstraint"] = options.alignmentConstraint;
|
| 504 |
+
}
|
| 505 |
+
// get nodes to be relatively placed
|
| 506 |
+
if (options.relativePlacementConstraint) {
|
| 507 |
+
layout.constraints["relativePlacementConstraint"] = options.relativePlacementConstraint;
|
| 508 |
+
}
|
| 509 |
+
};
|
| 510 |
+
|
| 511 |
+
/**** Apply postprocessing ****/
|
| 512 |
+
if (options.nestingFactor != null) CoSEConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = FDLayoutConstants.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = options.nestingFactor;
|
| 513 |
+
if (options.gravity != null) CoSEConstants.DEFAULT_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_GRAVITY_STRENGTH = options.gravity;
|
| 514 |
+
if (options.numIter != null) CoSEConstants.MAX_ITERATIONS = FDLayoutConstants.MAX_ITERATIONS = options.numIter;
|
| 515 |
+
if (options.gravityRange != null) CoSEConstants.DEFAULT_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_GRAVITY_RANGE_FACTOR = options.gravityRange;
|
| 516 |
+
if (options.gravityCompound != null) CoSEConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_STRENGTH = options.gravityCompound;
|
| 517 |
+
if (options.gravityRangeCompound != null) CoSEConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = FDLayoutConstants.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = options.gravityRangeCompound;
|
| 518 |
+
if (options.initialEnergyOnIncremental != null) CoSEConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = FDLayoutConstants.DEFAULT_COOLING_FACTOR_INCREMENTAL = options.initialEnergyOnIncremental;
|
| 519 |
+
|
| 520 |
+
if (options.tilingCompareBy != null) CoSEConstants.TILING_COMPARE_BY = options.tilingCompareBy;
|
| 521 |
+
|
| 522 |
+
if (options.quality == 'proof') LayoutConstants.QUALITY = 2;else LayoutConstants.QUALITY = 0;
|
| 523 |
+
|
| 524 |
+
CoSEConstants.NODE_DIMENSIONS_INCLUDE_LABELS = FDLayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = LayoutConstants.NODE_DIMENSIONS_INCLUDE_LABELS = options.nodeDimensionsIncludeLabels;
|
| 525 |
+
CoSEConstants.DEFAULT_INCREMENTAL = FDLayoutConstants.DEFAULT_INCREMENTAL = LayoutConstants.DEFAULT_INCREMENTAL = !options.randomize;
|
| 526 |
+
CoSEConstants.ANIMATE = FDLayoutConstants.ANIMATE = LayoutConstants.ANIMATE = options.animate;
|
| 527 |
+
CoSEConstants.TILE = options.tile;
|
| 528 |
+
CoSEConstants.TILING_PADDING_VERTICAL = typeof options.tilingPaddingVertical === 'function' ? options.tilingPaddingVertical.call() : options.tilingPaddingVertical;
|
| 529 |
+
CoSEConstants.TILING_PADDING_HORIZONTAL = typeof options.tilingPaddingHorizontal === 'function' ? options.tilingPaddingHorizontal.call() : options.tilingPaddingHorizontal;
|
| 530 |
+
|
| 531 |
+
CoSEConstants.DEFAULT_INCREMENTAL = FDLayoutConstants.DEFAULT_INCREMENTAL = LayoutConstants.DEFAULT_INCREMENTAL = true;
|
| 532 |
+
CoSEConstants.PURE_INCREMENTAL = !options.randomize;
|
| 533 |
+
LayoutConstants.DEFAULT_UNIFORM_LEAF_NODE_SIZES = options.uniformNodeDimensions;
|
| 534 |
+
|
| 535 |
+
// This part is for debug/demo purpose
|
| 536 |
+
if (options.step == "transformed") {
|
| 537 |
+
CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = true;
|
| 538 |
+
CoSEConstants.ENFORCE_CONSTRAINTS = false;
|
| 539 |
+
CoSEConstants.APPLY_LAYOUT = false;
|
| 540 |
+
}
|
| 541 |
+
if (options.step == "enforced") {
|
| 542 |
+
CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = false;
|
| 543 |
+
CoSEConstants.ENFORCE_CONSTRAINTS = true;
|
| 544 |
+
CoSEConstants.APPLY_LAYOUT = false;
|
| 545 |
+
}
|
| 546 |
+
if (options.step == "cose") {
|
| 547 |
+
CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = false;
|
| 548 |
+
CoSEConstants.ENFORCE_CONSTRAINTS = false;
|
| 549 |
+
CoSEConstants.APPLY_LAYOUT = true;
|
| 550 |
+
}
|
| 551 |
+
if (options.step == "all") {
|
| 552 |
+
if (options.randomize) CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = true;else CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = false;
|
| 553 |
+
CoSEConstants.ENFORCE_CONSTRAINTS = true;
|
| 554 |
+
CoSEConstants.APPLY_LAYOUT = true;
|
| 555 |
+
}
|
| 556 |
+
|
| 557 |
+
if (options.fixedNodeConstraint || options.alignmentConstraint || options.relativePlacementConstraint) {
|
| 558 |
+
CoSEConstants.TREE_REDUCTION_ON_INCREMENTAL = false;
|
| 559 |
+
} else {
|
| 560 |
+
CoSEConstants.TREE_REDUCTION_ON_INCREMENTAL = true;
|
| 561 |
+
}
|
| 562 |
+
|
| 563 |
+
var coseLayout = new CoSELayout();
|
| 564 |
+
var gm = coseLayout.newGraphManager();
|
| 565 |
+
|
| 566 |
+
processChildrenList(gm.addRoot(), aux.getTopMostNodes(nodes), coseLayout, options);
|
| 567 |
+
processEdges(coseLayout, gm, edges);
|
| 568 |
+
processConstraints(coseLayout, options);
|
| 569 |
+
|
| 570 |
+
coseLayout.runLayout();
|
| 571 |
+
|
| 572 |
+
return idToLNode;
|
| 573 |
+
};
|
| 574 |
+
|
| 575 |
+
module.exports = { coseLayout: coseLayout };
|
| 576 |
+
|
| 577 |
+
/***/ }),
|
| 578 |
+
|
| 579 |
+
/***/ 212:
|
| 580 |
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
| 581 |
+
|
| 582 |
+
|
| 583 |
+
|
| 584 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
| 585 |
+
|
| 586 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
| 587 |
+
|
| 588 |
+
/**
|
| 589 |
+
The implementation of the fcose layout algorithm
|
| 590 |
+
*/
|
| 591 |
+
|
| 592 |
+
var assign = __webpack_require__(658);
|
| 593 |
+
var aux = __webpack_require__(548);
|
| 594 |
+
|
| 595 |
+
var _require = __webpack_require__(657),
|
| 596 |
+
spectralLayout = _require.spectralLayout;
|
| 597 |
+
|
| 598 |
+
var _require2 = __webpack_require__(816),
|
| 599 |
+
coseLayout = _require2.coseLayout;
|
| 600 |
+
|
| 601 |
+
var defaults = Object.freeze({
|
| 602 |
+
|
| 603 |
+
// 'draft', 'default' or 'proof'
|
| 604 |
+
// - 'draft' only applies spectral layout
|
| 605 |
+
// - 'default' improves the quality with subsequent CoSE layout (fast cooling rate)
|
| 606 |
+
// - 'proof' improves the quality with subsequent CoSE layout (slow cooling rate)
|
| 607 |
+
quality: "default",
|
| 608 |
+
// Use random node positions at beginning of layout
|
| 609 |
+
// if this is set to false, then quality option must be "proof"
|
| 610 |
+
randomize: true,
|
| 611 |
+
// Whether or not to animate the layout
|
| 612 |
+
animate: true,
|
| 613 |
+
// Duration of animation in ms, if enabled
|
| 614 |
+
animationDuration: 1000,
|
| 615 |
+
// Easing of animation, if enabled
|
| 616 |
+
animationEasing: undefined,
|
| 617 |
+
// Fit the viewport to the repositioned nodes
|
| 618 |
+
fit: true,
|
| 619 |
+
// Padding around layout
|
| 620 |
+
padding: 30,
|
| 621 |
+
// Whether to include labels in node dimensions. Valid in "proof" quality
|
| 622 |
+
nodeDimensionsIncludeLabels: false,
|
| 623 |
+
// Whether or not simple nodes (non-compound nodes) are of uniform dimensions
|
| 624 |
+
uniformNodeDimensions: false,
|
| 625 |
+
// Whether to pack disconnected components - valid only if randomize: true
|
| 626 |
+
packComponents: true,
|
| 627 |
+
// Layout step - all, transformed, enforced, cose - for debug purpose only
|
| 628 |
+
step: "all",
|
| 629 |
+
|
| 630 |
+
/* spectral layout options */
|
| 631 |
+
|
| 632 |
+
// False for random, true for greedy
|
| 633 |
+
samplingType: true,
|
| 634 |
+
// Sample size to construct distance matrix
|
| 635 |
+
sampleSize: 25,
|
| 636 |
+
// Separation amount between nodes
|
| 637 |
+
nodeSeparation: 75,
|
| 638 |
+
// Power iteration tolerance
|
| 639 |
+
piTol: 0.0000001,
|
| 640 |
+
|
| 641 |
+
/* CoSE layout options */
|
| 642 |
+
|
| 643 |
+
// Node repulsion (non overlapping) multiplier
|
| 644 |
+
nodeRepulsion: function nodeRepulsion(node) {
|
| 645 |
+
return 4500;
|
| 646 |
+
},
|
| 647 |
+
// Ideal edge (non nested) length
|
| 648 |
+
idealEdgeLength: function idealEdgeLength(edge) {
|
| 649 |
+
return 50;
|
| 650 |
+
},
|
| 651 |
+
// Divisor to compute edge forces
|
| 652 |
+
edgeElasticity: function edgeElasticity(edge) {
|
| 653 |
+
return 0.45;
|
| 654 |
+
},
|
| 655 |
+
// Nesting factor (multiplier) to compute ideal edge length for nested edges
|
| 656 |
+
nestingFactor: 0.1,
|
| 657 |
+
// Gravity force (constant)
|
| 658 |
+
gravity: 0.25,
|
| 659 |
+
// Maximum number of iterations to perform
|
| 660 |
+
numIter: 2500,
|
| 661 |
+
// For enabling tiling
|
| 662 |
+
tile: true,
|
| 663 |
+
// The function that specifies the criteria for comparing nodes while sorting them during tiling operation.
|
| 664 |
+
// Takes the node id as a parameter and the default tiling operation is perfomed when this option is not set.
|
| 665 |
+
tilingCompareBy: undefined,
|
| 666 |
+
// Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
|
| 667 |
+
tilingPaddingVertical: 10,
|
| 668 |
+
// Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
|
| 669 |
+
tilingPaddingHorizontal: 10,
|
| 670 |
+
// Gravity range (constant) for compounds
|
| 671 |
+
gravityRangeCompound: 1.5,
|
| 672 |
+
// Gravity force (constant) for compounds
|
| 673 |
+
gravityCompound: 1.0,
|
| 674 |
+
// Gravity range (constant)
|
| 675 |
+
gravityRange: 3.8,
|
| 676 |
+
// Initial cooling factor for incremental layout
|
| 677 |
+
initialEnergyOnIncremental: 0.3,
|
| 678 |
+
|
| 679 |
+
/* constraint options */
|
| 680 |
+
|
| 681 |
+
// Fix required nodes to predefined positions
|
| 682 |
+
// [{nodeId: 'n1', position: {x: 100, y: 200}, {...}]
|
| 683 |
+
fixedNodeConstraint: undefined,
|
| 684 |
+
// Align required nodes in vertical/horizontal direction
|
| 685 |
+
// {vertical: [['n1', 'n2')], ['n3', 'n4']], horizontal: ['n2', 'n4']}
|
| 686 |
+
alignmentConstraint: undefined,
|
| 687 |
+
// Place two nodes relatively in vertical/horizontal direction
|
| 688 |
+
// [{top: 'n1', bottom: 'n2', gap: 100}, {left: 'n3', right: 'n4', gap: 75}]
|
| 689 |
+
relativePlacementConstraint: undefined,
|
| 690 |
+
|
| 691 |
+
/* layout event callbacks */
|
| 692 |
+
ready: function ready() {}, // on layoutready
|
| 693 |
+
stop: function stop() {} // on layoutstop
|
| 694 |
+
});
|
| 695 |
+
|
| 696 |
+
var Layout = function () {
|
| 697 |
+
function Layout(options) {
|
| 698 |
+
_classCallCheck(this, Layout);
|
| 699 |
+
|
| 700 |
+
this.options = assign({}, defaults, options);
|
| 701 |
+
}
|
| 702 |
+
|
| 703 |
+
_createClass(Layout, [{
|
| 704 |
+
key: 'run',
|
| 705 |
+
value: function run() {
|
| 706 |
+
var layout = this;
|
| 707 |
+
var options = this.options;
|
| 708 |
+
var cy = options.cy;
|
| 709 |
+
var eles = options.eles;
|
| 710 |
+
|
| 711 |
+
var spectralResult = [];
|
| 712 |
+
var xCoords = void 0;
|
| 713 |
+
var yCoords = void 0;
|
| 714 |
+
var coseResult = [];
|
| 715 |
+
var components = void 0;
|
| 716 |
+
var componentCenters = [];
|
| 717 |
+
|
| 718 |
+
// basic validity check for constraint inputs
|
| 719 |
+
if (options.fixedNodeConstraint && (!Array.isArray(options.fixedNodeConstraint) || options.fixedNodeConstraint.length == 0)) {
|
| 720 |
+
options.fixedNodeConstraint = undefined;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
if (options.alignmentConstraint) {
|
| 724 |
+
if (options.alignmentConstraint.vertical && (!Array.isArray(options.alignmentConstraint.vertical) || options.alignmentConstraint.vertical.length == 0)) {
|
| 725 |
+
options.alignmentConstraint.vertical = undefined;
|
| 726 |
+
}
|
| 727 |
+
if (options.alignmentConstraint.horizontal && (!Array.isArray(options.alignmentConstraint.horizontal) || options.alignmentConstraint.horizontal.length == 0)) {
|
| 728 |
+
options.alignmentConstraint.horizontal = undefined;
|
| 729 |
+
}
|
| 730 |
+
}
|
| 731 |
+
|
| 732 |
+
if (options.relativePlacementConstraint && (!Array.isArray(options.relativePlacementConstraint) || options.relativePlacementConstraint.length == 0)) {
|
| 733 |
+
options.relativePlacementConstraint = undefined;
|
| 734 |
+
}
|
| 735 |
+
|
| 736 |
+
// if any constraint exists, set some options
|
| 737 |
+
var constraintExist = options.fixedNodeConstraint || options.alignmentConstraint || options.relativePlacementConstraint;
|
| 738 |
+
if (constraintExist) {
|
| 739 |
+
// constraints work with these options
|
| 740 |
+
options.tile = false;
|
| 741 |
+
options.packComponents = false;
|
| 742 |
+
}
|
| 743 |
+
|
| 744 |
+
// decide component packing is enabled or not
|
| 745 |
+
var layUtil = void 0;
|
| 746 |
+
var packingEnabled = false;
|
| 747 |
+
if (cy.layoutUtilities && options.packComponents) {
|
| 748 |
+
layUtil = cy.layoutUtilities("get");
|
| 749 |
+
if (!layUtil) layUtil = cy.layoutUtilities();
|
| 750 |
+
packingEnabled = true;
|
| 751 |
+
}
|
| 752 |
+
|
| 753 |
+
if (eles.nodes().length > 0) {
|
| 754 |
+
// if packing is not enabled, perform layout on the whole graph
|
| 755 |
+
if (!packingEnabled) {
|
| 756 |
+
// store component center
|
| 757 |
+
var boundingBox = options.eles.boundingBox();
|
| 758 |
+
componentCenters.push({ x: boundingBox.x1 + boundingBox.w / 2, y: boundingBox.y1 + boundingBox.h / 2 });
|
| 759 |
+
// apply spectral layout
|
| 760 |
+
if (options.randomize) {
|
| 761 |
+
var result = spectralLayout(options);
|
| 762 |
+
spectralResult.push(result);
|
| 763 |
+
}
|
| 764 |
+
// apply cose layout as postprocessing
|
| 765 |
+
if (options.quality == "default" || options.quality == "proof") {
|
| 766 |
+
coseResult.push(coseLayout(options, spectralResult[0]));
|
| 767 |
+
aux.relocateComponent(componentCenters[0], coseResult[0], options); // relocate center to original position
|
| 768 |
+
} else {
|
| 769 |
+
aux.relocateComponent(componentCenters[0], spectralResult[0], options); // relocate center to original position
|
| 770 |
+
}
|
| 771 |
+
} else {
|
| 772 |
+
// packing is enabled
|
| 773 |
+
var topMostNodes = aux.getTopMostNodes(options.eles.nodes());
|
| 774 |
+
components = aux.connectComponents(cy, options.eles, topMostNodes);
|
| 775 |
+
// store component centers
|
| 776 |
+
components.forEach(function (component) {
|
| 777 |
+
var boundingBox = component.boundingBox();
|
| 778 |
+
componentCenters.push({ x: boundingBox.x1 + boundingBox.w / 2, y: boundingBox.y1 + boundingBox.h / 2 });
|
| 779 |
+
});
|
| 780 |
+
|
| 781 |
+
//send each component to spectral layout if randomized
|
| 782 |
+
if (options.randomize) {
|
| 783 |
+
components.forEach(function (component) {
|
| 784 |
+
options.eles = component;
|
| 785 |
+
spectralResult.push(spectralLayout(options));
|
| 786 |
+
});
|
| 787 |
+
}
|
| 788 |
+
|
| 789 |
+
if (options.quality == "default" || options.quality == "proof") {
|
| 790 |
+
var toBeTiledNodes = cy.collection();
|
| 791 |
+
if (options.tile) {
|
| 792 |
+
// behave nodes to be tiled as one component
|
| 793 |
+
var nodeIndexes = new Map();
|
| 794 |
+
var _xCoords = [];
|
| 795 |
+
var _yCoords = [];
|
| 796 |
+
var count = 0;
|
| 797 |
+
var tempSpectralResult = { nodeIndexes: nodeIndexes, xCoords: _xCoords, yCoords: _yCoords };
|
| 798 |
+
var indexesToBeDeleted = [];
|
| 799 |
+
components.forEach(function (component, index) {
|
| 800 |
+
if (component.edges().length == 0) {
|
| 801 |
+
component.nodes().forEach(function (node, i) {
|
| 802 |
+
toBeTiledNodes.merge(component.nodes()[i]);
|
| 803 |
+
if (!node.isParent()) {
|
| 804 |
+
tempSpectralResult.nodeIndexes.set(component.nodes()[i].id(), count++);
|
| 805 |
+
tempSpectralResult.xCoords.push(component.nodes()[0].position().x);
|
| 806 |
+
tempSpectralResult.yCoords.push(component.nodes()[0].position().y);
|
| 807 |
+
}
|
| 808 |
+
});
|
| 809 |
+
indexesToBeDeleted.push(index);
|
| 810 |
+
}
|
| 811 |
+
});
|
| 812 |
+
if (toBeTiledNodes.length > 1) {
|
| 813 |
+
var _boundingBox = toBeTiledNodes.boundingBox();
|
| 814 |
+
componentCenters.push({ x: _boundingBox.x1 + _boundingBox.w / 2, y: _boundingBox.y1 + _boundingBox.h / 2 });
|
| 815 |
+
components.push(toBeTiledNodes);
|
| 816 |
+
spectralResult.push(tempSpectralResult);
|
| 817 |
+
for (var i = indexesToBeDeleted.length - 1; i >= 0; i--) {
|
| 818 |
+
components.splice(indexesToBeDeleted[i], 1);
|
| 819 |
+
spectralResult.splice(indexesToBeDeleted[i], 1);
|
| 820 |
+
componentCenters.splice(indexesToBeDeleted[i], 1);
|
| 821 |
+
};
|
| 822 |
+
}
|
| 823 |
+
}
|
| 824 |
+
components.forEach(function (component, index) {
|
| 825 |
+
// send each component to cose layout
|
| 826 |
+
options.eles = component;
|
| 827 |
+
coseResult.push(coseLayout(options, spectralResult[index]));
|
| 828 |
+
aux.relocateComponent(componentCenters[index], coseResult[index], options); // relocate center to original position
|
| 829 |
+
});
|
| 830 |
+
} else {
|
| 831 |
+
components.forEach(function (component, index) {
|
| 832 |
+
aux.relocateComponent(componentCenters[index], spectralResult[index], options); // relocate center to original position
|
| 833 |
+
});
|
| 834 |
+
}
|
| 835 |
+
|
| 836 |
+
// packing
|
| 837 |
+
var componentsEvaluated = new Set();
|
| 838 |
+
if (components.length > 1) {
|
| 839 |
+
var subgraphs = [];
|
| 840 |
+
var hiddenEles = eles.filter(function (ele) {
|
| 841 |
+
return ele.css('display') == 'none';
|
| 842 |
+
});
|
| 843 |
+
components.forEach(function (component, index) {
|
| 844 |
+
var nodeIndexes = void 0;
|
| 845 |
+
if (options.quality == "draft") {
|
| 846 |
+
nodeIndexes = spectralResult[index].nodeIndexes;
|
| 847 |
+
}
|
| 848 |
+
|
| 849 |
+
if (component.nodes().not(hiddenEles).length > 0) {
|
| 850 |
+
var subgraph = {};
|
| 851 |
+
subgraph.edges = [];
|
| 852 |
+
subgraph.nodes = [];
|
| 853 |
+
var nodeIndex = void 0;
|
| 854 |
+
component.nodes().not(hiddenEles).forEach(function (node) {
|
| 855 |
+
if (options.quality == "draft") {
|
| 856 |
+
if (!node.isParent()) {
|
| 857 |
+
nodeIndex = nodeIndexes.get(node.id());
|
| 858 |
+
subgraph.nodes.push({ x: spectralResult[index].xCoords[nodeIndex] - node.boundingbox().w / 2, y: spectralResult[index].yCoords[nodeIndex] - node.boundingbox().h / 2, width: node.boundingbox().w, height: node.boundingbox().h });
|
| 859 |
+
} else {
|
| 860 |
+
var parentInfo = aux.calcBoundingBox(node, spectralResult[index].xCoords, spectralResult[index].yCoords, nodeIndexes);
|
| 861 |
+
subgraph.nodes.push({ x: parentInfo.topLeftX, y: parentInfo.topLeftY, width: parentInfo.width, height: parentInfo.height });
|
| 862 |
+
}
|
| 863 |
+
} else {
|
| 864 |
+
if (coseResult[index][node.id()]) {
|
| 865 |
+
subgraph.nodes.push({ x: coseResult[index][node.id()].getLeft(), y: coseResult[index][node.id()].getTop(), width: coseResult[index][node.id()].getWidth(), height: coseResult[index][node.id()].getHeight() });
|
| 866 |
+
}
|
| 867 |
+
}
|
| 868 |
+
});
|
| 869 |
+
component.edges().forEach(function (edge) {
|
| 870 |
+
var source = edge.source();
|
| 871 |
+
var target = edge.target();
|
| 872 |
+
if (source.css("display") != "none" && target.css("display") != "none") {
|
| 873 |
+
if (options.quality == "draft") {
|
| 874 |
+
var sourceNodeIndex = nodeIndexes.get(source.id());
|
| 875 |
+
var targetNodeIndex = nodeIndexes.get(target.id());
|
| 876 |
+
var sourceCenter = [];
|
| 877 |
+
var targetCenter = [];
|
| 878 |
+
if (source.isParent()) {
|
| 879 |
+
var parentInfo = aux.calcBoundingBox(source, spectralResult[index].xCoords, spectralResult[index].yCoords, nodeIndexes);
|
| 880 |
+
sourceCenter.push(parentInfo.topLeftX + parentInfo.width / 2);
|
| 881 |
+
sourceCenter.push(parentInfo.topLeftY + parentInfo.height / 2);
|
| 882 |
+
} else {
|
| 883 |
+
sourceCenter.push(spectralResult[index].xCoords[sourceNodeIndex]);
|
| 884 |
+
sourceCenter.push(spectralResult[index].yCoords[sourceNodeIndex]);
|
| 885 |
+
}
|
| 886 |
+
if (target.isParent()) {
|
| 887 |
+
var _parentInfo = aux.calcBoundingBox(target, spectralResult[index].xCoords, spectralResult[index].yCoords, nodeIndexes);
|
| 888 |
+
targetCenter.push(_parentInfo.topLeftX + _parentInfo.width / 2);
|
| 889 |
+
targetCenter.push(_parentInfo.topLeftY + _parentInfo.height / 2);
|
| 890 |
+
} else {
|
| 891 |
+
targetCenter.push(spectralResult[index].xCoords[targetNodeIndex]);
|
| 892 |
+
targetCenter.push(spectralResult[index].yCoords[targetNodeIndex]);
|
| 893 |
+
}
|
| 894 |
+
subgraph.edges.push({ startX: sourceCenter[0], startY: sourceCenter[1], endX: targetCenter[0], endY: targetCenter[1] });
|
| 895 |
+
} else {
|
| 896 |
+
if (coseResult[index][source.id()] && coseResult[index][target.id()]) {
|
| 897 |
+
subgraph.edges.push({ startX: coseResult[index][source.id()].getCenterX(), startY: coseResult[index][source.id()].getCenterY(), endX: coseResult[index][target.id()].getCenterX(), endY: coseResult[index][target.id()].getCenterY() });
|
| 898 |
+
}
|
| 899 |
+
}
|
| 900 |
+
}
|
| 901 |
+
});
|
| 902 |
+
if (subgraph.nodes.length > 0) {
|
| 903 |
+
subgraphs.push(subgraph);
|
| 904 |
+
componentsEvaluated.add(index);
|
| 905 |
+
}
|
| 906 |
+
}
|
| 907 |
+
});
|
| 908 |
+
var shiftResult = layUtil.packComponents(subgraphs, options.randomize).shifts;
|
| 909 |
+
if (options.quality == "draft") {
|
| 910 |
+
spectralResult.forEach(function (result, index) {
|
| 911 |
+
var newXCoords = result.xCoords.map(function (x) {
|
| 912 |
+
return x + shiftResult[index].dx;
|
| 913 |
+
});
|
| 914 |
+
var newYCoords = result.yCoords.map(function (y) {
|
| 915 |
+
return y + shiftResult[index].dy;
|
| 916 |
+
});
|
| 917 |
+
result.xCoords = newXCoords;
|
| 918 |
+
result.yCoords = newYCoords;
|
| 919 |
+
});
|
| 920 |
+
} else {
|
| 921 |
+
var _count = 0;
|
| 922 |
+
componentsEvaluated.forEach(function (index) {
|
| 923 |
+
Object.keys(coseResult[index]).forEach(function (item) {
|
| 924 |
+
var nodeRectangle = coseResult[index][item];
|
| 925 |
+
nodeRectangle.setCenter(nodeRectangle.getCenterX() + shiftResult[_count].dx, nodeRectangle.getCenterY() + shiftResult[_count].dy);
|
| 926 |
+
});
|
| 927 |
+
_count++;
|
| 928 |
+
});
|
| 929 |
+
}
|
| 930 |
+
}
|
| 931 |
+
}
|
| 932 |
+
}
|
| 933 |
+
|
| 934 |
+
// get each element's calculated position
|
| 935 |
+
var getPositions = function getPositions(ele, i) {
|
| 936 |
+
if (options.quality == "default" || options.quality == "proof") {
|
| 937 |
+
if (typeof ele === "number") {
|
| 938 |
+
ele = i;
|
| 939 |
+
}
|
| 940 |
+
var pos = void 0;
|
| 941 |
+
var node = void 0;
|
| 942 |
+
var theId = ele.data('id');
|
| 943 |
+
coseResult.forEach(function (result) {
|
| 944 |
+
if (theId in result) {
|
| 945 |
+
pos = { x: result[theId].getRect().getCenterX(), y: result[theId].getRect().getCenterY() };
|
| 946 |
+
node = result[theId];
|
| 947 |
+
}
|
| 948 |
+
});
|
| 949 |
+
if (options.nodeDimensionsIncludeLabels) {
|
| 950 |
+
if (node.labelWidth) {
|
| 951 |
+
if (node.labelPosHorizontal == "left") {
|
| 952 |
+
pos.x += node.labelWidth / 2;
|
| 953 |
+
} else if (node.labelPosHorizontal == "right") {
|
| 954 |
+
pos.x -= node.labelWidth / 2;
|
| 955 |
+
}
|
| 956 |
+
}
|
| 957 |
+
if (node.labelHeight) {
|
| 958 |
+
if (node.labelPosVertical == "top") {
|
| 959 |
+
pos.y += node.labelHeight / 2;
|
| 960 |
+
} else if (node.labelPosVertical == "bottom") {
|
| 961 |
+
pos.y -= node.labelHeight / 2;
|
| 962 |
+
}
|
| 963 |
+
}
|
| 964 |
+
}
|
| 965 |
+
if (pos == undefined) pos = { x: ele.position("x"), y: ele.position("y") };
|
| 966 |
+
return {
|
| 967 |
+
x: pos.x,
|
| 968 |
+
y: pos.y
|
| 969 |
+
};
|
| 970 |
+
} else {
|
| 971 |
+
var _pos = void 0;
|
| 972 |
+
spectralResult.forEach(function (result) {
|
| 973 |
+
var index = result.nodeIndexes.get(ele.id());
|
| 974 |
+
if (index != undefined) {
|
| 975 |
+
_pos = { x: result.xCoords[index], y: result.yCoords[index] };
|
| 976 |
+
}
|
| 977 |
+
});
|
| 978 |
+
if (_pos == undefined) _pos = { x: ele.position("x"), y: ele.position("y") };
|
| 979 |
+
return {
|
| 980 |
+
x: _pos.x,
|
| 981 |
+
y: _pos.y
|
| 982 |
+
};
|
| 983 |
+
}
|
| 984 |
+
};
|
| 985 |
+
|
| 986 |
+
// quality = "draft" and randomize = false are contradictive so in that case positions don't change
|
| 987 |
+
if (options.quality == "default" || options.quality == "proof" || options.randomize) {
|
| 988 |
+
// transfer calculated positions to nodes (positions of only simple nodes are evaluated, compounds are positioned automatically)
|
| 989 |
+
var parentsWithoutChildren = aux.calcParentsWithoutChildren(cy, eles);
|
| 990 |
+
var _hiddenEles = eles.filter(function (ele) {
|
| 991 |
+
return ele.css('display') == 'none';
|
| 992 |
+
});
|
| 993 |
+
options.eles = eles.not(_hiddenEles);
|
| 994 |
+
|
| 995 |
+
eles.nodes().not(":parent").not(_hiddenEles).layoutPositions(layout, options, getPositions);
|
| 996 |
+
|
| 997 |
+
if (parentsWithoutChildren.length > 0) {
|
| 998 |
+
parentsWithoutChildren.forEach(function (ele) {
|
| 999 |
+
ele.position(getPositions(ele));
|
| 1000 |
+
});
|
| 1001 |
+
}
|
| 1002 |
+
} else {
|
| 1003 |
+
console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.");
|
| 1004 |
+
}
|
| 1005 |
+
}
|
| 1006 |
+
}]);
|
| 1007 |
+
|
| 1008 |
+
return Layout;
|
| 1009 |
+
}();
|
| 1010 |
+
|
| 1011 |
+
module.exports = Layout;
|
| 1012 |
+
|
| 1013 |
+
/***/ }),
|
| 1014 |
+
|
| 1015 |
+
/***/ 657:
|
| 1016 |
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
| 1017 |
+
|
| 1018 |
+
|
| 1019 |
+
|
| 1020 |
+
/**
|
| 1021 |
+
The implementation of the spectral layout that is the first part of the fcose layout algorithm
|
| 1022 |
+
*/
|
| 1023 |
+
|
| 1024 |
+
var aux = __webpack_require__(548);
|
| 1025 |
+
var Matrix = __webpack_require__(140).layoutBase.Matrix;
|
| 1026 |
+
var SVD = __webpack_require__(140).layoutBase.SVD;
|
| 1027 |
+
|
| 1028 |
+
// main function that spectral layout is processed
|
| 1029 |
+
var spectralLayout = function spectralLayout(options) {
|
| 1030 |
+
|
| 1031 |
+
var cy = options.cy;
|
| 1032 |
+
var eles = options.eles;
|
| 1033 |
+
var nodes = eles.nodes();
|
| 1034 |
+
var parentNodes = eles.nodes(":parent");
|
| 1035 |
+
|
| 1036 |
+
var dummyNodes = new Map(); // map to keep dummy nodes and their neighbors
|
| 1037 |
+
var nodeIndexes = new Map(); // map to keep indexes to nodes
|
| 1038 |
+
var parentChildMap = new Map(); // mapping btw. compound and its representative node
|
| 1039 |
+
var allNodesNeighborhood = []; // array to keep neighborhood of all nodes
|
| 1040 |
+
var xCoords = [];
|
| 1041 |
+
var yCoords = [];
|
| 1042 |
+
|
| 1043 |
+
var samplesColumn = []; // sampled vertices
|
| 1044 |
+
var minDistancesColumn = [];
|
| 1045 |
+
var C = []; // column sampling matrix
|
| 1046 |
+
var PHI = []; // intersection of column and row sampling matrices
|
| 1047 |
+
var INV = []; // inverse of PHI
|
| 1048 |
+
|
| 1049 |
+
var firstSample = void 0; // the first sampled node
|
| 1050 |
+
var nodeSize = void 0;
|
| 1051 |
+
|
| 1052 |
+
var infinity = 100000000;
|
| 1053 |
+
var small = 0.000000001;
|
| 1054 |
+
|
| 1055 |
+
var piTol = options.piTol;
|
| 1056 |
+
var samplingType = options.samplingType; // false for random, true for greedy
|
| 1057 |
+
var nodeSeparation = options.nodeSeparation;
|
| 1058 |
+
var sampleSize = void 0;
|
| 1059 |
+
|
| 1060 |
+
/**** Spectral-preprocessing functions ****/
|
| 1061 |
+
|
| 1062 |
+
/**** Spectral layout functions ****/
|
| 1063 |
+
|
| 1064 |
+
// determine which columns to be sampled
|
| 1065 |
+
var randomSampleCR = function randomSampleCR() {
|
| 1066 |
+
var sample = 0;
|
| 1067 |
+
var count = 0;
|
| 1068 |
+
var flag = false;
|
| 1069 |
+
|
| 1070 |
+
while (count < sampleSize) {
|
| 1071 |
+
sample = Math.floor(Math.random() * nodeSize);
|
| 1072 |
+
|
| 1073 |
+
flag = false;
|
| 1074 |
+
for (var i = 0; i < count; i++) {
|
| 1075 |
+
if (samplesColumn[i] == sample) {
|
| 1076 |
+
flag = true;
|
| 1077 |
+
break;
|
| 1078 |
+
}
|
| 1079 |
+
}
|
| 1080 |
+
|
| 1081 |
+
if (!flag) {
|
| 1082 |
+
samplesColumn[count] = sample;
|
| 1083 |
+
count++;
|
| 1084 |
+
} else {
|
| 1085 |
+
continue;
|
| 1086 |
+
}
|
| 1087 |
+
}
|
| 1088 |
+
};
|
| 1089 |
+
|
| 1090 |
+
// takes the index of the node(pivot) to initiate BFS as a parameter
|
| 1091 |
+
var BFS = function BFS(pivot, index, samplingMethod) {
|
| 1092 |
+
var path = []; // the front of the path
|
| 1093 |
+
var front = 0; // the back of the path
|
| 1094 |
+
var back = 0;
|
| 1095 |
+
var current = 0;
|
| 1096 |
+
var temp = void 0;
|
| 1097 |
+
var distance = [];
|
| 1098 |
+
|
| 1099 |
+
var max_dist = 0; // the furthest node to be returned
|
| 1100 |
+
var max_ind = 1;
|
| 1101 |
+
|
| 1102 |
+
for (var i = 0; i < nodeSize; i++) {
|
| 1103 |
+
distance[i] = infinity;
|
| 1104 |
+
}
|
| 1105 |
+
|
| 1106 |
+
path[back] = pivot;
|
| 1107 |
+
distance[pivot] = 0;
|
| 1108 |
+
|
| 1109 |
+
while (back >= front) {
|
| 1110 |
+
current = path[front++];
|
| 1111 |
+
var neighbors = allNodesNeighborhood[current];
|
| 1112 |
+
for (var _i = 0; _i < neighbors.length; _i++) {
|
| 1113 |
+
temp = nodeIndexes.get(neighbors[_i]);
|
| 1114 |
+
if (distance[temp] == infinity) {
|
| 1115 |
+
distance[temp] = distance[current] + 1;
|
| 1116 |
+
path[++back] = temp;
|
| 1117 |
+
}
|
| 1118 |
+
}
|
| 1119 |
+
C[current][index] = distance[current] * nodeSeparation;
|
| 1120 |
+
}
|
| 1121 |
+
|
| 1122 |
+
if (samplingMethod) {
|
| 1123 |
+
for (var _i2 = 0; _i2 < nodeSize; _i2++) {
|
| 1124 |
+
if (C[_i2][index] < minDistancesColumn[_i2]) minDistancesColumn[_i2] = C[_i2][index];
|
| 1125 |
+
}
|
| 1126 |
+
|
| 1127 |
+
for (var _i3 = 0; _i3 < nodeSize; _i3++) {
|
| 1128 |
+
if (minDistancesColumn[_i3] > max_dist) {
|
| 1129 |
+
max_dist = minDistancesColumn[_i3];
|
| 1130 |
+
max_ind = _i3;
|
| 1131 |
+
}
|
| 1132 |
+
}
|
| 1133 |
+
}
|
| 1134 |
+
return max_ind;
|
| 1135 |
+
};
|
| 1136 |
+
|
| 1137 |
+
// apply BFS to all nodes or selected samples
|
| 1138 |
+
var allBFS = function allBFS(samplingMethod) {
|
| 1139 |
+
|
| 1140 |
+
var sample = void 0;
|
| 1141 |
+
|
| 1142 |
+
if (!samplingMethod) {
|
| 1143 |
+
randomSampleCR();
|
| 1144 |
+
|
| 1145 |
+
// call BFS
|
| 1146 |
+
for (var i = 0; i < sampleSize; i++) {
|
| 1147 |
+
BFS(samplesColumn[i], i, samplingMethod, false);
|
| 1148 |
+
}
|
| 1149 |
+
} else {
|
| 1150 |
+
sample = Math.floor(Math.random() * nodeSize);
|
| 1151 |
+
firstSample = sample;
|
| 1152 |
+
|
| 1153 |
+
for (var _i4 = 0; _i4 < nodeSize; _i4++) {
|
| 1154 |
+
minDistancesColumn[_i4] = infinity;
|
| 1155 |
+
}
|
| 1156 |
+
|
| 1157 |
+
for (var _i5 = 0; _i5 < sampleSize; _i5++) {
|
| 1158 |
+
samplesColumn[_i5] = sample;
|
| 1159 |
+
sample = BFS(sample, _i5, samplingMethod);
|
| 1160 |
+
}
|
| 1161 |
+
}
|
| 1162 |
+
|
| 1163 |
+
// form the squared distances for C
|
| 1164 |
+
for (var _i6 = 0; _i6 < nodeSize; _i6++) {
|
| 1165 |
+
for (var j = 0; j < sampleSize; j++) {
|
| 1166 |
+
C[_i6][j] *= C[_i6][j];
|
| 1167 |
+
}
|
| 1168 |
+
}
|
| 1169 |
+
|
| 1170 |
+
// form PHI
|
| 1171 |
+
for (var _i7 = 0; _i7 < sampleSize; _i7++) {
|
| 1172 |
+
PHI[_i7] = [];
|
| 1173 |
+
}
|
| 1174 |
+
|
| 1175 |
+
for (var _i8 = 0; _i8 < sampleSize; _i8++) {
|
| 1176 |
+
for (var _j = 0; _j < sampleSize; _j++) {
|
| 1177 |
+
PHI[_i8][_j] = C[samplesColumn[_j]][_i8];
|
| 1178 |
+
}
|
| 1179 |
+
}
|
| 1180 |
+
};
|
| 1181 |
+
|
| 1182 |
+
// perform the SVD algorithm and apply a regularization step
|
| 1183 |
+
var sample = function sample() {
|
| 1184 |
+
|
| 1185 |
+
var SVDResult = SVD.svd(PHI);
|
| 1186 |
+
|
| 1187 |
+
var a_q = SVDResult.S;
|
| 1188 |
+
var a_u = SVDResult.U;
|
| 1189 |
+
var a_v = SVDResult.V;
|
| 1190 |
+
|
| 1191 |
+
var max_s = a_q[0] * a_q[0] * a_q[0];
|
| 1192 |
+
|
| 1193 |
+
var a_Sig = [];
|
| 1194 |
+
|
| 1195 |
+
// regularization
|
| 1196 |
+
for (var i = 0; i < sampleSize; i++) {
|
| 1197 |
+
a_Sig[i] = [];
|
| 1198 |
+
for (var j = 0; j < sampleSize; j++) {
|
| 1199 |
+
a_Sig[i][j] = 0;
|
| 1200 |
+
if (i == j) {
|
| 1201 |
+
a_Sig[i][j] = a_q[i] / (a_q[i] * a_q[i] + max_s / (a_q[i] * a_q[i]));
|
| 1202 |
+
}
|
| 1203 |
+
}
|
| 1204 |
+
}
|
| 1205 |
+
|
| 1206 |
+
INV = Matrix.multMat(Matrix.multMat(a_v, a_Sig), Matrix.transpose(a_u));
|
| 1207 |
+
};
|
| 1208 |
+
|
| 1209 |
+
// calculate final coordinates
|
| 1210 |
+
var powerIteration = function powerIteration() {
|
| 1211 |
+
// two largest eigenvalues
|
| 1212 |
+
var theta1 = void 0;
|
| 1213 |
+
var theta2 = void 0;
|
| 1214 |
+
|
| 1215 |
+
// initial guesses for eigenvectors
|
| 1216 |
+
var Y1 = [];
|
| 1217 |
+
var Y2 = [];
|
| 1218 |
+
|
| 1219 |
+
var V1 = [];
|
| 1220 |
+
var V2 = [];
|
| 1221 |
+
|
| 1222 |
+
for (var i = 0; i < nodeSize; i++) {
|
| 1223 |
+
Y1[i] = Math.random();
|
| 1224 |
+
Y2[i] = Math.random();
|
| 1225 |
+
}
|
| 1226 |
+
|
| 1227 |
+
Y1 = Matrix.normalize(Y1);
|
| 1228 |
+
Y2 = Matrix.normalize(Y2);
|
| 1229 |
+
|
| 1230 |
+
var count = 0;
|
| 1231 |
+
// to keep track of the improvement ratio in power iteration
|
| 1232 |
+
var current = small;
|
| 1233 |
+
var previous = small;
|
| 1234 |
+
|
| 1235 |
+
var temp = void 0;
|
| 1236 |
+
|
| 1237 |
+
while (true) {
|
| 1238 |
+
count++;
|
| 1239 |
+
|
| 1240 |
+
for (var _i9 = 0; _i9 < nodeSize; _i9++) {
|
| 1241 |
+
V1[_i9] = Y1[_i9];
|
| 1242 |
+
}
|
| 1243 |
+
|
| 1244 |
+
Y1 = Matrix.multGamma(Matrix.multL(Matrix.multGamma(V1), C, INV));
|
| 1245 |
+
theta1 = Matrix.dotProduct(V1, Y1);
|
| 1246 |
+
Y1 = Matrix.normalize(Y1);
|
| 1247 |
+
|
| 1248 |
+
current = Matrix.dotProduct(V1, Y1);
|
| 1249 |
+
|
| 1250 |
+
temp = Math.abs(current / previous);
|
| 1251 |
+
|
| 1252 |
+
if (temp <= 1 + piTol && temp >= 1) {
|
| 1253 |
+
break;
|
| 1254 |
+
}
|
| 1255 |
+
|
| 1256 |
+
previous = current;
|
| 1257 |
+
}
|
| 1258 |
+
|
| 1259 |
+
for (var _i10 = 0; _i10 < nodeSize; _i10++) {
|
| 1260 |
+
V1[_i10] = Y1[_i10];
|
| 1261 |
+
}
|
| 1262 |
+
|
| 1263 |
+
count = 0;
|
| 1264 |
+
previous = small;
|
| 1265 |
+
while (true) {
|
| 1266 |
+
count++;
|
| 1267 |
+
|
| 1268 |
+
for (var _i11 = 0; _i11 < nodeSize; _i11++) {
|
| 1269 |
+
V2[_i11] = Y2[_i11];
|
| 1270 |
+
}
|
| 1271 |
+
|
| 1272 |
+
V2 = Matrix.minusOp(V2, Matrix.multCons(V1, Matrix.dotProduct(V1, V2)));
|
| 1273 |
+
Y2 = Matrix.multGamma(Matrix.multL(Matrix.multGamma(V2), C, INV));
|
| 1274 |
+
theta2 = Matrix.dotProduct(V2, Y2);
|
| 1275 |
+
Y2 = Matrix.normalize(Y2);
|
| 1276 |
+
|
| 1277 |
+
current = Matrix.dotProduct(V2, Y2);
|
| 1278 |
+
|
| 1279 |
+
temp = Math.abs(current / previous);
|
| 1280 |
+
|
| 1281 |
+
if (temp <= 1 + piTol && temp >= 1) {
|
| 1282 |
+
break;
|
| 1283 |
+
}
|
| 1284 |
+
|
| 1285 |
+
previous = current;
|
| 1286 |
+
}
|
| 1287 |
+
|
| 1288 |
+
for (var _i12 = 0; _i12 < nodeSize; _i12++) {
|
| 1289 |
+
V2[_i12] = Y2[_i12];
|
| 1290 |
+
}
|
| 1291 |
+
|
| 1292 |
+
// theta1 now contains dominant eigenvalue
|
| 1293 |
+
// theta2 now contains the second-largest eigenvalue
|
| 1294 |
+
// V1 now contains theta1's eigenvector
|
| 1295 |
+
// V2 now contains theta2's eigenvector
|
| 1296 |
+
|
| 1297 |
+
//populate the two vectors
|
| 1298 |
+
xCoords = Matrix.multCons(V1, Math.sqrt(Math.abs(theta1)));
|
| 1299 |
+
yCoords = Matrix.multCons(V2, Math.sqrt(Math.abs(theta2)));
|
| 1300 |
+
};
|
| 1301 |
+
|
| 1302 |
+
/**** Preparation for spectral layout (Preprocessing) ****/
|
| 1303 |
+
|
| 1304 |
+
// connect disconnected components (first top level, then inside of each compound node)
|
| 1305 |
+
aux.connectComponents(cy, eles, aux.getTopMostNodes(nodes), dummyNodes);
|
| 1306 |
+
|
| 1307 |
+
parentNodes.forEach(function (ele) {
|
| 1308 |
+
aux.connectComponents(cy, eles, aux.getTopMostNodes(ele.descendants().intersection(eles)), dummyNodes);
|
| 1309 |
+
});
|
| 1310 |
+
|
| 1311 |
+
// assign indexes to nodes (first real, then dummy nodes)
|
| 1312 |
+
var index = 0;
|
| 1313 |
+
for (var i = 0; i < nodes.length; i++) {
|
| 1314 |
+
if (!nodes[i].isParent()) {
|
| 1315 |
+
nodeIndexes.set(nodes[i].id(), index++);
|
| 1316 |
+
}
|
| 1317 |
+
}
|
| 1318 |
+
|
| 1319 |
+
var _iteratorNormalCompletion = true;
|
| 1320 |
+
var _didIteratorError = false;
|
| 1321 |
+
var _iteratorError = undefined;
|
| 1322 |
+
|
| 1323 |
+
try {
|
| 1324 |
+
for (var _iterator = dummyNodes.keys()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
| 1325 |
+
var key = _step.value;
|
| 1326 |
+
|
| 1327 |
+
nodeIndexes.set(key, index++);
|
| 1328 |
+
}
|
| 1329 |
+
|
| 1330 |
+
// instantiate the neighborhood matrix
|
| 1331 |
+
} catch (err) {
|
| 1332 |
+
_didIteratorError = true;
|
| 1333 |
+
_iteratorError = err;
|
| 1334 |
+
} finally {
|
| 1335 |
+
try {
|
| 1336 |
+
if (!_iteratorNormalCompletion && _iterator.return) {
|
| 1337 |
+
_iterator.return();
|
| 1338 |
+
}
|
| 1339 |
+
} finally {
|
| 1340 |
+
if (_didIteratorError) {
|
| 1341 |
+
throw _iteratorError;
|
| 1342 |
+
}
|
| 1343 |
+
}
|
| 1344 |
+
}
|
| 1345 |
+
|
| 1346 |
+
for (var _i13 = 0; _i13 < nodeIndexes.size; _i13++) {
|
| 1347 |
+
allNodesNeighborhood[_i13] = [];
|
| 1348 |
+
}
|
| 1349 |
+
|
| 1350 |
+
// form a parent-child map to keep representative node of each compound node
|
| 1351 |
+
parentNodes.forEach(function (ele) {
|
| 1352 |
+
var children = ele.children().intersection(eles);
|
| 1353 |
+
|
| 1354 |
+
// let random = 0;
|
| 1355 |
+
while (children.nodes(":childless").length == 0) {
|
| 1356 |
+
// random = Math.floor(Math.random() * children.nodes().length); // if all children are compound then proceed randomly
|
| 1357 |
+
children = children.nodes()[0].children().intersection(eles);
|
| 1358 |
+
}
|
| 1359 |
+
// select the representative node - we can apply different methods here
|
| 1360 |
+
// random = Math.floor(Math.random() * children.nodes(":childless").length);
|
| 1361 |
+
var index = 0;
|
| 1362 |
+
var min = children.nodes(":childless")[0].connectedEdges().length;
|
| 1363 |
+
children.nodes(":childless").forEach(function (ele2, i) {
|
| 1364 |
+
if (ele2.connectedEdges().length < min) {
|
| 1365 |
+
min = ele2.connectedEdges().length;
|
| 1366 |
+
index = i;
|
| 1367 |
+
}
|
| 1368 |
+
});
|
| 1369 |
+
parentChildMap.set(ele.id(), children.nodes(":childless")[index].id());
|
| 1370 |
+
});
|
| 1371 |
+
|
| 1372 |
+
// add neighborhood relations (first real, then dummy nodes)
|
| 1373 |
+
nodes.forEach(function (ele) {
|
| 1374 |
+
var eleIndex = void 0;
|
| 1375 |
+
|
| 1376 |
+
if (ele.isParent()) eleIndex = nodeIndexes.get(parentChildMap.get(ele.id()));else eleIndex = nodeIndexes.get(ele.id());
|
| 1377 |
+
|
| 1378 |
+
ele.neighborhood().nodes().forEach(function (node) {
|
| 1379 |
+
if (eles.intersection(ele.edgesWith(node)).length > 0) {
|
| 1380 |
+
if (node.isParent()) allNodesNeighborhood[eleIndex].push(parentChildMap.get(node.id()));else allNodesNeighborhood[eleIndex].push(node.id());
|
| 1381 |
+
}
|
| 1382 |
+
});
|
| 1383 |
+
});
|
| 1384 |
+
|
| 1385 |
+
var _loop = function _loop(_key) {
|
| 1386 |
+
var eleIndex = nodeIndexes.get(_key);
|
| 1387 |
+
var disconnectedId = void 0;
|
| 1388 |
+
dummyNodes.get(_key).forEach(function (id) {
|
| 1389 |
+
if (cy.getElementById(id).isParent()) disconnectedId = parentChildMap.get(id);else disconnectedId = id;
|
| 1390 |
+
|
| 1391 |
+
allNodesNeighborhood[eleIndex].push(disconnectedId);
|
| 1392 |
+
allNodesNeighborhood[nodeIndexes.get(disconnectedId)].push(_key);
|
| 1393 |
+
});
|
| 1394 |
+
};
|
| 1395 |
+
|
| 1396 |
+
var _iteratorNormalCompletion2 = true;
|
| 1397 |
+
var _didIteratorError2 = false;
|
| 1398 |
+
var _iteratorError2 = undefined;
|
| 1399 |
+
|
| 1400 |
+
try {
|
| 1401 |
+
for (var _iterator2 = dummyNodes.keys()[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
| 1402 |
+
var _key = _step2.value;
|
| 1403 |
+
|
| 1404 |
+
_loop(_key);
|
| 1405 |
+
}
|
| 1406 |
+
|
| 1407 |
+
// nodeSize now only considers the size of transformed graph
|
| 1408 |
+
} catch (err) {
|
| 1409 |
+
_didIteratorError2 = true;
|
| 1410 |
+
_iteratorError2 = err;
|
| 1411 |
+
} finally {
|
| 1412 |
+
try {
|
| 1413 |
+
if (!_iteratorNormalCompletion2 && _iterator2.return) {
|
| 1414 |
+
_iterator2.return();
|
| 1415 |
+
}
|
| 1416 |
+
} finally {
|
| 1417 |
+
if (_didIteratorError2) {
|
| 1418 |
+
throw _iteratorError2;
|
| 1419 |
+
}
|
| 1420 |
+
}
|
| 1421 |
+
}
|
| 1422 |
+
|
| 1423 |
+
nodeSize = nodeIndexes.size;
|
| 1424 |
+
|
| 1425 |
+
var spectralResult = void 0;
|
| 1426 |
+
|
| 1427 |
+
// If number of nodes in transformed graph is 1 or 2, either SVD or powerIteration causes problem
|
| 1428 |
+
// So skip spectral and layout the graph with cose
|
| 1429 |
+
if (nodeSize > 2) {
|
| 1430 |
+
// if # of nodes in transformed graph is smaller than sample size,
|
| 1431 |
+
// then use # of nodes as sample size
|
| 1432 |
+
sampleSize = nodeSize < options.sampleSize ? nodeSize : options.sampleSize;
|
| 1433 |
+
|
| 1434 |
+
// instantiates the partial matrices that will be used in spectral layout
|
| 1435 |
+
for (var _i14 = 0; _i14 < nodeSize; _i14++) {
|
| 1436 |
+
C[_i14] = [];
|
| 1437 |
+
}
|
| 1438 |
+
for (var _i15 = 0; _i15 < sampleSize; _i15++) {
|
| 1439 |
+
INV[_i15] = [];
|
| 1440 |
+
}
|
| 1441 |
+
|
| 1442 |
+
/**** Apply spectral layout ****/
|
| 1443 |
+
|
| 1444 |
+
if (options.quality == "draft" || options.step == "all") {
|
| 1445 |
+
allBFS(samplingType);
|
| 1446 |
+
sample();
|
| 1447 |
+
powerIteration();
|
| 1448 |
+
|
| 1449 |
+
spectralResult = { nodeIndexes: nodeIndexes, xCoords: xCoords, yCoords: yCoords };
|
| 1450 |
+
} else {
|
| 1451 |
+
nodeIndexes.forEach(function (value, key) {
|
| 1452 |
+
xCoords.push(cy.getElementById(key).position("x"));
|
| 1453 |
+
yCoords.push(cy.getElementById(key).position("y"));
|
| 1454 |
+
});
|
| 1455 |
+
spectralResult = { nodeIndexes: nodeIndexes, xCoords: xCoords, yCoords: yCoords };
|
| 1456 |
+
}
|
| 1457 |
+
return spectralResult;
|
| 1458 |
+
} else {
|
| 1459 |
+
var iterator = nodeIndexes.keys();
|
| 1460 |
+
var firstNode = cy.getElementById(iterator.next().value);
|
| 1461 |
+
var firstNodePos = firstNode.position();
|
| 1462 |
+
var firstNodeWidth = firstNode.outerWidth();
|
| 1463 |
+
xCoords.push(firstNodePos.x);
|
| 1464 |
+
yCoords.push(firstNodePos.y);
|
| 1465 |
+
if (nodeSize == 2) {
|
| 1466 |
+
var secondNode = cy.getElementById(iterator.next().value);
|
| 1467 |
+
var secondNodeWidth = secondNode.outerWidth();
|
| 1468 |
+
xCoords.push(firstNodePos.x + firstNodeWidth / 2 + secondNodeWidth / 2 + options.idealEdgeLength);
|
| 1469 |
+
yCoords.push(firstNodePos.y);
|
| 1470 |
+
}
|
| 1471 |
+
|
| 1472 |
+
spectralResult = { nodeIndexes: nodeIndexes, xCoords: xCoords, yCoords: yCoords };
|
| 1473 |
+
return spectralResult;
|
| 1474 |
+
}
|
| 1475 |
+
};
|
| 1476 |
+
|
| 1477 |
+
module.exports = { spectralLayout: spectralLayout };
|
| 1478 |
+
|
| 1479 |
+
/***/ }),
|
| 1480 |
+
|
| 1481 |
+
/***/ 579:
|
| 1482 |
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
| 1483 |
+
|
| 1484 |
+
|
| 1485 |
+
|
| 1486 |
+
var impl = __webpack_require__(212);
|
| 1487 |
+
|
| 1488 |
+
// registers the extension on a cytoscape lib ref
|
| 1489 |
+
var register = function register(cytoscape) {
|
| 1490 |
+
if (!cytoscape) {
|
| 1491 |
+
return;
|
| 1492 |
+
} // can't register if cytoscape unspecified
|
| 1493 |
+
|
| 1494 |
+
cytoscape('layout', 'fcose', impl); // register with cytoscape.js
|
| 1495 |
+
};
|
| 1496 |
+
|
| 1497 |
+
if (typeof cytoscape !== 'undefined') {
|
| 1498 |
+
// expose to global cytoscape (i.e. window.cytoscape)
|
| 1499 |
+
register(cytoscape);
|
| 1500 |
+
}
|
| 1501 |
+
|
| 1502 |
+
module.exports = register;
|
| 1503 |
+
|
| 1504 |
+
/***/ }),
|
| 1505 |
+
|
| 1506 |
+
/***/ 140:
|
| 1507 |
+
/***/ ((module) => {
|
| 1508 |
+
|
| 1509 |
+
module.exports = __WEBPACK_EXTERNAL_MODULE__140__;
|
| 1510 |
+
|
| 1511 |
+
/***/ })
|
| 1512 |
+
|
| 1513 |
+
/******/ });
|
| 1514 |
+
/************************************************************************/
|
| 1515 |
+
/******/ // The module cache
|
| 1516 |
+
/******/ var __webpack_module_cache__ = {};
|
| 1517 |
+
/******/
|
| 1518 |
+
/******/ // The require function
|
| 1519 |
+
/******/ function __webpack_require__(moduleId) {
|
| 1520 |
+
/******/ // Check if module is in cache
|
| 1521 |
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
| 1522 |
+
/******/ if (cachedModule !== undefined) {
|
| 1523 |
+
/******/ return cachedModule.exports;
|
| 1524 |
+
/******/ }
|
| 1525 |
+
/******/ // Create a new module (and put it into the cache)
|
| 1526 |
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
| 1527 |
+
/******/ // no module.id needed
|
| 1528 |
+
/******/ // no module.loaded needed
|
| 1529 |
+
/******/ exports: {}
|
| 1530 |
+
/******/ };
|
| 1531 |
+
/******/
|
| 1532 |
+
/******/ // Execute the module function
|
| 1533 |
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
| 1534 |
+
/******/
|
| 1535 |
+
/******/ // Return the exports of the module
|
| 1536 |
+
/******/ return module.exports;
|
| 1537 |
+
/******/ }
|
| 1538 |
+
/******/
|
| 1539 |
+
/************************************************************************/
|
| 1540 |
+
/******/
|
| 1541 |
+
/******/ // startup
|
| 1542 |
+
/******/ // Load entry module and return exports
|
| 1543 |
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
| 1544 |
+
/******/ var __webpack_exports__ = __webpack_require__(579);
|
| 1545 |
+
/******/
|
| 1546 |
+
/******/ return __webpack_exports__;
|
| 1547 |
+
/******/ })()
|
| 1548 |
+
;
|
| 1549 |
+
});
|
tools/ui/node_modules/cytoscape-fcose/demo/demo-compound.html
ADDED
|
@@ -0,0 +1,465 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE>
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<title>cytoscape-fcose.js demo</title>
|
| 7 |
+
|
| 8 |
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
| 9 |
+
|
| 10 |
+
<!-- Bootstrap, popper, jQuery and filesaver - for demo purpose only -->
|
| 11 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
| 12 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
|
| 13 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
| 14 |
+
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
| 15 |
+
|
| 16 |
+
<script src="https://unpkg.com/cytoscape/dist/cytoscape.min.js"></script>
|
| 17 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 18 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 19 |
+
<script src="https://unpkg.com/cytoscape-layout-utilities/cytoscape-layout-utilities.js"></script>
|
| 20 |
+
|
| 21 |
+
<!-- for testing with local version of cytoscape.js -->
|
| 22 |
+
<!--<script src="../cytoscape.js/build/cytoscape.js"></script>-->
|
| 23 |
+
|
| 24 |
+
<script src="../cytoscape-fcose.js"></script>
|
| 25 |
+
|
| 26 |
+
<style>
|
| 27 |
+
body {
|
| 28 |
+
font-family: helvetica neue, helvetica, liberation sans, arial, sans-serif;
|
| 29 |
+
font-size: 14px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
#cy {
|
| 33 |
+
position: relative;
|
| 34 |
+
width: auto;
|
| 35 |
+
height: 90%;
|
| 36 |
+
z-index: 999;
|
| 37 |
+
margin-left: 290px;
|
| 38 |
+
right: 0px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
h1 {
|
| 42 |
+
opacity: 1;
|
| 43 |
+
color: #555;
|
| 44 |
+
font-size: 15px;
|
| 45 |
+
font-weight: bold;
|
| 46 |
+
padding-top: 5px;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/* The sidepanel menu */
|
| 50 |
+
.sidepanel {
|
| 51 |
+
height: auto; /* Specify a height */
|
| 52 |
+
width: 290px; /* 0 width - change this with JavaScript */
|
| 53 |
+
position: absolute; /* Stay in place */
|
| 54 |
+
z-index: 1000; /* Stay on top */
|
| 55 |
+
float: left;
|
| 56 |
+
top: auto;
|
| 57 |
+
left: 0;
|
| 58 |
+
background-color: #b7ffff; /* Black*/
|
| 59 |
+
overflow-x: hidden; /* Disable horizontal scroll */
|
| 60 |
+
padding-top: 10px; /* Place content 10px from the top */
|
| 61 |
+
padding-bottom: 10px; /* Place content 10px from the bottom */
|
| 62 |
+
transition: 0s; /* 0.5 second transition effect to slide in the sidepanel */
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
table{
|
| 66 |
+
margin-left: 4px;
|
| 67 |
+
margin-right: auto;
|
| 68 |
+
table-layout: fixed;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* The sidepanel links */
|
| 72 |
+
table td {
|
| 73 |
+
padding: 0px 8px 8px 8px;
|
| 74 |
+
text-decoration: none;
|
| 75 |
+
font-size: 13px;
|
| 76 |
+
color: #555;
|
| 77 |
+
transition: 0.3s;
|
| 78 |
+
vertical-align: middle;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* Style the button that is used to open the sidepanel */
|
| 82 |
+
.button {
|
| 83 |
+
font-size: 15px;
|
| 84 |
+
color: #555;
|
| 85 |
+
cursor: pointer;
|
| 86 |
+
background-color: #b7ffff;
|
| 87 |
+
padding: 5px 10px;
|
| 88 |
+
border: none;
|
| 89 |
+
margin-bottom: 5px;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.textField {
|
| 93 |
+
padding-left: 5px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.checkbox {
|
| 97 |
+
margin-left: 0px;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.button:hover {
|
| 101 |
+
background-color: #0f0;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.btn-group-sm>.btn, .btn-sm {
|
| 105 |
+
font-size: 13px;
|
| 106 |
+
background-color: #7d8991;
|
| 107 |
+
border-color: #7d8991;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 111 |
+
color: #fff;
|
| 112 |
+
background-color: #60717d;
|
| 113 |
+
border-color: #60717d; /*set the color you want here*/
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 117 |
+
color: #fff;
|
| 118 |
+
background-color: #60717d;
|
| 119 |
+
border-color: #60717d; /*set the color you want here*/
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.form-control-sm {
|
| 123 |
+
font-size: 13px
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.custom-select-sm {
|
| 127 |
+
font-size: 13px
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.custom-control-label {
|
| 131 |
+
padding-top: 2px;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.custom-control-input:checked~.custom-control-label::before {
|
| 135 |
+
color: #fff;
|
| 136 |
+
border-color: #7d8991;
|
| 137 |
+
background-color: #7d8991;
|
| 138 |
+
}
|
| 139 |
+
</style>
|
| 140 |
+
|
| 141 |
+
<script>
|
| 142 |
+
document.addEventListener('DOMContentLoaded', function(){
|
| 143 |
+
|
| 144 |
+
var cy = window.cy = cytoscape({
|
| 145 |
+
container: document.getElementById('cy'),
|
| 146 |
+
|
| 147 |
+
ready: function(){
|
| 148 |
+
let layoutUtilities = this.layoutUtilities({
|
| 149 |
+
desiredAspectRatio: this.width()/this.height()
|
| 150 |
+
});
|
| 151 |
+
this.nodes().forEach(function(node){
|
| 152 |
+
let size = Math.random()*120+30;
|
| 153 |
+
node.css("width", size);
|
| 154 |
+
node.css("height", size);
|
| 155 |
+
});
|
| 156 |
+
this.layout({name: 'fcose', animationEasing: 'ease-out'}).run();
|
| 157 |
+
},
|
| 158 |
+
|
| 159 |
+
// demo your layout
|
| 160 |
+
layout: {
|
| 161 |
+
name: 'grid'
|
| 162 |
+
},
|
| 163 |
+
|
| 164 |
+
style: [
|
| 165 |
+
{
|
| 166 |
+
selector: 'node',
|
| 167 |
+
style: {
|
| 168 |
+
'background-color': '#2B65EC'
|
| 169 |
+
}
|
| 170 |
+
},
|
| 171 |
+
|
| 172 |
+
{
|
| 173 |
+
selector: ':parent',
|
| 174 |
+
style: {
|
| 175 |
+
'background-opacity': 0.333,
|
| 176 |
+
'border-color': '#2B65EC'
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
|
| 180 |
+
{
|
| 181 |
+
selector: 'edge',
|
| 182 |
+
style: {
|
| 183 |
+
'line-color': '#2B65EC'
|
| 184 |
+
}
|
| 185 |
+
},
|
| 186 |
+
|
| 187 |
+
{
|
| 188 |
+
selector: 'node:selected',
|
| 189 |
+
style: {
|
| 190 |
+
'background-color': '#F08080',
|
| 191 |
+
'border-color': 'red'
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
|
| 195 |
+
{
|
| 196 |
+
selector: 'edge:selected',
|
| 197 |
+
style: {
|
| 198 |
+
'line-color': '#F08080'
|
| 199 |
+
}
|
| 200 |
+
}
|
| 201 |
+
],
|
| 202 |
+
|
| 203 |
+
elements: [{ group:'nodes', data:{ id: 'n0'}},
|
| 204 |
+
{ group:'nodes', data:{ id: 'n1'}},
|
| 205 |
+
{ group:'nodes', data:{ id: 'n2'}},
|
| 206 |
+
{ group:'nodes', data:{ id: 'n3'}},
|
| 207 |
+
{ group:'nodes', data:{ id: 'n4', parent: 'n37'}},
|
| 208 |
+
{ group:'nodes', data:{ id: 'n5'}},
|
| 209 |
+
{ group:'nodes', data:{ id: 'n6'}},
|
| 210 |
+
{ group:'nodes', data:{ id: 'n7', parent: 'n37'}},
|
| 211 |
+
{ group:'nodes', data:{ id: 'n8', parent: 'n37'}},
|
| 212 |
+
{ group:'nodes', data:{ id: 'n9', parent: 'n37'}},
|
| 213 |
+
{ group:'nodes', data:{ id: 'n10', parent: 'n38'}},
|
| 214 |
+
{ group:'nodes', data:{ id: 'n12'}},
|
| 215 |
+
{ group:'nodes', data:{ id: 'n13'}},
|
| 216 |
+
{ group:'nodes', data:{ id: 'n14'}},
|
| 217 |
+
{ group:'nodes', data:{ id: 'n15'}},
|
| 218 |
+
{ group:'nodes', data:{ id: 'n16'}},
|
| 219 |
+
{ group:'nodes', data:{ id: 'n17'}},
|
| 220 |
+
{ group:'nodes', data:{ id: 'n18'}},
|
| 221 |
+
{ group:'nodes', data:{ id: 'n19'}},
|
| 222 |
+
{ group:'nodes', data:{ id: 'n20'}},
|
| 223 |
+
{ group:'nodes', data:{ id: 'n21'}},
|
| 224 |
+
{ group:'nodes', data:{ id: 'n22'}},
|
| 225 |
+
{ group:'nodes', data:{ id: 'n23'}},
|
| 226 |
+
{ group:'nodes', data:{ id: 'n24', parent: 'n39'}},
|
| 227 |
+
{ group:'nodes', data:{ id: 'n25', parent: 'n39'}},
|
| 228 |
+
{ group:'nodes', data:{ id: 'n26', parent: 'n42'}},
|
| 229 |
+
{ group:'nodes', data:{ id: 'n27', parent: 'n42'}},
|
| 230 |
+
{ group:'nodes', data:{ id: 'n28', parent: 'n42'}},
|
| 231 |
+
{ group:'nodes', data:{ id: 'n29', parent: 'n40'}},
|
| 232 |
+
{ group:'nodes', data:{ id: 'n31', parent: 'n41'}},
|
| 233 |
+
{ group:'nodes', data:{ id: 'n32', parent: 'n41'}},
|
| 234 |
+
{ group:'nodes', data:{ id: 'n33', parent: 'n41'}},
|
| 235 |
+
{ group:'nodes', data:{ id: 'n34', parent: 'n41'}},
|
| 236 |
+
{ group:'nodes', data:{ id: 'n35', parent: 'n41'}},
|
| 237 |
+
{ group:'nodes', data:{ id: 'n36', parent: 'n41'}},
|
| 238 |
+
{ group:'nodes', data:{ id: 'n37'}},
|
| 239 |
+
{ group:'nodes', data:{ id: 'n38'}},
|
| 240 |
+
{ group:'nodes', data:{ id: 'n39', parent: 'n43'}},
|
| 241 |
+
{ group:'nodes', data:{ id: 'n40', parent: 'n42'}},
|
| 242 |
+
{ group:'nodes', data:{ id: 'n41', parent: 'n42'}},
|
| 243 |
+
{ group:'nodes', data:{ id: 'n42', parent: 'n43'}},
|
| 244 |
+
{ group:'nodes', data:{ id: 'n43'}},
|
| 245 |
+
{ group:'nodes', data:{ id: 'n44'}},
|
| 246 |
+
{ group:'nodes', data:{ id: 'n45'}},
|
| 247 |
+
{ group:'nodes', data:{ id: 'n46'}},
|
| 248 |
+
{ group:'nodes', data:{ id: 'n47'}},
|
| 249 |
+
{ group:'edges', data:{ id: 'e0', source: 'n0', target: 'n1'} },
|
| 250 |
+
{ group:'edges', data:{ id: 'e1', source: 'n1', target: 'n2'} },
|
| 251 |
+
{ group:'edges', data:{ id: 'e2', source: 'n2', target: 'n3'} },
|
| 252 |
+
{ group:'edges', data:{ id: 'e3', source: 'n0', target: 'n3'} },
|
| 253 |
+
{ group:'edges', data:{ id: 'e4', source: 'n1', target: 'n4'} },
|
| 254 |
+
{ group:'edges', data:{ id: 'e5', source: 'n2', target: 'n4'} },
|
| 255 |
+
{ group:'edges', data:{ id: 'e6', source: 'n4', target: 'n5'} },
|
| 256 |
+
{ group:'edges', data:{ id: 'e7', source: 'n5', target: 'n6'} },
|
| 257 |
+
{ group:'edges', data:{ id: 'e8', source: 'n4', target: 'n6'} },
|
| 258 |
+
{ group:'edges', data:{ id: 'e9', source: 'n4', target: 'n7'} },
|
| 259 |
+
{ group:'edges', data:{ id: 'e10', source: 'n7', target: 'n8'} },
|
| 260 |
+
{ group:'edges', data:{ id: 'e11', source: 'n8', target: 'n9'} },
|
| 261 |
+
{ group:'edges', data:{ id: 'e12', source: 'n7', target: 'n9'} },
|
| 262 |
+
{ group:'edges', data:{ id: 'e13', source: 'n13', target: 'n14'} },
|
| 263 |
+
//{ group:'edges', data:{ id: 'e14', source: 'n12', target: 'n14'} },
|
| 264 |
+
{ group:'edges', data:{ id: 'e15', source: 'n14', target: 'n15'} },
|
| 265 |
+
{ group:'edges', data:{ id: 'e16', source: 'n14', target: 'n16'} },
|
| 266 |
+
{ group:'edges', data:{ id: 'e17', source: 'n15', target: 'n17'} },
|
| 267 |
+
{ group:'edges', data:{ id: 'e18', source: 'n17', target: 'n18'} },
|
| 268 |
+
{ group:'edges', data:{ id: 'e19', source: 'n18', target: 'n19'} },
|
| 269 |
+
{ group:'edges', data:{ id: 'e20', source: 'n17', target: 'n20'} },
|
| 270 |
+
{ group:'edges', data:{ id: 'e21', source: 'n19', target: 'n20'} },
|
| 271 |
+
{ group:'edges', data:{ id: 'e22', source: 'n16', target: 'n20'} },
|
| 272 |
+
{ group:'edges', data:{ id: 'e23', source: 'n20', target: 'n21'} },
|
| 273 |
+
{ group:'edges', data:{ id: 'e25', source: 'n23', target: 'n24'} },
|
| 274 |
+
{ group:'edges', data:{ id: 'e26', source: 'n24', target: 'n25'} },
|
| 275 |
+
{ group:'edges', data:{ id: 'e27', source: 'n26', target: 'n38'} },
|
| 276 |
+
{ group:'edges', data:{ id: 'e29', source: 'n26', target: 'n39'} },
|
| 277 |
+
{ group:'edges', data:{ id: 'e30', source: 'n26', target: 'n27'} },
|
| 278 |
+
{ group:'edges', data:{ id: 'e31', source: 'n26', target: 'n28'} },
|
| 279 |
+
{ group:'edges', data:{ id: 'e33', source: 'n21', target: 'n31'} },
|
| 280 |
+
{ group:'edges', data:{ id: 'e35', source: 'n31', target: 'n33'} },
|
| 281 |
+
{ group:'edges', data:{ id: 'e36', source: 'n31', target: 'n34'} },
|
| 282 |
+
{ group:'edges', data:{ id: 'e37', source: 'n33', target: 'n34'} },
|
| 283 |
+
{ group:'edges', data:{ id: 'e38', source: 'n32', target: 'n35'} },
|
| 284 |
+
{ group:'edges', data:{ id: 'e39', source: 'n32', target: 'n36'} },
|
| 285 |
+
{ group:'edges', data:{ id: 'e40', source: 'n16', target: 'n40'} },
|
| 286 |
+
{ group:'edges', data:{ id: 'e41', source: 'n44', target: 'n45'} },
|
| 287 |
+
{ group:'edges', data:{ id: 'e42', source: 'n44', target: 'n46'} },
|
| 288 |
+
{ group:'edges', data:{ id: 'e43', source: 'n45', target: 'n46'} }
|
| 289 |
+
]
|
| 290 |
+
|
| 291 |
+
});
|
| 292 |
+
|
| 293 |
+
document.getElementById("randomizeButton").addEventListener("click", function(){
|
| 294 |
+
var layout = cy.layout({
|
| 295 |
+
name: 'random',
|
| 296 |
+
animate: true,
|
| 297 |
+
animationDuration: 1000
|
| 298 |
+
});
|
| 299 |
+
|
| 300 |
+
layout.run();
|
| 301 |
+
});
|
| 302 |
+
|
| 303 |
+
document.getElementById("fcoseButton").addEventListener("click", function(){
|
| 304 |
+
let qualityItem = document.getElementById("quality");
|
| 305 |
+
var layout = cy.layout({
|
| 306 |
+
name: 'fcose',
|
| 307 |
+
quality: qualityItem.options[qualityItem.selectedIndex].value,
|
| 308 |
+
randomize: !(document.getElementById("randomize").checked),
|
| 309 |
+
animate: document.getElementById("animate").checked,
|
| 310 |
+
animationEasing: 'ease-out',
|
| 311 |
+
fit: document.getElementById("fit").checked,
|
| 312 |
+
uniformNodeDimensions: document.getElementById("uniformNodeDimensions").checked,
|
| 313 |
+
packComponents: document.getElementById("packComponents").checked,
|
| 314 |
+
tile: document.getElementById("tile").checked,
|
| 315 |
+
nodeRepulsion: parseFloat(document.getElementById("nodeRepulsion").value),
|
| 316 |
+
idealEdgeLength: parseFloat(document.getElementById("idealEdgeLength").value),
|
| 317 |
+
edgeElasticity: parseFloat(document.getElementById("edgeElasticity").value),
|
| 318 |
+
nestingFactor: parseFloat(document.getElementById("nestingFactor").value),
|
| 319 |
+
gravity: parseFloat(document.getElementById("gravity").value),
|
| 320 |
+
gravityRange: parseFloat(document.getElementById("gravityRange").value),
|
| 321 |
+
gravityCompound: parseFloat(document.getElementById("gravityCompound").value),
|
| 322 |
+
gravityRangeCompound: parseFloat(document.getElementById("gravityRangeCompound").value),
|
| 323 |
+
numIter: parseFloat(document.getElementById("numIter").value),
|
| 324 |
+
tilingPaddingVertical: parseFloat(document.getElementById("tilingPaddingVertical").value),
|
| 325 |
+
tilingPaddingHorizontal: parseFloat(document.getElementById("tilingPaddingHorizontal").value),
|
| 326 |
+
initialEnergyOnIncremental: document.getElementById("initialEnergyOnIncremental").value,
|
| 327 |
+
step:"all"
|
| 328 |
+
});
|
| 329 |
+
|
| 330 |
+
layout.run();
|
| 331 |
+
});
|
| 332 |
+
|
| 333 |
+
});
|
| 334 |
+
</script>
|
| 335 |
+
</head>
|
| 336 |
+
|
| 337 |
+
<body>
|
| 338 |
+
<h1 class="ml-2">cytoscape-fcose demo (compound)</h1>
|
| 339 |
+
<div style='width: 300px; position: absolute;'>
|
| 340 |
+
<button id="randomizeButton" class="btn btn-primary btn-sm mb-2 ml-2">Randomize</button>   
|
| 341 |
+
<button id="fcoseButton" class="btn btn-primary btn-sm mb-2 ml-2">fCoSE</button>
|
| 342 |
+
|
| 343 |
+
<div id="mySidepanel" class="sidepanel">
|
| 344 |
+
<table>
|
| 345 |
+
<tr>
|
| 346 |
+
<td><span class="add-on layout-text" title="Quality of the layout"> Quality </span></td>
|
| 347 |
+
<td>
|
| 348 |
+
<select id="quality" class='custom-select custom-select-sm'>
|
| 349 |
+
<option value="draft">draft</option>
|
| 350 |
+
<option value="default" selected="">default</option>
|
| 351 |
+
<option value="proof">proof</option>
|
| 352 |
+
</select>
|
| 353 |
+
</td>
|
| 354 |
+
</tr>
|
| 355 |
+
<tr>
|
| 356 |
+
<td><span class="add-on layout-text" title="Whether to enable incremental mode"> Incremental </span></td>
|
| 357 |
+
<td>
|
| 358 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 359 |
+
<input type="checkbox" class="custom-control-input" id="randomize" name="incremental">
|
| 360 |
+
<label class="custom-control-label" for="randomize"></label>
|
| 361 |
+
</div>
|
| 362 |
+
</td>
|
| 363 |
+
</tr>
|
| 364 |
+
<tr>
|
| 365 |
+
<td><span class="add-on layout-text" title="Whether to perform animation after layout"> Animate </span></td>
|
| 366 |
+
<td>
|
| 367 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 368 |
+
<input type="checkbox" class="custom-control-input" id="animate" name="animate" checked>
|
| 369 |
+
<label class="custom-control-label" for="animate"></label>
|
| 370 |
+
</div>
|
| 371 |
+
</td>
|
| 372 |
+
</tr>
|
| 373 |
+
<tr>
|
| 374 |
+
<td><span class="add-on layout-text" title="Whether to fit the viewport to the repositioned nodes"> Fit </span></td>
|
| 375 |
+
<td>
|
| 376 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 377 |
+
<input type="checkbox" class="custom-control-input" id="fit" name="fit" checked>
|
| 378 |
+
<label class="custom-control-label" for="fit"></label>
|
| 379 |
+
</div>
|
| 380 |
+
</td>
|
| 381 |
+
</tr>
|
| 382 |
+
<tr>
|
| 383 |
+
<td><span class="add-on layout-text" title="Whether nodes are of uniform dimensions"> Uniform Node Dimensions </span></td>
|
| 384 |
+
<td>
|
| 385 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 386 |
+
<input type="checkbox" class="custom-control-input" id="uniformNodeDimensions" name="uniformNodeDimensions">
|
| 387 |
+
<label class="custom-control-label" for="uniformNodeDimensions"></label>
|
| 388 |
+
</div>
|
| 389 |
+
</td>
|
| 390 |
+
</tr>
|
| 391 |
+
<tr>
|
| 392 |
+
<td><span class="add-on layout-text" title="Whether to pack components"> Pack Components to Window </span></td>
|
| 393 |
+
<td>
|
| 394 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 395 |
+
<input type="checkbox" class="custom-control-input" id="packComponents" name="packComponents" checked>
|
| 396 |
+
<label class="custom-control-label" for="packComponents"></label>
|
| 397 |
+
</div>
|
| 398 |
+
</td>
|
| 399 |
+
</tr>
|
| 400 |
+
<tr>
|
| 401 |
+
<td><span class="add-on layout-text" title="Whether to tile disconnected nodes"> Tile Disconnected </span></td>
|
| 402 |
+
<td>
|
| 403 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 404 |
+
<input type="checkbox" class="custom-control-input" id="tile" name="tile" checked>
|
| 405 |
+
<label class="custom-control-label" for="tile"></label>
|
| 406 |
+
</div>
|
| 407 |
+
</td>
|
| 408 |
+
</tr>
|
| 409 |
+
<tr>
|
| 410 |
+
<td><span class="add-on layout-text" title="Node repulsion (non overlapping) multiplier"> Node Repulsion </span></td>
|
| 411 |
+
<td><input id="nodeRepulsion" class="textField form-control form-control-sm" type="text" value="4500" maxlength=5 size="5"></td>
|
| 412 |
+
</tr>
|
| 413 |
+
<tr>
|
| 414 |
+
<td><span class="add-on layout-text" title="Ideal (intra-graph) edge length"> Ideal Edge Length </span></td>
|
| 415 |
+
<td><input id="idealEdgeLength" class="textField form-control form-control-sm" type="text" value="50" maxlength=5 size="5"></td>
|
| 416 |
+
</tr>
|
| 417 |
+
<tr>
|
| 418 |
+
<td><span class="add-on layout-text" title="Divisor to compute edge forces"> Edge Elasticity </span></td>
|
| 419 |
+
<td><input id="edgeElasticity" class="textField form-control form-control-sm" type="text" value="0.45" maxlength=5 size="5"></td>
|
| 420 |
+
</tr>
|
| 421 |
+
<tr>
|
| 422 |
+
<td><span class="add-on layout-text" title="Nesting factor (multiplier) to compute ideal edge length for inter-graph edges"> Nesting Factor </span></td>
|
| 423 |
+
<td><input id="nestingFactor" class="textField form-control form-control-sm" type="text" value="0.1" maxlength=5 size="5"></td>
|
| 424 |
+
</tr>
|
| 425 |
+
<tr>
|
| 426 |
+
<td><span class="add-on layout-text" title="Gravity force (constant)"> Gravity </span></td>
|
| 427 |
+
<td><input id="gravity" class="textField form-control form-control-sm" type="text" value="0.25" maxlength=5 size="5"></td>
|
| 428 |
+
</tr>
|
| 429 |
+
<tr>
|
| 430 |
+
<td><span class="add-on layout-text" title="Gravity range (constant)"> Gravity Range </span></td>
|
| 431 |
+
<td><input id="gravityRange" class="textField form-control form-control-sm" type="text" value="3.8" maxlength=5 size="5"></td>
|
| 432 |
+
</tr>
|
| 433 |
+
<tr>
|
| 434 |
+
<td><span class="add-on layout-text" title="Gravity force (constant) for compounds"> Compound Gravity </span></td>
|
| 435 |
+
<td><input id="gravityCompound" class="textField form-control form-control-sm" type="text" value="1" maxlength=5 size="5"></td>
|
| 436 |
+
</tr>
|
| 437 |
+
<tr>
|
| 438 |
+
<td><span class="add-on layout-text" title="Gravity range (constant) for compounds"> Compound Gravity Range </span></td>
|
| 439 |
+
<td><input id="gravityRangeCompound" class="textField form-control form-control-sm" type="text" value="1.5" maxlength=5 size="5"></td>
|
| 440 |
+
</tr>
|
| 441 |
+
<tr>
|
| 442 |
+
<td><span class="add-on layout-text" title="Maximum number of iterations to perform"> Number of Iterations </span></td>
|
| 443 |
+
<td><input id="numIter" class="textField form-control form-control-sm" type="text" value="2500" size="5"></td>
|
| 444 |
+
</tr>
|
| 445 |
+
<tr>
|
| 446 |
+
<td><span class="add-on layout-text" title="Amount of vertical space to put between degree zero nodes during tiling"> Tiling Vertical Padding </span></td>
|
| 447 |
+
<td><input id="tilingPaddingVertical" class="textField form-control form-control-sm" type="text" value="10" maxlength=5 size="5"></td>
|
| 448 |
+
</tr>
|
| 449 |
+
<tr>
|
| 450 |
+
<td><span class="add-on layout-text" title="Amount of horizontal space to put between degree zero nodes during tiling"> Tiling Horizontal Padding </span></td>
|
| 451 |
+
<td><input id="tilingPaddingHorizontal" class="textField form-control form-control-sm" type="text" value="10" maxlength=5 size="5"></td>
|
| 452 |
+
</tr>
|
| 453 |
+
<tr>
|
| 454 |
+
<td><span class="add-on layout-text" title="Initial cooling factor for incremental layout"> Incremental Cooling Factor </span></td>
|
| 455 |
+
<td><input id="initialEnergyOnIncremental" class="textField form-control form-control-sm" type="text" value="0.3" maxlength=5 size="5"></td>
|
| 456 |
+
</tr>
|
| 457 |
+
</table>
|
| 458 |
+
|
| 459 |
+
</div>
|
| 460 |
+
</div>
|
| 461 |
+
<div id="cy"></div>
|
| 462 |
+
|
| 463 |
+
</body>
|
| 464 |
+
|
| 465 |
+
</html>
|
tools/ui/node_modules/cytoscape-fcose/demo/demo-constraint-control.js
ADDED
|
@@ -0,0 +1,1482 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// define default stylesheet
|
| 2 |
+
let defaultStylesheet = [
|
| 3 |
+
{
|
| 4 |
+
selector: 'node',
|
| 5 |
+
style: {
|
| 6 |
+
'background-color': '#bdd3d4',
|
| 7 |
+
'label': 'data(id)',
|
| 8 |
+
'text-valign': 'center',
|
| 9 |
+
'background-opacity': 0.7
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
|
| 13 |
+
{
|
| 14 |
+
selector: ':parent',
|
| 15 |
+
style: {
|
| 16 |
+
// 'background-opacity': 0.333,
|
| 17 |
+
'background-color': '#e8e8e8',
|
| 18 |
+
'border-color': '#DADADA',
|
| 19 |
+
// 'border-width': 3,
|
| 20 |
+
'text-valign': 'bottom'
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
|
| 24 |
+
{
|
| 25 |
+
selector: 'edge',
|
| 26 |
+
style: {
|
| 27 |
+
'curve-style': 'straight',
|
| 28 |
+
'line-color': '#bdd3d4'
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
|
| 32 |
+
{
|
| 33 |
+
selector: 'node:selected',
|
| 34 |
+
style: {
|
| 35 |
+
'background-color': '#33ff00',
|
| 36 |
+
'border-color': '#22ee00'
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
|
| 40 |
+
{
|
| 41 |
+
selector: 'node.fixed',
|
| 42 |
+
style: {
|
| 43 |
+
'shape': 'diamond',
|
| 44 |
+
'background-color': '#9D9696',
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
|
| 48 |
+
{
|
| 49 |
+
selector: 'node.fixed:selected',
|
| 50 |
+
style: {
|
| 51 |
+
'background-color': '#33ff00',
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
|
| 55 |
+
{
|
| 56 |
+
selector: 'node.alignment',
|
| 57 |
+
style: {
|
| 58 |
+
'shape': 'round-heptagon',
|
| 59 |
+
'background-color': '#fef2d1',
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
|
| 63 |
+
{
|
| 64 |
+
selector: 'node.alignment:selected',
|
| 65 |
+
style: {
|
| 66 |
+
'background-color': '#33ff00',
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
|
| 70 |
+
{
|
| 71 |
+
selector: 'node.relative',
|
| 72 |
+
style: {
|
| 73 |
+
'shape': 'rectangle',
|
| 74 |
+
'background-color': '#fed3d1',
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
|
| 78 |
+
{
|
| 79 |
+
selector: 'node.relative:selected',
|
| 80 |
+
style: {
|
| 81 |
+
'background-color': '#33ff00',
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
|
| 85 |
+
{
|
| 86 |
+
selector: 'edge:selected',
|
| 87 |
+
style: {
|
| 88 |
+
'line-color': '#33ff00'
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
];
|
| 92 |
+
|
| 93 |
+
let cy = window.cy = cytoscape({
|
| 94 |
+
container: document.getElementById('cy'),
|
| 95 |
+
ready: function(){
|
| 96 |
+
let layoutUtilities = this.layoutUtilities({
|
| 97 |
+
desiredAspectRatio: this.width()/this.height()
|
| 98 |
+
});
|
| 99 |
+
|
| 100 |
+
this.nodes().forEach(function(node){
|
| 101 |
+
let size = Math.random()*40+30;
|
| 102 |
+
node.css("width", size);
|
| 103 |
+
node.css("height", size);
|
| 104 |
+
});
|
| 105 |
+
|
| 106 |
+
let initialLayout = this.layout({name: 'fcose', step: 'all', animationEasing: 'ease-out'});
|
| 107 |
+
initialLayout.pon('layoutstart').then(function( event ){
|
| 108 |
+
constraints.fixedNodeConstraint = JSON.parse(JSON.stringify(sample1_constraints.fixedNodeConstraint));
|
| 109 |
+
clearConstraintListTable();
|
| 110 |
+
fillConstraintListTableFromConstraints();
|
| 111 |
+
});
|
| 112 |
+
initialLayout.run();
|
| 113 |
+
},
|
| 114 |
+
layout: {name: 'preset'},
|
| 115 |
+
style: defaultStylesheet,
|
| 116 |
+
elements: {
|
| 117 |
+
nodes: [
|
| 118 |
+
{data: {id: 'n1'}},
|
| 119 |
+
{data: {id: 'n2'}},
|
| 120 |
+
{data: {id: 'n3', parent: 'n8'}},
|
| 121 |
+
{data: {id: 'n5'}},
|
| 122 |
+
{data: {id: 'n6', parent: 'n8'}},
|
| 123 |
+
{data: {id: 'n7', parent: 'n8'}},
|
| 124 |
+
{data: {id: 'n8'}},
|
| 125 |
+
{data: {id: 'f1'}, classes: ['fixed']},
|
| 126 |
+
{data: {id: 'f2'}, classes: ['fixed']},
|
| 127 |
+
{data: {id: 'f3', parent: 'n8'}, classes: ['fixed']},
|
| 128 |
+
],
|
| 129 |
+
edges: [
|
| 130 |
+
{data: {source: 'n1', target: 'f1'}},
|
| 131 |
+
{data: {source: 'n1', target: 'n3'}},
|
| 132 |
+
{data: {source: 'f1', target: 'n2'}},
|
| 133 |
+
{data: {source: 'f1', target: 'n3'}},
|
| 134 |
+
{data: {source: 'n3', target: 'f2'}},
|
| 135 |
+
{data: {source: 'f2', target: 'n5'}},
|
| 136 |
+
{data: {source: 'n5', target: 'n8'}},
|
| 137 |
+
{data: {source: 'n6', target: 'n3'}},
|
| 138 |
+
{data: {source: 'n6', target: 'n7'}},
|
| 139 |
+
{data: {source: 'n6', target: 'f3'}}
|
| 140 |
+
]
|
| 141 |
+
},
|
| 142 |
+
wheelSensitivity: 0.3
|
| 143 |
+
});
|
| 144 |
+
|
| 145 |
+
let constraints = {
|
| 146 |
+
fixedNodeConstraint: undefined,
|
| 147 |
+
alignmentConstraint: undefined,
|
| 148 |
+
relativePlacementConstraint: undefined
|
| 149 |
+
};
|
| 150 |
+
|
| 151 |
+
// Handle Menu ------------------------------------------
|
| 152 |
+
|
| 153 |
+
// Graph file input
|
| 154 |
+
document.getElementById("openFile").addEventListener("click", function () {
|
| 155 |
+
document.getElementById("inputFile").click();
|
| 156 |
+
});
|
| 157 |
+
|
| 158 |
+
$("body").on("change", "#inputFile", function (e, fileObject) {
|
| 159 |
+
var inputFile = this.files[0] || fileObject;
|
| 160 |
+
|
| 161 |
+
if (inputFile) {
|
| 162 |
+
var fileExtension = inputFile.name.split('.').pop();
|
| 163 |
+
var r = new FileReader();
|
| 164 |
+
r.onload = function (e) {
|
| 165 |
+
cy.remove(cy.elements());
|
| 166 |
+
var content = e.target.result;
|
| 167 |
+
if (fileExtension == "graphml" || fileExtension == "xml") {
|
| 168 |
+
cy.graphml({layoutBy: 'null'});
|
| 169 |
+
cy.graphml(content);
|
| 170 |
+
// updateGraphStyle();
|
| 171 |
+
} else if (fileExtension == "json") {
|
| 172 |
+
cy.json({elements: JSON.parse(content)});
|
| 173 |
+
// updateGraphStyle();
|
| 174 |
+
} else {
|
| 175 |
+
var tsv = cy.tsv();
|
| 176 |
+
tsv.importTo(content);
|
| 177 |
+
}
|
| 178 |
+
};
|
| 179 |
+
r.addEventListener('loadend', function () {
|
| 180 |
+
onLoad();
|
| 181 |
+
clearConstraintListTable();
|
| 182 |
+
constraints.fixedNodeConstraint = undefined;
|
| 183 |
+
constraints.alignmentConstraint = undefined;
|
| 184 |
+
constraints.relativePlacementConstraint = undefined;
|
| 185 |
+
|
| 186 |
+
document.getElementById("nodeList").addEventListener("change", function(){
|
| 187 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 188 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 189 |
+
});
|
| 190 |
+
|
| 191 |
+
// if (inputFile.name == "samples/sample1.graphml") {
|
| 192 |
+
// cy.nodes().forEach(function (node, i) {
|
| 193 |
+
// let width = [30, 70, 110];
|
| 194 |
+
// let size = width[i % 3];
|
| 195 |
+
// node.css("width", size);
|
| 196 |
+
// node.css("height", size);
|
| 197 |
+
// });
|
| 198 |
+
// }
|
| 199 |
+
|
| 200 |
+
});
|
| 201 |
+
r.readAsText(inputFile);
|
| 202 |
+
} else {
|
| 203 |
+
alert("Failed to load file");
|
| 204 |
+
}
|
| 205 |
+
$("#inputFile").val(null);
|
| 206 |
+
});
|
| 207 |
+
|
| 208 |
+
let updateGraphStyle = function () {
|
| 209 |
+
cy.nodes().forEach(function (node) {
|
| 210 |
+
node.style({
|
| 211 |
+
'background-image': node.data('background-image'),
|
| 212 |
+
'width': node.data('bbox').w,
|
| 213 |
+
'height': node.data('bbox').h,
|
| 214 |
+
"border-width": node.data('border-width'),
|
| 215 |
+
"border-color": node.data('border-color'),
|
| 216 |
+
"background-color": node.data('background-color'),
|
| 217 |
+
"background-opacity": node.data('background-opacity'),
|
| 218 |
+
"background-fit": "cover",
|
| 219 |
+
"background-position-x": "50%",
|
| 220 |
+
"background-position-y": "50%",
|
| 221 |
+
"text-wrap": "wrap",
|
| 222 |
+
"font-size": node.data('font-size'),
|
| 223 |
+
"color": node.data('color')
|
| 224 |
+
});
|
| 225 |
+
|
| 226 |
+
if (node.data('label')) {
|
| 227 |
+
node.style({
|
| 228 |
+
'label': node.data('label')
|
| 229 |
+
});
|
| 230 |
+
}
|
| 231 |
+
});
|
| 232 |
+
|
| 233 |
+
cy.edges().forEach(function (edge) {
|
| 234 |
+
edge.style({
|
| 235 |
+
'width': edge.data('width'),
|
| 236 |
+
"line-color": edge.data('line-color')
|
| 237 |
+
});
|
| 238 |
+
});
|
| 239 |
+
};
|
| 240 |
+
|
| 241 |
+
$("body").on("change", "#inputConstraint", function (e, fileObject) {
|
| 242 |
+
var inputFile = this.files[0] || fileObject;
|
| 243 |
+
|
| 244 |
+
if (inputFile) {
|
| 245 |
+
var fileExtension = inputFile.name.split('.').pop();
|
| 246 |
+
var r = new FileReader();
|
| 247 |
+
r.onload = function (e) {
|
| 248 |
+
var content = e.target.result;
|
| 249 |
+
if (fileExtension == "json") {
|
| 250 |
+
constraints.fixedNodeConstraint = undefined;
|
| 251 |
+
constraints.alignmentConstraint = undefined;
|
| 252 |
+
constraints.relativePlacementConstraint = undefined;
|
| 253 |
+
let constraintObject = JSON.parse( content );
|
| 254 |
+
if(constraintObject.fixedNodeConstraint)
|
| 255 |
+
constraints.fixedNodeConstraint = constraintObject.fixedNodeConstraint;
|
| 256 |
+
if(constraintObject.alignmentConstraint)
|
| 257 |
+
constraints.alignmentConstraint = constraintObject.alignmentConstraint;
|
| 258 |
+
if(constraintObject.relativePlacementConstraint)
|
| 259 |
+
constraints.relativePlacementConstraint = constraintObject.relativePlacementConstraint;
|
| 260 |
+
clearConstraintListTable();
|
| 261 |
+
fillConstraintListTableFromConstraints();
|
| 262 |
+
}
|
| 263 |
+
};
|
| 264 |
+
r.addEventListener('loadend', function () {
|
| 265 |
+
});
|
| 266 |
+
r.readAsText(inputFile);
|
| 267 |
+
} else {
|
| 268 |
+
alert("Failed to load file");
|
| 269 |
+
}
|
| 270 |
+
$("#inputFile").val(null);
|
| 271 |
+
});
|
| 272 |
+
|
| 273 |
+
document.getElementById("exportConstraint").addEventListener("click", function(){
|
| 274 |
+
let constraintString = JSON.stringify(constraints, null, 2);
|
| 275 |
+
download('constraint.json', constraintString);
|
| 276 |
+
});
|
| 277 |
+
|
| 278 |
+
let download = function(filename, text) {
|
| 279 |
+
var pom = document.createElement('a');
|
| 280 |
+
pom.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
|
| 281 |
+
pom.setAttribute('download', filename);
|
| 282 |
+
|
| 283 |
+
if (document.createEvent) {
|
| 284 |
+
var event = document.createEvent('MouseEvents');
|
| 285 |
+
event.initEvent('click', true, true);
|
| 286 |
+
pom.dispatchEvent(event);
|
| 287 |
+
}
|
| 288 |
+
else {
|
| 289 |
+
pom.click();
|
| 290 |
+
}
|
| 291 |
+
};
|
| 292 |
+
|
| 293 |
+
/*
|
| 294 |
+
// SVG
|
| 295 |
+
document.getElementById("saveAsSVG").addEventListener("click", function(){
|
| 296 |
+
let svgContent = cy.svg({scale: 1, full: true});
|
| 297 |
+
let blob = new Blob([svgContent], {type:"image/svg+xml;charset=utf-8"});
|
| 298 |
+
saveAs(blob, "graph.svg");
|
| 299 |
+
});
|
| 300 |
+
|
| 301 |
+
// see http://stackoverflow.com/questions/16245767/creating-a-blob-from-a-base64-string-in-javascript
|
| 302 |
+
let b64toBlob = function(b64Data, contentType, sliceSize) {
|
| 303 |
+
contentType = contentType || '';
|
| 304 |
+
sliceSize = sliceSize || 512;
|
| 305 |
+
|
| 306 |
+
var byteCharacters = atob(b64Data);
|
| 307 |
+
var byteArrays = [];
|
| 308 |
+
|
| 309 |
+
for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) {
|
| 310 |
+
var slice = byteCharacters.slice(offset, offset + sliceSize);
|
| 311 |
+
|
| 312 |
+
var byteNumbers = new Array(slice.length);
|
| 313 |
+
for (var i = 0; i < slice.length; i++) {
|
| 314 |
+
byteNumbers[i] = slice.charCodeAt(i);
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
var byteArray = new Uint8Array(byteNumbers);
|
| 318 |
+
|
| 319 |
+
byteArrays.push(byteArray);
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
var blob = new Blob(byteArrays, {type: contentType});
|
| 323 |
+
return blob;
|
| 324 |
+
}
|
| 325 |
+
*/
|
| 326 |
+
|
| 327 |
+
// Sample File Changer
|
| 328 |
+
let sampleFileNames = {
|
| 329 |
+
"sample5" : unix,
|
| 330 |
+
"sample5_constraints" : unix_constraints,
|
| 331 |
+
"sample6" : chalk,
|
| 332 |
+
"sample6_constraints" : chalk_constraints,
|
| 333 |
+
"sample7" : uwsn,
|
| 334 |
+
"sample7_constraints" : uwsn_constraints,
|
| 335 |
+
"sample8" : call_graph,
|
| 336 |
+
"sample8_constraints" : callGraph_constraints,
|
| 337 |
+
"sample9" : wsn,
|
| 338 |
+
"sample9_constraints" : wsn_constraints,
|
| 339 |
+
};
|
| 340 |
+
|
| 341 |
+
document.getElementById("sample").addEventListener("change", function(){
|
| 342 |
+
cy.startBatch();
|
| 343 |
+
cy.elements().remove();
|
| 344 |
+
cy.style().clear();
|
| 345 |
+
|
| 346 |
+
var selectionObject = document.getElementById("sample");
|
| 347 |
+
|
| 348 |
+
var selected = selectionObject.options[selectionObject.selectedIndex].index;
|
| 349 |
+
if(selected == 0){
|
| 350 |
+
cy.add(elements1);
|
| 351 |
+
applyPostLoadOperations(selected);
|
| 352 |
+
}
|
| 353 |
+
else if(selected == 1){
|
| 354 |
+
cy.add(elements2);
|
| 355 |
+
applyPostLoadOperations(selected);
|
| 356 |
+
}
|
| 357 |
+
else if(selected == 2){
|
| 358 |
+
cy.add(elements3);
|
| 359 |
+
applyPostLoadOperations(selected);
|
| 360 |
+
}
|
| 361 |
+
else if(selected == 3){
|
| 362 |
+
cy.add(elements4);
|
| 363 |
+
applyPostLoadOperations(selected);
|
| 364 |
+
}
|
| 365 |
+
else if(selected == 4){
|
| 366 |
+
cy.add(elements5);
|
| 367 |
+
applyPostLoadOperations(selected);
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
function applyPostLoadOperations(selected){
|
| 371 |
+
cy.nodes().forEach(function(node){
|
| 372 |
+
let size = Math.random()*40+30;
|
| 373 |
+
node.css("width", size);
|
| 374 |
+
node.css("height", size);
|
| 375 |
+
});
|
| 376 |
+
cy.style(defaultStylesheet);
|
| 377 |
+
|
| 378 |
+
clearConstraintListTable();
|
| 379 |
+
constraints.fixedNodeConstraint = undefined;
|
| 380 |
+
constraints.alignmentConstraint = undefined;
|
| 381 |
+
constraints.relativePlacementConstraint = undefined;
|
| 382 |
+
|
| 383 |
+
if(selected == 0){
|
| 384 |
+
if(sample1_constraints.fixedNodeConstraint)
|
| 385 |
+
constraints.fixedNodeConstraint = JSON.parse(JSON.stringify(sample1_constraints.fixedNodeConstraint));
|
| 386 |
+
clearConstraintListTable();
|
| 387 |
+
fillConstraintListTableFromConstraints();
|
| 388 |
+
}
|
| 389 |
+
if(selected == 1){
|
| 390 |
+
if(sample2_constraints.alignmentConstraint)
|
| 391 |
+
constraints.alignmentConstraint = JSON.parse(JSON.stringify(sample2_constraints.alignmentConstraint));
|
| 392 |
+
clearConstraintListTable();
|
| 393 |
+
fillConstraintListTableFromConstraints();
|
| 394 |
+
}
|
| 395 |
+
if(selected == 2){
|
| 396 |
+
if(sample3_constraints.relativePlacementConstraint)
|
| 397 |
+
constraints.relativePlacementConstraint = JSON.parse(JSON.stringify(sample3_constraints.relativePlacementConstraint));
|
| 398 |
+
clearConstraintListTable();
|
| 399 |
+
fillConstraintListTableFromConstraints();
|
| 400 |
+
}
|
| 401 |
+
if(selected == 3){
|
| 402 |
+
if(sample4_constraints.fixedNodeConstraint)
|
| 403 |
+
constraints.fixedNodeConstraint = JSON.parse(JSON.stringify(sample4_constraints.fixedNodeConstraint));
|
| 404 |
+
if(sample4_constraints.alignmentConstraint)
|
| 405 |
+
constraints.alignmentConstraint = JSON.parse(JSON.stringify(sample4_constraints.alignmentConstraint));
|
| 406 |
+
if(sample4_constraints.relativePlacementConstraint)
|
| 407 |
+
constraints.relativePlacementConstraint = JSON.parse(JSON.stringify(sample4_constraints.relativePlacementConstraint));
|
| 408 |
+
clearConstraintListTable();
|
| 409 |
+
fillConstraintListTableFromConstraints();
|
| 410 |
+
}
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
if (sampleFileNames[selectionObject.value]) {
|
| 414 |
+
//$.getJSON("samples/" + sampleFileNames[selectionObject.value] + ".json", function(json) {
|
| 415 |
+
let json = sampleFileNames[selectionObject.value];
|
| 416 |
+
cy.json(json);
|
| 417 |
+
cy.nodes().forEach(function (node) {
|
| 418 |
+
node.style({
|
| 419 |
+
'width': node.data('bbox').w,
|
| 420 |
+
'height': node.data('bbox').h,
|
| 421 |
+
"border-width": node.data('border-width'),
|
| 422 |
+
// "border-color": node.data('border-color'),
|
| 423 |
+
});
|
| 424 |
+
|
| 425 |
+
if (node.data('class') === 'process' || node.data('class') === 'association' || node.data('class') === "dissociation") {
|
| 426 |
+
node.style({
|
| 427 |
+
'background-color': node.data('background-color'),
|
| 428 |
+
'background-opacity': 0.3
|
| 429 |
+
});
|
| 430 |
+
} else {
|
| 431 |
+
node.style({
|
| 432 |
+
'background-image': node.data('background-image'),
|
| 433 |
+
// 'background-color': node.data('background-color'),
|
| 434 |
+
'background-opacity': node.data('background-opacity'),
|
| 435 |
+
'background-fit': 'contain',
|
| 436 |
+
'background-position-x': '50%',
|
| 437 |
+
'background-position-y': '50%',
|
| 438 |
+
});
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
if (node.data('label')) {
|
| 442 |
+
node.style({
|
| 443 |
+
'label': node.data('label'),
|
| 444 |
+
'text-wrap': 'wrap',
|
| 445 |
+
'font-size': node.data('font-size'),
|
| 446 |
+
'color': node.data('color')
|
| 447 |
+
});
|
| 448 |
+
}
|
| 449 |
+
});
|
| 450 |
+
|
| 451 |
+
constraints.fixedNodeConstraint = undefined;
|
| 452 |
+
constraints.alignmentConstraint = undefined;
|
| 453 |
+
constraints.relativePlacementConstraint = undefined;
|
| 454 |
+
|
| 455 |
+
let constraintObject = sampleFileNames[selectionObject.value + "_constraints"];
|
| 456 |
+
if(constraintObject.fixedNodeConstraint)
|
| 457 |
+
constraints.fixedNodeConstraint = JSON.parse(JSON.stringify(constraintObject.fixedNodeConstraint));
|
| 458 |
+
if(constraintObject.alignmentConstraint)
|
| 459 |
+
constraints.alignmentConstraint = JSON.parse(JSON.stringify(constraintObject.alignmentConstraint));
|
| 460 |
+
if(constraintObject.relativePlacementConstraint)
|
| 461 |
+
constraints.relativePlacementConstraint = JSON.parse(JSON.stringify(constraintObject.relativePlacementConstraint));
|
| 462 |
+
clearConstraintListTable();
|
| 463 |
+
fillConstraintListTableFromConstraints();
|
| 464 |
+
// });
|
| 465 |
+
|
| 466 |
+
}
|
| 467 |
+
cy.endBatch();
|
| 468 |
+
|
| 469 |
+
if(selected == 4){
|
| 470 |
+
cy.nodes().not(":parent").positions(function(node, i){
|
| 471 |
+
return {
|
| 472 |
+
x: elements5_positions[i].x,
|
| 473 |
+
y: elements5_positions[i].y
|
| 474 |
+
};
|
| 475 |
+
});
|
| 476 |
+
cy.layout({name: "preset", fit:true, animate:true, animationDuration: 1000, animationEasing: undefined}).run();
|
| 477 |
+
}
|
| 478 |
+
else {
|
| 479 |
+
let finalOptions = Object.assign({}, options);
|
| 480 |
+
finalOptions.step = "all";
|
| 481 |
+
cy.layout(finalOptions).run();
|
| 482 |
+
}
|
| 483 |
+
// cy.layout({name: 'random', padding: 100}).run();
|
| 484 |
+
onLoad();
|
| 485 |
+
|
| 486 |
+
document.getElementById("nodeList").addEventListener("change", function(){
|
| 487 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 488 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 489 |
+
});
|
| 490 |
+
});
|
| 491 |
+
|
| 492 |
+
// Layout buttons
|
| 493 |
+
|
| 494 |
+
let options = {
|
| 495 |
+
name: 'fcose',
|
| 496 |
+
quality: "default",
|
| 497 |
+
randomize: true,
|
| 498 |
+
animate: true,
|
| 499 |
+
animationDuration: 1000,
|
| 500 |
+
animationEasing: undefined,
|
| 501 |
+
fit: true,
|
| 502 |
+
padding: 30,
|
| 503 |
+
nestingFactor: 0.1,
|
| 504 |
+
gravityRangeCompound: 1.5,
|
| 505 |
+
gravityCompound: 1.0
|
| 506 |
+
};
|
| 507 |
+
|
| 508 |
+
// Randomize
|
| 509 |
+
document.getElementById("randomizeButton").addEventListener("click", function () {
|
| 510 |
+
var layout = cy.layout({
|
| 511 |
+
name: 'random',
|
| 512 |
+
animate: true
|
| 513 |
+
});
|
| 514 |
+
|
| 515 |
+
layout.run();
|
| 516 |
+
});
|
| 517 |
+
|
| 518 |
+
// Fcose
|
| 519 |
+
document.getElementById("fcoseButton").addEventListener("click", function(){
|
| 520 |
+
let finalOptions = Object.assign({}, options);
|
| 521 |
+
finalOptions.step = "all";
|
| 522 |
+
finalOptions.randomize = !(document.getElementById("incremental").checked);
|
| 523 |
+
|
| 524 |
+
if(document.getElementById("sample").value == "sample6"){
|
| 525 |
+
finalOptions.nestingFactor = 0.4;
|
| 526 |
+
finalOptions.gravityRangeCompound = 0;
|
| 527 |
+
finalOptions.gravityCompound = 3.0;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
if(document.getElementById("sample").value == "sample8"){
|
| 531 |
+
finalOptions.idealEdgeLength = 70;
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
finalOptions.fixedNodeConstraint = constraints.fixedNodeConstraint ? constraints.fixedNodeConstraint : undefined;
|
| 535 |
+
finalOptions.alignmentConstraint = constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined;
|
| 536 |
+
finalOptions.relativePlacementConstraint = constraints.relativePlacementConstraint ? constraints.relativePlacementConstraint : undefined;
|
| 537 |
+
let layout = cy.layout(finalOptions);
|
| 538 |
+
layout.one("layoutstop", function( event ){
|
| 539 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 540 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 541 |
+
});
|
| 542 |
+
cy.layoutUtilities("get").setOption("randomize", finalOptions.randomize);
|
| 543 |
+
// let start = performance.now();
|
| 544 |
+
layout.run();
|
| 545 |
+
// console.log((performance.now() - start) + " ms" );
|
| 546 |
+
});
|
| 547 |
+
|
| 548 |
+
/*
|
| 549 |
+
// CoLa
|
| 550 |
+
document.getElementById("colaButton").addEventListener("click", function(){
|
| 551 |
+
|
| 552 |
+
if(constraints.fixedNodeConstraint) {
|
| 553 |
+
constraints.fixedNodeConstraint.forEach(function(constraint){
|
| 554 |
+
cy.getElementById(constraint.nodeId).position({x: constraint.position.x, y: constraint.position.y});
|
| 555 |
+
cy.getElementById(constraint.nodeId).lock();
|
| 556 |
+
});
|
| 557 |
+
}
|
| 558 |
+
|
| 559 |
+
let gapInequalities = [];
|
| 560 |
+
if(constraints.relativePlacementConstraint) {
|
| 561 |
+
constraints.relativePlacementConstraint.forEach(function(constraint){
|
| 562 |
+
if(constraint.left) {
|
| 563 |
+
gapInequalities.push({"axis": "x", "left": cy.getElementById(constraint.left), "right": cy.getElementById(constraint.right), "gap": constraint.gap});
|
| 564 |
+
}
|
| 565 |
+
else {
|
| 566 |
+
gapInequalities.push({"axis": "y", "left": cy.getElementById(constraint.top), "right": cy.getElementById(constraint.bottom), "gap": constraint.gap});
|
| 567 |
+
}
|
| 568 |
+
});
|
| 569 |
+
}
|
| 570 |
+
|
| 571 |
+
let options = {
|
| 572 |
+
name: 'cola',
|
| 573 |
+
animate: false,
|
| 574 |
+
maxSimulationTime: 20000,
|
| 575 |
+
randomize: true,
|
| 576 |
+
unconstrIter: 10,
|
| 577 |
+
userConstIter: 15,
|
| 578 |
+
allConstIter: 20,
|
| 579 |
+
handleDisconnected: false,
|
| 580 |
+
edgeLength: 50,
|
| 581 |
+
alignment: constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined,
|
| 582 |
+
gapInequalities: gapInequalities
|
| 583 |
+
};
|
| 584 |
+
|
| 585 |
+
let layout = cy.layout(options);
|
| 586 |
+
layout.one("layoutstop", function( event ){
|
| 587 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 588 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 589 |
+
});
|
| 590 |
+
|
| 591 |
+
let start = performance.now();
|
| 592 |
+
layout.run();
|
| 593 |
+
console.log((performance.now() - start) + " ms" );
|
| 594 |
+
|
| 595 |
+
cy.nodes().unlock();
|
| 596 |
+
});
|
| 597 |
+
*/
|
| 598 |
+
|
| 599 |
+
// Draft
|
| 600 |
+
document.getElementById("draftButton").addEventListener("click", function(){
|
| 601 |
+
let finalOptions = Object.assign({}, options);
|
| 602 |
+
finalOptions.quality = "draft";
|
| 603 |
+
finalOptions.fixedNodeConstraint = constraints.fixedNodeConstraint ? constraints.fixedNodeConstraint : undefined;
|
| 604 |
+
finalOptions.alignmentConstraint = constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined;
|
| 605 |
+
finalOptions.relativePlacementConstraint = constraints.relativePlacementConstraint ? constraints.relativePlacementConstraint : undefined;
|
| 606 |
+
let layout = cy.layout(finalOptions);
|
| 607 |
+
layout.one("layoutstop", function( event ){
|
| 608 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 609 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 610 |
+
});
|
| 611 |
+
cy.layoutUtilities("get").setOption("randomize", true);
|
| 612 |
+
layout.run();
|
| 613 |
+
});
|
| 614 |
+
|
| 615 |
+
// Transform
|
| 616 |
+
document.getElementById("transformButton").addEventListener("click", function(){
|
| 617 |
+
let finalOptions = Object.assign({}, options);
|
| 618 |
+
finalOptions.step = "transformed";
|
| 619 |
+
finalOptions.fixedNodeConstraint = constraints.fixedNodeConstraint ? constraints.fixedNodeConstraint : undefined;
|
| 620 |
+
finalOptions.alignmentConstraint = constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined;
|
| 621 |
+
finalOptions.relativePlacementConstraint = constraints.relativePlacementConstraint ? constraints.relativePlacementConstraint : undefined;
|
| 622 |
+
|
| 623 |
+
let layout = cy.layout(finalOptions);
|
| 624 |
+
layout.one("layoutstop", function( event ){
|
| 625 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 626 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 627 |
+
});
|
| 628 |
+
layout.run();
|
| 629 |
+
});
|
| 630 |
+
|
| 631 |
+
// Enforce
|
| 632 |
+
document.getElementById("enforceButton").addEventListener("click", function(){
|
| 633 |
+
let finalOptions = Object.assign({}, options);
|
| 634 |
+
finalOptions.step = "enforced";
|
| 635 |
+
|
| 636 |
+
finalOptions.fixedNodeConstraint = constraints.fixedNodeConstraint ? constraints.fixedNodeConstraint : undefined;
|
| 637 |
+
finalOptions.alignmentConstraint = constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined;
|
| 638 |
+
finalOptions.relativePlacementConstraint = constraints.relativePlacementConstraint ? constraints.relativePlacementConstraint : undefined;
|
| 639 |
+
|
| 640 |
+
let layout = cy.layout(finalOptions);
|
| 641 |
+
layout.one("layoutstop", function( event ){
|
| 642 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 643 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 644 |
+
});
|
| 645 |
+
layout.run();
|
| 646 |
+
});
|
| 647 |
+
|
| 648 |
+
document.getElementById("coseButton").addEventListener("click", function(){
|
| 649 |
+
let finalOptions = Object.assign({}, options);
|
| 650 |
+
|
| 651 |
+
if(document.getElementById("sample").value == "sample6"){
|
| 652 |
+
finalOptions.nestingFactor = 0.4;
|
| 653 |
+
finalOptions.gravityRangeCompound = 0;
|
| 654 |
+
finalOptions.gravityCompound = 3.0;
|
| 655 |
+
}
|
| 656 |
+
|
| 657 |
+
if(document.getElementById("sample").value == "sample8"){
|
| 658 |
+
finalOptions.idealEdgeLength = 70;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
finalOptions.fixedNodeConstraint = constraints.fixedNodeConstraint ? constraints.fixedNodeConstraint : undefined;
|
| 662 |
+
finalOptions.alignmentConstraint = constraints.alignmentConstraint ? constraints.alignmentConstraint : undefined;
|
| 663 |
+
finalOptions.relativePlacementConstraint = constraints.relativePlacementConstraint ? constraints.relativePlacementConstraint : undefined;
|
| 664 |
+
|
| 665 |
+
finalOptions.randomize = false;
|
| 666 |
+
finalOptions.step = "cose";
|
| 667 |
+
let layout = cy.layout(finalOptions);
|
| 668 |
+
layout.one("layoutstop", function( event ){
|
| 669 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 670 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 671 |
+
});
|
| 672 |
+
cy.layoutUtilities("get").setOption("randomize", finalOptions.randomize);
|
| 673 |
+
layout.run();
|
| 674 |
+
});
|
| 675 |
+
|
| 676 |
+
// Handle Constraints ----------------------------
|
| 677 |
+
|
| 678 |
+
let onLoad = function(){
|
| 679 |
+
let nodeList = "<select id='nodeList' class='custom-select custom-select-sm' style='width:auto;' onchange='onSelect()'>";
|
| 680 |
+
let simpleNodes = cy.nodes().not(":parent");
|
| 681 |
+
for(let i = 0; i < simpleNodes.length; i++){
|
| 682 |
+
let node = simpleNodes[i];
|
| 683 |
+
let label = (node.data('label'))?(node.data('label')):(node.id());
|
| 684 |
+
if(label.length > 15)
|
| 685 |
+
label = label.substring(0, 12).concat("...");
|
| 686 |
+
nodeList += "<option value='" + cy.nodes().not(":parent")[i].id() + "'>" + label + "</option>";
|
| 687 |
+
}
|
| 688 |
+
let listComponentForFixed = document.getElementById("nodeListColumn");
|
| 689 |
+
listComponentForFixed.innerHTML = nodeList;
|
| 690 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.nodes().not(":parent")[0].position("x"));
|
| 691 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.nodes().not(":parent")[0].position("y"));
|
| 692 |
+
|
| 693 |
+
let nodeListRP1 = "<select id='nodeListRP1' class='custom-select custom-select-sm' style='width:auto;' onchange='onSelectRP1()'>";
|
| 694 |
+
for(let i = 0; i < simpleNodes.length; i++){
|
| 695 |
+
let node = simpleNodes[i];
|
| 696 |
+
let label = (node.data('label'))?(node.data('label')):(node.id());
|
| 697 |
+
if(label.length > 15)
|
| 698 |
+
label = label.substring(0, 12).concat("...");
|
| 699 |
+
nodeListRP1 += "<option value=" + cy.nodes().not(":parent")[i].id() + ">" + label + "</option>";
|
| 700 |
+
}
|
| 701 |
+
|
| 702 |
+
let nodeListRP2 = "<select id='nodeListRP2' class='custom-select custom-select-sm' style='width:auto;' onchange='onSelectRP2()'>";
|
| 703 |
+
for(let i = 0; i < simpleNodes.length; i++){
|
| 704 |
+
let node = simpleNodes[i];
|
| 705 |
+
let label = (node.data('label'))?(node.data('label')):(node.id());
|
| 706 |
+
if(label.length > 15)
|
| 707 |
+
label = label.substring(0, 12).concat("...");
|
| 708 |
+
nodeListRP2 += "<option value=" + cy.nodes().not(":parent")[i].id() + ">" + label + "</option>";
|
| 709 |
+
}
|
| 710 |
+
|
| 711 |
+
let listComponentForRP1 = document.getElementById("nodeListColumnRP1");
|
| 712 |
+
listComponentForRP1.innerHTML = nodeListRP1;
|
| 713 |
+
|
| 714 |
+
let listComponentForRP2 = document.getElementById("nodeListColumnRP2");
|
| 715 |
+
listComponentForRP2.innerHTML = nodeListRP2;
|
| 716 |
+
};
|
| 717 |
+
|
| 718 |
+
let onSelect = function(){
|
| 719 |
+
let id = document.getElementById("nodeList").value;
|
| 720 |
+
cy.elements().unselect();
|
| 721 |
+
cy.getElementById(id).select();
|
| 722 |
+
};
|
| 723 |
+
|
| 724 |
+
let onSelectRP1 = function(){
|
| 725 |
+
let id = document.getElementById("nodeListRP1").value;
|
| 726 |
+
cy.elements().unselect();
|
| 727 |
+
cy.getElementById(id).select();
|
| 728 |
+
};
|
| 729 |
+
|
| 730 |
+
let onSelectRP2 = function(){
|
| 731 |
+
let id = document.getElementById("nodeListRP2").value;
|
| 732 |
+
cy.elements().unselect();
|
| 733 |
+
cy.getElementById(id).select();
|
| 734 |
+
};
|
| 735 |
+
|
| 736 |
+
document.addEventListener('DOMContentLoaded', function(){
|
| 737 |
+
document.getElementById("nodeList").addEventListener("change", function(){
|
| 738 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 739 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 740 |
+
});
|
| 741 |
+
});
|
| 742 |
+
|
| 743 |
+
cy.ready( function(event){
|
| 744 |
+
onLoad();
|
| 745 |
+
});
|
| 746 |
+
|
| 747 |
+
document.getElementById("nodeList").addEventListener("change", function(){
|
| 748 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 749 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 750 |
+
});
|
| 751 |
+
|
| 752 |
+
cy.on("position", "node", function(event) {
|
| 753 |
+
if(event.target.id() == document.getElementById("nodeList").value){
|
| 754 |
+
document.getElementById("fixedNodeX").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("x"));
|
| 755 |
+
document.getElementById("fixedNodeY").value = Math.round(cy.getElementById(document.getElementById("nodeList").value).position("y"));
|
| 756 |
+
}
|
| 757 |
+
});
|
| 758 |
+
|
| 759 |
+
// Adding Constraints
|
| 760 |
+
let constraintListTable = document.getElementById("constraintListTable");
|
| 761 |
+
|
| 762 |
+
document.getElementById("fixedNode").addEventListener("click",function(){
|
| 763 |
+
let nodeId = document.getElementById("nodeList").value;
|
| 764 |
+
let exist = false;
|
| 765 |
+
if(constraints.fixedNodeConstraint){
|
| 766 |
+
constraints.fixedNodeConstraint.forEach(function(constraintObject){
|
| 767 |
+
if(constraintObject.nodeId == nodeId){
|
| 768 |
+
exist = true;
|
| 769 |
+
}
|
| 770 |
+
});
|
| 771 |
+
}
|
| 772 |
+
if(!exist){
|
| 773 |
+
let fixedNode = {nodeId: nodeId, position: Object.assign({}, {x: parseInt(document.getElementById("fixedNodeX").value), y: parseInt(document.getElementById("fixedNodeY").value)})};
|
| 774 |
+
if(constraints.fixedNodeConstraint){
|
| 775 |
+
constraints.fixedNodeConstraint.push(fixedNode);
|
| 776 |
+
}
|
| 777 |
+
else{
|
| 778 |
+
constraints.fixedNodeConstraint = [fixedNode];
|
| 779 |
+
}
|
| 780 |
+
|
| 781 |
+
addToHistory("Fixed", [nodeId], fixedNode.position);
|
| 782 |
+
}
|
| 783 |
+
});
|
| 784 |
+
|
| 785 |
+
document.getElementById("verticalAlignment").addEventListener("click", function(){
|
| 786 |
+
if(cy.nodes(":selected").not(":parent").length > 0){
|
| 787 |
+
let valignArray = [];
|
| 788 |
+
cy.nodes(":selected").not(":parent").forEach(function(node){
|
| 789 |
+
valignArray.push(node.id());
|
| 790 |
+
});
|
| 791 |
+
if(constraints.alignmentConstraint){
|
| 792 |
+
if(constraints.alignmentConstraint.vertical){
|
| 793 |
+
constraints.alignmentConstraint.vertical.push(valignArray);
|
| 794 |
+
}
|
| 795 |
+
else{
|
| 796 |
+
constraints.alignmentConstraint.vertical = [valignArray];
|
| 797 |
+
}
|
| 798 |
+
}
|
| 799 |
+
else{
|
| 800 |
+
constraints.alignmentConstraint = {};
|
| 801 |
+
constraints.alignmentConstraint.vertical = [valignArray];
|
| 802 |
+
}
|
| 803 |
+
addToHistory("Alignment", valignArray, 'vertical');
|
| 804 |
+
}
|
| 805 |
+
});
|
| 806 |
+
|
| 807 |
+
document.getElementById("horizontalAlignment").addEventListener("click", function(){
|
| 808 |
+
if(cy.nodes(":selected").not(":parent").length > 0){
|
| 809 |
+
let halignArray = [];
|
| 810 |
+
cy.nodes(":selected").not(":parent").forEach(function(node){
|
| 811 |
+
halignArray.push(node.id());
|
| 812 |
+
});
|
| 813 |
+
if(constraints.alignmentConstraint){
|
| 814 |
+
if(constraints.alignmentConstraint.horizontal){
|
| 815 |
+
constraints.alignmentConstraint.horizontal.push(halignArray);
|
| 816 |
+
}
|
| 817 |
+
else{
|
| 818 |
+
constraints.alignmentConstraint.horizontal = [halignArray];
|
| 819 |
+
}
|
| 820 |
+
}
|
| 821 |
+
else{
|
| 822 |
+
constraints.alignmentConstraint = {};
|
| 823 |
+
constraints.alignmentConstraint.horizontal = [halignArray];
|
| 824 |
+
}
|
| 825 |
+
addToHistory("Alignment", halignArray, 'horizontal');
|
| 826 |
+
}
|
| 827 |
+
});
|
| 828 |
+
|
| 829 |
+
document.getElementById("relativePlacement").addEventListener("click", function(){
|
| 830 |
+
let nodeId1 = document.getElementById("nodeListRP1").value;
|
| 831 |
+
let nodeId2 = document.getElementById("nodeListRP2").value;
|
| 832 |
+
let isExist = false;
|
| 833 |
+
if(constraints.relativePlacementConstraint){
|
| 834 |
+
constraints.relativePlacementConstraint.forEach(function(constraint){
|
| 835 |
+
if(constraint["left"]){
|
| 836 |
+
if((constraint["left"] == nodeId1 && constraint["right"] == nodeId2 || constraint["left"] == nodeId2 && constraint["right"] == nodeId1) && document.getElementById("directionList").value == "left-right"){
|
| 837 |
+
isExist = true;
|
| 838 |
+
}
|
| 839 |
+
}
|
| 840 |
+
else {
|
| 841 |
+
if((constraint["top"] == nodeId1 && constraint["bottom"] == nodeId2 || constraint["top"] == nodeId2 && constraint["bottom"] == nodeId1) && document.getElementById("directionList").value == "top-bottom"){
|
| 842 |
+
isExist = true;
|
| 843 |
+
}
|
| 844 |
+
}
|
| 845 |
+
});
|
| 846 |
+
}
|
| 847 |
+
if((nodeId1 != nodeId2) && !isExist){
|
| 848 |
+
let relativePlacementConstraint;
|
| 849 |
+
if(document.getElementById("directionList").value == "left-right"){
|
| 850 |
+
relativePlacementConstraint = {left: nodeId1, right: nodeId2, gap: (document.getElementById("gap").value) ? (parseInt(document.getElementById("gap").value)) : undefined};
|
| 851 |
+
}
|
| 852 |
+
else{
|
| 853 |
+
relativePlacementConstraint = {top: nodeId1, bottom: nodeId2, gap: (document.getElementById("gap").value) ? (parseInt(document.getElementById("gap").value)) : undefined};
|
| 854 |
+
}
|
| 855 |
+
if(constraints.relativePlacementConstraint){
|
| 856 |
+
constraints.relativePlacementConstraint.push(relativePlacementConstraint);
|
| 857 |
+
}
|
| 858 |
+
else{
|
| 859 |
+
constraints.relativePlacementConstraint = [];
|
| 860 |
+
constraints.relativePlacementConstraint.push(relativePlacementConstraint);
|
| 861 |
+
}
|
| 862 |
+
|
| 863 |
+
if(document.getElementById("directionList").value == "left-right")
|
| 864 |
+
addToHistory("Relative", [nodeId1, nodeId2], 'l-r - ' + ((document.getElementById("gap").value) ? (parseInt(document.getElementById("gap").value)) : parseInt(cy.getElementById(nodeId1).width()/2 + cy.getElementById(nodeId2).width()/2 + 50)));
|
| 865 |
+
else{
|
| 866 |
+
addToHistory("Relative", [nodeId1, nodeId2], 't-b - ' + ((document.getElementById("gap").value) ? (parseInt(document.getElementById("gap").value)) : parseInt(cy.getElementById(nodeId1).height()/2 + cy.getElementById(nodeId2).height()/2 + 50)));
|
| 867 |
+
}
|
| 868 |
+
}
|
| 869 |
+
});
|
| 870 |
+
|
| 871 |
+
let addToHistory = function( constraintType, nodeIds, constraintInfo) {
|
| 872 |
+
|
| 873 |
+
let row = constraintListTable.insertRow();
|
| 874 |
+
let cell4 = row.insertCell(0);
|
| 875 |
+
let cell3 = row.insertCell(0);
|
| 876 |
+
let cell2 = row.insertCell(0);
|
| 877 |
+
let cell1 = row.insertCell(0);
|
| 878 |
+
cell1.innerHTML = constraintType;
|
| 879 |
+
|
| 880 |
+
if(constraintType == 'Fixed'){
|
| 881 |
+
let label = (cy.getElementById(nodeIds[0]).css('label') ? cy.getElementById(nodeIds[0]).css('label') : nodeIds);
|
| 882 |
+
if(label.length > 15)
|
| 883 |
+
label = label.substring(0, 12).concat("...");
|
| 884 |
+
cell2.innerHTML = label;
|
| 885 |
+
cell3.innerHTML = "x: "+constraintInfo.x+" y: "+constraintInfo.y;
|
| 886 |
+
}
|
| 887 |
+
else if(constraintType == 'Alignment'){
|
| 888 |
+
let nodeList = "";
|
| 889 |
+
nodeIds.forEach(function(nodeId, index){
|
| 890 |
+
let label = (cy.getElementById(nodeId).css('label') ? cy.getElementById(nodeId).css('label') : nodeId);
|
| 891 |
+
if(label.length > 15)
|
| 892 |
+
label = label.substring(0, 12).concat("...");
|
| 893 |
+
if(index == 0)
|
| 894 |
+
nodeList += label;
|
| 895 |
+
else
|
| 896 |
+
nodeList += ' - ' + label;
|
| 897 |
+
});
|
| 898 |
+
cell2.innerHTML = nodeList;
|
| 899 |
+
cell3.innerHTML = constraintInfo;
|
| 900 |
+
}
|
| 901 |
+
else{
|
| 902 |
+
let nodeList = "";
|
| 903 |
+
nodeIds.forEach(function(nodeId, index){
|
| 904 |
+
let label = (cy.getElementById(nodeId).css('label') ? cy.getElementById(nodeId).css('label') : nodeId);
|
| 905 |
+
if(label.length > 15)
|
| 906 |
+
label = label.substring(0, 12).concat("...");
|
| 907 |
+
if(index == 0)
|
| 908 |
+
nodeList += label;
|
| 909 |
+
else
|
| 910 |
+
nodeList += ' - ' + label;
|
| 911 |
+
});
|
| 912 |
+
cell2.innerHTML = nodeList;
|
| 913 |
+
cell3.innerHTML = constraintInfo;
|
| 914 |
+
}
|
| 915 |
+
|
| 916 |
+
// needed for highlighting constrained nodes
|
| 917 |
+
let instance = cy.viewUtilities({
|
| 918 |
+
highlightStyles: [
|
| 919 |
+
{ node: { 'background-color': '#da14ff', 'border-color': '#980eb2'}, edge: {} }
|
| 920 |
+
]
|
| 921 |
+
});
|
| 922 |
+
|
| 923 |
+
let rowToHighlight = $('#constraintListTable').find('tr').eq(row.rowIndex);
|
| 924 |
+
|
| 925 |
+
let collectionToHighlight = cy.collection();
|
| 926 |
+
nodeIds.forEach(function(id){
|
| 927 |
+
collectionToHighlight = collectionToHighlight.union(cy.getElementById(id));
|
| 928 |
+
});
|
| 929 |
+
|
| 930 |
+
// 'Delete' symbol
|
| 931 |
+
let button = document.createElement('button');
|
| 932 |
+
button.setAttribute('class','close');
|
| 933 |
+
button.setAttribute('aria-label', 'Close');
|
| 934 |
+
if(constraintType == 'Fixed')
|
| 935 |
+
button.onclick = function(event){
|
| 936 |
+
deleteRowElements(row, nodeIds);
|
| 937 |
+
instance.removeHighlights(collectionToHighlight.nodes());
|
| 938 |
+
};
|
| 939 |
+
else if(constraintType == 'Alignment')
|
| 940 |
+
button.onclick = function(event){
|
| 941 |
+
deleteRowElements(row, nodeIds, constraintInfo);
|
| 942 |
+
instance.removeHighlights(collectionToHighlight.nodes());
|
| 943 |
+
};
|
| 944 |
+
else
|
| 945 |
+
button.onclick = function(event){
|
| 946 |
+
deleteRowElements(row, nodeIds, constraintInfo);
|
| 947 |
+
instance.removeHighlights(collectionToHighlight.nodes());
|
| 948 |
+
};
|
| 949 |
+
let xSymbol = document.createElement('span');
|
| 950 |
+
xSymbol.setAttribute('aria-hidden', 'true');
|
| 951 |
+
xSymbol.style.color = "red";
|
| 952 |
+
xSymbol.innerHTML = '×';
|
| 953 |
+
button.appendChild(xSymbol);
|
| 954 |
+
cell4.appendChild(button);
|
| 955 |
+
|
| 956 |
+
rowToHighlight.hover(function() {
|
| 957 |
+
instance.highlight(collectionToHighlight.nodes(), 0);
|
| 958 |
+
}, function() {
|
| 959 |
+
instance.removeHighlights(collectionToHighlight.nodes());
|
| 960 |
+
});
|
| 961 |
+
};
|
| 962 |
+
|
| 963 |
+
// Delete Row Elements
|
| 964 |
+
let deleteRowElements = function (row, nodeIds, info) {
|
| 965 |
+
let constraintType = row.cells[0].innerHTML;
|
| 966 |
+
if (constraintType == 'Fixed') {
|
| 967 |
+
constraints.fixedNodeConstraint.forEach(function (item, index) {
|
| 968 |
+
if (item.nodeId == nodeIds[0]) {
|
| 969 |
+
constraints.fixedNodeConstraint.splice(index, 1);
|
| 970 |
+
}
|
| 971 |
+
});
|
| 972 |
+
if (constraints.fixedNodeConstraint.length == 0) {
|
| 973 |
+
constraints.fixedNodeConstraint = undefined;
|
| 974 |
+
}
|
| 975 |
+
} else if (constraintType == 'Alignment') {
|
| 976 |
+
if (info == 'vertical') {
|
| 977 |
+
constraints.alignmentConstraint.vertical.forEach(function (item, index) {
|
| 978 |
+
if (item.length == nodeIds.length) {
|
| 979 |
+
let equal = true;
|
| 980 |
+
item.forEach(function (nodeId, i) {
|
| 981 |
+
if (nodeId != nodeIds[i]) {
|
| 982 |
+
equal = false;
|
| 983 |
+
}
|
| 984 |
+
});
|
| 985 |
+
if (equal) {
|
| 986 |
+
constraints.alignmentConstraint.vertical.splice(index, 1);
|
| 987 |
+
if (constraints.alignmentConstraint.vertical.length == 0) {
|
| 988 |
+
delete constraints.alignmentConstraint.vertical;
|
| 989 |
+
if (!constraints.alignmentConstraint.horizontal) {
|
| 990 |
+
constraints.alignmentConstraint = undefined;
|
| 991 |
+
}
|
| 992 |
+
}
|
| 993 |
+
}
|
| 994 |
+
}
|
| 995 |
+
});
|
| 996 |
+
} else {
|
| 997 |
+
constraints.alignmentConstraint.horizontal.forEach(function (item, index) {
|
| 998 |
+
if (item.length == nodeIds.length) {
|
| 999 |
+
let equal = true;
|
| 1000 |
+
item.forEach(function (nodeId, i) {
|
| 1001 |
+
if (nodeId != nodeIds[i]) {
|
| 1002 |
+
equal = false;
|
| 1003 |
+
}
|
| 1004 |
+
});
|
| 1005 |
+
if (equal) {
|
| 1006 |
+
constraints.alignmentConstraint.horizontal.splice(index, 1);
|
| 1007 |
+
if (constraints.alignmentConstraint.horizontal.length == 0) {
|
| 1008 |
+
delete constraints.alignmentConstraint.horizontal;
|
| 1009 |
+
if (!constraints.alignmentConstraint.vertical) {
|
| 1010 |
+
constraints.alignmentConstraint = undefined;
|
| 1011 |
+
}
|
| 1012 |
+
}
|
| 1013 |
+
}
|
| 1014 |
+
}
|
| 1015 |
+
});
|
| 1016 |
+
}
|
| 1017 |
+
}
|
| 1018 |
+
else{
|
| 1019 |
+
constraints.relativePlacementConstraint.forEach(function(item, index){
|
| 1020 |
+
if(info.substring(0,1) == 'l'){
|
| 1021 |
+
if(item.left && item.left == nodeIds[0] && item.right == nodeIds[1]){
|
| 1022 |
+
constraints.relativePlacementConstraint.splice(index, 1);
|
| 1023 |
+
if(constraints.relativePlacementConstraint.length == 0){
|
| 1024 |
+
constraints.relativePlacementConstraint = undefined;
|
| 1025 |
+
}
|
| 1026 |
+
}
|
| 1027 |
+
}
|
| 1028 |
+
else{
|
| 1029 |
+
if(item.top && item.top == nodeIds[0] && item.bottom == nodeIds[1]){
|
| 1030 |
+
constraints.relativePlacementConstraint.splice(index, 1);
|
| 1031 |
+
if(constraints.relativePlacementConstraint.length == 0){
|
| 1032 |
+
constraints.relativePlacementConstraint = undefined;
|
| 1033 |
+
}
|
| 1034 |
+
}
|
| 1035 |
+
}
|
| 1036 |
+
});
|
| 1037 |
+
}
|
| 1038 |
+
constraintListTable.deleteRow(row.rowIndex);
|
| 1039 |
+
};
|
| 1040 |
+
|
| 1041 |
+
// Clear logs table
|
| 1042 |
+
let clearConstraintListTable = function() {
|
| 1043 |
+
if (constraintListTable.rows.length > 1) {
|
| 1044 |
+
let length = constraintListTable.rows.length;
|
| 1045 |
+
for (let i = 0; i < length - 1; i++) {
|
| 1046 |
+
constraintListTable.deleteRow(1);
|
| 1047 |
+
}
|
| 1048 |
+
}
|
| 1049 |
+
};
|
| 1050 |
+
|
| 1051 |
+
let fillConstraintListTableFromConstraints = function () {
|
| 1052 |
+
if(constraints.fixedNodeConstraint){
|
| 1053 |
+
constraints.fixedNodeConstraint.forEach(function(constraint){
|
| 1054 |
+
addToHistory("Fixed", [constraint.nodeId], constraint.position);
|
| 1055 |
+
});
|
| 1056 |
+
}
|
| 1057 |
+
if(constraints.alignmentConstraint){
|
| 1058 |
+
if(constraints.alignmentConstraint.vertical){
|
| 1059 |
+
constraints.alignmentConstraint.vertical.forEach(function(item){
|
| 1060 |
+
addToHistory("Alignment", item, 'vertical');
|
| 1061 |
+
});
|
| 1062 |
+
}
|
| 1063 |
+
if(constraints.alignmentConstraint.horizontal){
|
| 1064 |
+
constraints.alignmentConstraint.horizontal.forEach(function(item){
|
| 1065 |
+
addToHistory("Alignment", item, 'horizontal');
|
| 1066 |
+
});
|
| 1067 |
+
}
|
| 1068 |
+
}
|
| 1069 |
+
if(constraints.relativePlacementConstraint){
|
| 1070 |
+
constraints.relativePlacementConstraint.forEach(function(constraint){
|
| 1071 |
+
if(constraint.left)
|
| 1072 |
+
addToHistory("Relative", [constraint.left, constraint.right], 'l-r - ' + (constraint.gap ? parseInt(constraint.gap) : parseInt(cy.getElementById(constraint.left).width()/2 + cy.getElementById(constraint.right).width()/2 + 50)));
|
| 1073 |
+
else
|
| 1074 |
+
addToHistory("Relative", [constraint.top, constraint.bottom], 't-b - ' + (constraint.gap ? parseInt(constraint.gap) : parseInt(cy.getElementById(constraint.top).height()/2 + cy.getElementById(constraint.bottom).height()/2 + 50)));
|
| 1075 |
+
});
|
| 1076 |
+
|
| 1077 |
+
}
|
| 1078 |
+
};
|
| 1079 |
+
|
| 1080 |
+
//// Samples
|
| 1081 |
+
let elements1 = {
|
| 1082 |
+
nodes: [
|
| 1083 |
+
{data: {id: 'n1'}},
|
| 1084 |
+
{data: {id: 'n2'}},
|
| 1085 |
+
{data: {id: 'n3', parent: 'n8'}},
|
| 1086 |
+
{data: {id: 'n5'}},
|
| 1087 |
+
{data: {id: 'n6', parent: 'n8'}},
|
| 1088 |
+
{data: {id: 'n7', parent: 'n8'}},
|
| 1089 |
+
{data: {id: 'n8'}},
|
| 1090 |
+
{data: {id: 'f1'}, classes: ['fixed']},
|
| 1091 |
+
{data: {id: 'f2'}, classes: ['fixed']},
|
| 1092 |
+
{data: {id: 'f3', parent: 'n8'}, classes: ['fixed']},
|
| 1093 |
+
],
|
| 1094 |
+
edges: [
|
| 1095 |
+
{data: {source: 'n1', target: 'f1'}},
|
| 1096 |
+
{data: {source: 'n1', target: 'n3'}},
|
| 1097 |
+
{data: {source: 'f1', target: 'n2'}},
|
| 1098 |
+
{data: {source: 'f1', target: 'n3'}},
|
| 1099 |
+
{data: {source: 'n3', target: 'f2'}},
|
| 1100 |
+
{data: {source: 'f2', target: 'n5'}},
|
| 1101 |
+
{data: {source: 'n5', target: 'n8'}},
|
| 1102 |
+
{data: {source: 'n6', target: 'n3'}},
|
| 1103 |
+
{data: {source: 'n6', target: 'n7'}},
|
| 1104 |
+
{data: {source: 'n6', target: 'f3'}}
|
| 1105 |
+
]
|
| 1106 |
+
};
|
| 1107 |
+
|
| 1108 |
+
let elements2 = {
|
| 1109 |
+
nodes: [
|
| 1110 |
+
{data: {id: 'n1', parent: 'n6'}},
|
| 1111 |
+
{data: {id: 'n2', parent: 'n6'}},
|
| 1112 |
+
{data: {id: 'n3'}},
|
| 1113 |
+
{data: {id: 'n4'}},
|
| 1114 |
+
{data: {id: 'n5', parent: 'n8'}},
|
| 1115 |
+
{data: {id: 'n6'}},
|
| 1116 |
+
{data: {id: 'n7'}},
|
| 1117 |
+
{data: {id: 'n8'}},
|
| 1118 |
+
{data: {id: 'v1', parent: 'n6'}, classes: ['alignment']},
|
| 1119 |
+
{data: {id: 'v2'}, classes: ['alignment']},
|
| 1120 |
+
{data: {id: 'v3', parent: 'n8'}, classes: ['alignment']},
|
| 1121 |
+
{data: {id: 'v4', parent: 'n8'}, classes: ['alignment']},
|
| 1122 |
+
{data: {id: 'v5', parent: 'n5'}, classes: ['alignment']},
|
| 1123 |
+
{data: {id: 'h1'}, classes: ['alignment']},
|
| 1124 |
+
{data: {id: 'h2'}, classes: ['alignment']},
|
| 1125 |
+
{data: {id: 'h3'}, classes: ['alignment']},
|
| 1126 |
+
{data: {id: 'h4', parent: 'n7'}, classes: ['alignment']},
|
| 1127 |
+
{data: {id: 'h5', parent: 'n7'}, classes: ['alignment']},
|
| 1128 |
+
{data: {id: 'vh1', parent: 'n6'}, classes: ['alignment']},
|
| 1129 |
+
{data: {id: 'vh2', parent: 'n5'}, classes: ['alignment']}
|
| 1130 |
+
],
|
| 1131 |
+
edges: [
|
| 1132 |
+
{data: {source: 'v1', target: 'vh1'}},
|
| 1133 |
+
{data: {source: 'v1', target: 'n1'}},
|
| 1134 |
+
{data: {source: 'n1', target: 'n2'}},
|
| 1135 |
+
{data: {source: 'n2', target: 'vh1'}},
|
| 1136 |
+
{data: {source: 'n6', target: 'h1'}},
|
| 1137 |
+
{data: {source: 'h1', target: 'h2'}},
|
| 1138 |
+
{data: {source: 'n6', target: 'n3'}},
|
| 1139 |
+
{data: {source: 'n3', target: 'v2'}},
|
| 1140 |
+
{data: {source: 'n3', target: 'h4'}},
|
| 1141 |
+
{data: {source: 'h4', target: 'h5'}},
|
| 1142 |
+
{data: {source: 'h4', target: 'v3'}},
|
| 1143 |
+
{data: {source: 'v3', target: 'v4'}},
|
| 1144 |
+
{data: {source: 'v3', target: 'n5'}},
|
| 1145 |
+
{data: {source: 'v5', target: 'vh2'}},
|
| 1146 |
+
{data: {source: 'v3', target: 'n4'}},
|
| 1147 |
+
{data: {source: 'h3', target: 'n8'}},
|
| 1148 |
+
{data: {source: 'n4', target: 'h3'}}
|
| 1149 |
+
]
|
| 1150 |
+
};
|
| 1151 |
+
|
| 1152 |
+
let elements3 = {
|
| 1153 |
+
nodes: [
|
| 1154 |
+
{data: {id: 'r1', parent: 'n8'}, classes: ['relative']},
|
| 1155 |
+
{data: {id: 'r2', parent: 'n8'}, classes: ['relative']},
|
| 1156 |
+
{data: {id: 'r3', parent: 'n8'}, classes: ['relative']},
|
| 1157 |
+
{data: {id: 'r4'}, classes: ['relative']},
|
| 1158 |
+
{data: {id: 'r5'}, classes: ['relative']},
|
| 1159 |
+
{data: {id: 'r6', parent: 'n7'}, classes: ['relative']},
|
| 1160 |
+
{data: {id: 'r7', parent: 'n10'}, classes: ['relative']},
|
| 1161 |
+
{data: {id: 'r8', parent: 'n10'}, classes: ['relative']},
|
| 1162 |
+
{data: {id: 'n1', parent: 'n7'}},
|
| 1163 |
+
{data: {id: 'n2'}},
|
| 1164 |
+
{data: {id: 'n3'}},
|
| 1165 |
+
{data: {id: 'n4'}},
|
| 1166 |
+
{data: {id: 'n5'}},
|
| 1167 |
+
{data: {id: 'n6'}},
|
| 1168 |
+
{data: {id: 'n7', parent: 'n10'}},
|
| 1169 |
+
{data: {id: 'n8'}},
|
| 1170 |
+
{data: {id: 'n9'}},
|
| 1171 |
+
{data: {id: 'n10'}}
|
| 1172 |
+
],
|
| 1173 |
+
edges: [
|
| 1174 |
+
{data: {source: 'r6', target: 'n1'}},
|
| 1175 |
+
{data: {source: 'r6', target: 'n3'}},
|
| 1176 |
+
{data: {source: 'n1', target: 'r8'}},
|
| 1177 |
+
{data: {source: 'n1', target: 'r5'}},
|
| 1178 |
+
{data: {source: 'n1', target: 'r7'}},
|
| 1179 |
+
{data: {source: 'n2', target: 'n3'}},
|
| 1180 |
+
{data: {source: 'n2', target: 'r2'}},
|
| 1181 |
+
{data: {source: 'n2', target: 'n4'}},
|
| 1182 |
+
{data: {source: 'r5', target: 'n5'}},
|
| 1183 |
+
{data: {source: 'r5', target: 'n6'}},
|
| 1184 |
+
{data: {source: 'r2', target: 'r1'}},
|
| 1185 |
+
{data: {source: 'r2', target: 'r3'}},
|
| 1186 |
+
{data: {source: 'n7', target: 'n9'}},
|
| 1187 |
+
{data: {source: 'n5', target: 'n6'}},
|
| 1188 |
+
{data: {source: 'n5', target: 'r4'}}
|
| 1189 |
+
]
|
| 1190 |
+
};
|
| 1191 |
+
|
| 1192 |
+
let elements4 = [
|
| 1193 |
+
{group: 'nodes', data: {id: 'n1'}},
|
| 1194 |
+
{group: 'nodes', data: {id: 'n2'}},
|
| 1195 |
+
{group: 'nodes', data: {id: 'n3'}},
|
| 1196 |
+
{group: 'nodes', data: {id: 'n4'}},
|
| 1197 |
+
{group: 'nodes', data: {id: 'n5'}},
|
| 1198 |
+
{group: 'nodes', data: {id: 'n6', parent: 'n24'}},
|
| 1199 |
+
{group: 'nodes', data: {id: 'n7', parent: 'n24'}},
|
| 1200 |
+
{group: 'nodes', data: {id: 'n8', parent: 'n24'}},
|
| 1201 |
+
{group: 'nodes', data: {id: 'n9'}},
|
| 1202 |
+
{group: 'nodes', data: {id: 'n10', parent: 'n28'}},
|
| 1203 |
+
{group: 'nodes', data: {id: 'n11', parent: 'n28'}},
|
| 1204 |
+
{group: 'nodes', data: {id: 'n12', parent: 'n28'}},
|
| 1205 |
+
{group: 'nodes', data: {id: 'n13', parent: 'n28'}},
|
| 1206 |
+
{group: 'nodes', data: {id: 'n14', parent: 'n28'}},
|
| 1207 |
+
{group: 'nodes', data: {id: 'n15'}},
|
| 1208 |
+
{group: 'nodes', data: {id: 'n16'}},
|
| 1209 |
+
{group: 'nodes', data: {id: 'n17'}},
|
| 1210 |
+
{group: 'nodes', data: {id: 'n18'}},
|
| 1211 |
+
{group: 'nodes', data: {id: 'n19'}},
|
| 1212 |
+
{group: 'nodes', data: {id: 'n20', parent: 'n26'}},
|
| 1213 |
+
{group: 'nodes', data: {id: 'n21', parent: 'n26'}},
|
| 1214 |
+
{group: 'nodes', data: {id: 'n22', parent: 'n27'}},
|
| 1215 |
+
{group: 'nodes', data: {id: 'n23', parent: 'n25'}},
|
| 1216 |
+
{group: 'nodes', data: {id: 'n24'}},
|
| 1217 |
+
{group: 'nodes', data: {id: 'n25'}},
|
| 1218 |
+
{group: 'nodes', data: {id: 'n26', parent: 'n30'}},
|
| 1219 |
+
{group: 'nodes', data: {id: 'n27', parent: 'n29'}},
|
| 1220 |
+
{group: 'nodes', data: {id: 'n28', parent: 'n29'}},
|
| 1221 |
+
{group: 'nodes', data: {id: 'n29', parent: 'n30'}},
|
| 1222 |
+
{group: 'nodes', data: {id: 'n30'}},
|
| 1223 |
+
{group: 'nodes', data: {id: 'f1', parent: 'n29'}, classes: ['fixed']},
|
| 1224 |
+
{group: 'nodes', data: {id: 'f2', parent: 'n28'}, classes: ['fixed']},
|
| 1225 |
+
{group: 'nodes', data: {id: 'h1'}, classes: ['alignment']},
|
| 1226 |
+
{group: 'nodes', data: {id: 'h2'}, classes: ['alignment']},
|
| 1227 |
+
{group: 'nodes', data: {id: 'h3'}, classes: ['alignment']},
|
| 1228 |
+
{group: 'nodes', data: {id: 'v1', parent: 'n24'}, classes: ['alignment']},
|
| 1229 |
+
{group: 'nodes', data: {id: 'v2', parent: 'n25'}, classes: ['alignment']},
|
| 1230 |
+
{group: 'nodes', data: {id: 'v3'}, classes: ['alignment']},
|
| 1231 |
+
{group: 'nodes', data: {id: 'v4'}, classes: ['alignment']},
|
| 1232 |
+
{group: 'nodes', data: {id: 'h4r'}, classes: ['alignment']},
|
| 1233 |
+
{group: 'nodes', data: {id: 'r1', parent: 'n29'}, classes: ['relative']},
|
| 1234 |
+
{group: 'nodes', data: {id: 'r2', parent: 'n29'}, classes: ['relative']},
|
| 1235 |
+
{group: 'nodes', data: {id: 'r3'}, classes: ['relative']},
|
| 1236 |
+
{group: 'edges', data: {id: 'e2', source: 'n2', target: 'n3'}},
|
| 1237 |
+
{group: 'edges', data: {id: 'e3', source: 'n1', target: 'n2'}},
|
| 1238 |
+
{group: 'edges', data: {id: 'e4', source: 'n3', target: 'v1'}},
|
| 1239 |
+
{group: 'edges', data: {id: 'e5', source: 'n2', target: 'v1'}},
|
| 1240 |
+
{group: 'edges', data: {id: 'e6', source: 'v1', target: 'n4'}},
|
| 1241 |
+
// {group: 'edges', data: {id: 'e7', source: 'n5', target: 'n6'}},
|
| 1242 |
+
{group: 'edges', data: {id: 'e8', source: 'v1', target: 'n5'}},
|
| 1243 |
+
{group: 'edges', data: {id: 'e9', source: 'v1', target: 'n6'}},
|
| 1244 |
+
{group: 'edges', data: {id: 'e10', source: 'v1', target: 'n7'}},
|
| 1245 |
+
// {group: 'edges', data: {id: 'e11', source: 'n3', target: 'n9'}},
|
| 1246 |
+
{group: 'edges', data: {id: 'e12', source: 'n6', target: 'n8'}},
|
| 1247 |
+
{group: 'edges', data: {id: 'e13', source: 'h1', target: 'n16'}},
|
| 1248 |
+
{ group:'edges', data:{ id: 'e14', source: 'v2', target: 'n23'} },
|
| 1249 |
+
{group: 'edges', data: {id: 'e15', source: 'n16', target: 'n15'}},
|
| 1250 |
+
{group: 'edges', data: {id: 'e16', source: 'n16', target: 'h2'}},
|
| 1251 |
+
{group: 'edges', data: {id: 'e17', source: 'n15', target: 'n17'}},
|
| 1252 |
+
{group: 'edges', data: {id: 'e18', source: 'h3', target: 'v3'}},
|
| 1253 |
+
{group: 'edges', data: {id: 'e19', source: 'v3', target: 'n18'}},
|
| 1254 |
+
{group: 'edges', data: {id: 'e20', source: 'n17', target: 'n19'}},
|
| 1255 |
+
{group: 'edges', data: {id: 'e21', source: 'n18', target: 'n19'}},
|
| 1256 |
+
{group: 'edges', data: {id: 'e22', source: 'h2', target: 'n19'}},
|
| 1257 |
+
{group: 'edges', data: {id: 'e23', source: 'n19', target: 'h3'}},
|
| 1258 |
+
{group: 'edges', data: {id: 'e25', source: 'v4', target: 'n20'}},
|
| 1259 |
+
{group: 'edges', data: {id: 'e26', source: 'n20', target: 'n21'}},
|
| 1260 |
+
{group: 'edges', data: {id: 'e27', source: 'n25', target: 'f1'}},
|
| 1261 |
+
{group: 'edges', data: {id: 'e29', source: 'f1', target: 'n26'}},
|
| 1262 |
+
{group: 'edges', data: {id: 'e30', source: 'f1', target: 'r2'}},
|
| 1263 |
+
{group: 'edges', data: {id: 'e31', source: 'f1', target: 'r1'}},
|
| 1264 |
+
{group: 'edges', data: {id: 'e33', source: 'h3', target: 'v2'}},
|
| 1265 |
+
{group: 'edges', data: {id: 'e35', source: 'f2', target: 'n11'}},
|
| 1266 |
+
{group: 'edges', data: {id: 'e36', source: 'f2', target: 'n10'}},
|
| 1267 |
+
{group: 'edges', data: {id: 'e37', source: 'n11', target: 'n10'}},
|
| 1268 |
+
{group: 'edges', data: {id: 'e38', source: 'n12', target: 'n13'}},
|
| 1269 |
+
{group: 'edges', data: {id: 'e39', source: 'n12', target: 'n14'}},
|
| 1270 |
+
{group: 'edges', data: {id: 'e40', source: 'h2', target: 'n27'}},
|
| 1271 |
+
{group: 'edges', data: {id: 'e41', source: 'n9', target: 'r3'}},
|
| 1272 |
+
{group: 'edges', data: {id: 'e42', source: 'n9', target: 'h4r'}},
|
| 1273 |
+
{group: 'edges', data: {id: 'e43', source: 'r3', target: 'h4r'}},
|
| 1274 |
+
{group: 'edges', data: {id: 'e44', source: 'n11', target: 'r3'}},
|
| 1275 |
+
{group: 'edges', data: {id: 'e45', source: 'n14', target: 'r3'}}
|
| 1276 |
+
];
|
| 1277 |
+
|
| 1278 |
+
let elements5 = {
|
| 1279 |
+
nodes: [
|
| 1280 |
+
{data: {id: 'r1'}, classes: ['relative'], position:{x:318, y:150}},
|
| 1281 |
+
{data: {id: 'r2'}, classes: ['relative'], position:{x:413, y:148}},
|
| 1282 |
+
{data: {id: 'r3'}, classes: ['relative'], position:{x:128, y:-151}},
|
| 1283 |
+
{data: {id: 'r4'}, classes: ['relative'], position:{x:132, y:-38}},
|
| 1284 |
+
{data: {id: 'f1v', parent: 'n8'}, classes: ['fixed'], position:{x:-79, y:276}},
|
| 1285 |
+
{data: {id: 'f2h', parent: 'n6'}, classes: ['fixed'], position:{x:96, y:82}},
|
| 1286 |
+
{data: {id: 'v1', parent: 'n5'}, classes: ['alignment'], position:{x:-290, y:153}},
|
| 1287 |
+
{data: {id: 'v2', parent: 'n5'}, classes: ['alignment'], position:{x:-197, y:152}},
|
| 1288 |
+
{data: {id: 'v3', parent: 'n8'}, classes: ['alignment'], position:{x:-85, y:177}},
|
| 1289 |
+
{data: {id: 'h1', parent: 'n7'}, classes: ['alignment'], position:{x:1, y:-9}},
|
| 1290 |
+
{data: {id: 'h2', parent: 'n7'}, classes: ['alignment'], position:{x:0, y:-104}},
|
| 1291 |
+
{data: {id: 'n0', parent: 'n6'}, position:{x:186, y:219}},
|
| 1292 |
+
{data: {id: 'n1', parent: 'n6'}, position:{x:197, y:122}},
|
| 1293 |
+
{data: {id: 'n2', parent: 'n6'}, position:{x:93, y:186}},
|
| 1294 |
+
{data: {id: 'n3'}, position:{x:-267, y:20}},
|
| 1295 |
+
{data: {id: 'n4'}, position:{x:-167, y:-10}},
|
| 1296 |
+
{data: {id: 'n5', parent: 'n8'}},
|
| 1297 |
+
{data: {id: 'n6'}},
|
| 1298 |
+
{data: {id: 'n7'}},
|
| 1299 |
+
{data: {id: 'n8'}}
|
| 1300 |
+
],
|
| 1301 |
+
edges: [
|
| 1302 |
+
{data: {source: 'n0', target: 'n1'}},
|
| 1303 |
+
{data: {source: 'n0', target: 'n2'}},
|
| 1304 |
+
{data: {source: 'n6', target: 'r1'}},
|
| 1305 |
+
{data: {source: 'n1', target: 'f2h'}},
|
| 1306 |
+
{data: {source: 'r1', target: 'r2'}},
|
| 1307 |
+
{data: {source: 'n2', target: 'f2h'}},
|
| 1308 |
+
{data: {source: 'n6', target: 'r4'}},
|
| 1309 |
+
{data: {source: 'n3', target: 'n4'}},
|
| 1310 |
+
{data: {source: 'n3', target: 'n8'}},
|
| 1311 |
+
{data: {source: 'n4', target: 'v3'}},
|
| 1312 |
+
{data: {source: 'r4', target: 'h1'}},
|
| 1313 |
+
{data: {source: 'r4', target: 'r3'}},
|
| 1314 |
+
{data: {source: 'h1', target: 'h2'}},
|
| 1315 |
+
{data: {source: 'v1', target: 'v2'}},
|
| 1316 |
+
{data: {source: 'v3', target: 'n5'}},
|
| 1317 |
+
{data: {source: 'h1', target: 'v3'}},
|
| 1318 |
+
{data: {source: 'v3', target: 'f1v'}}
|
| 1319 |
+
]
|
| 1320 |
+
};
|
| 1321 |
+
|
| 1322 |
+
let elements5_positions = [
|
| 1323 |
+
{x:318, y:150},
|
| 1324 |
+
{x:413, y:148},
|
| 1325 |
+
{x:128, y:-151},
|
| 1326 |
+
{x:132, y:-38},
|
| 1327 |
+
{x:-79, y:276},
|
| 1328 |
+
{x:96, y:82},
|
| 1329 |
+
{x:-290, y:153},
|
| 1330 |
+
{x:-197, y:152},
|
| 1331 |
+
{x:-85, y:177},
|
| 1332 |
+
{x:1, y:-9},
|
| 1333 |
+
{x:0, y:-104},
|
| 1334 |
+
{x:186, y:219},
|
| 1335 |
+
{x:197, y:122},
|
| 1336 |
+
{x:93, y:186},
|
| 1337 |
+
{x:-267, y:20},
|
| 1338 |
+
{x:-167, y:-10},
|
| 1339 |
+
{x:318, y:150},
|
| 1340 |
+
{x:318, y:150}
|
| 1341 |
+
];
|
| 1342 |
+
|
| 1343 |
+
let sample1_constraints = {
|
| 1344 |
+
"fixedNodeConstraint": [
|
| 1345 |
+
{
|
| 1346 |
+
"nodeId": "f1",
|
| 1347 |
+
"position": {
|
| 1348 |
+
"x": -150,
|
| 1349 |
+
"y": -100
|
| 1350 |
+
}
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"nodeId": "f2",
|
| 1354 |
+
"position": {
|
| 1355 |
+
"x": -50,
|
| 1356 |
+
"y": -150
|
| 1357 |
+
}
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"nodeId": "f3",
|
| 1361 |
+
"position": {
|
| 1362 |
+
"x": 100,
|
| 1363 |
+
"y": 150
|
| 1364 |
+
}
|
| 1365 |
+
}
|
| 1366 |
+
]
|
| 1367 |
+
};
|
| 1368 |
+
|
| 1369 |
+
let sample2_constraints = {
|
| 1370 |
+
"alignmentConstraint": {
|
| 1371 |
+
"vertical": [
|
| 1372 |
+
[
|
| 1373 |
+
"v1",
|
| 1374 |
+
"v2",
|
| 1375 |
+
"vh1"
|
| 1376 |
+
],
|
| 1377 |
+
[
|
| 1378 |
+
"v3",
|
| 1379 |
+
"v4",
|
| 1380 |
+
"v5",
|
| 1381 |
+
"vh2"
|
| 1382 |
+
]
|
| 1383 |
+
],
|
| 1384 |
+
"horizontal": [
|
| 1385 |
+
[
|
| 1386 |
+
"h1",
|
| 1387 |
+
"h2",
|
| 1388 |
+
"h3"
|
| 1389 |
+
],
|
| 1390 |
+
[
|
| 1391 |
+
"h4",
|
| 1392 |
+
"h5",
|
| 1393 |
+
"vh1",
|
| 1394 |
+
"vh2"
|
| 1395 |
+
]
|
| 1396 |
+
]
|
| 1397 |
+
}
|
| 1398 |
+
};
|
| 1399 |
+
|
| 1400 |
+
let sample3_constraints = {
|
| 1401 |
+
"relativePlacementConstraint": [
|
| 1402 |
+
{
|
| 1403 |
+
"left": "r1",
|
| 1404 |
+
"right": "r2",
|
| 1405 |
+
"gap": 100
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"top": "r1",
|
| 1409 |
+
"bottom": "r2",
|
| 1410 |
+
"gap": 100
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"left": "r2",
|
| 1414 |
+
"right": "r3",
|
| 1415 |
+
"gap": 200
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"top": "r4",
|
| 1419 |
+
"bottom": "r5",
|
| 1420 |
+
"gap": 150
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"left": "r6",
|
| 1424 |
+
"right": "r7",
|
| 1425 |
+
"gap": 150
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"top": "r8",
|
| 1429 |
+
"bottom": "r7",
|
| 1430 |
+
"gap": 100
|
| 1431 |
+
}
|
| 1432 |
+
]
|
| 1433 |
+
};
|
| 1434 |
+
|
| 1435 |
+
let sample4_constraints = {
|
| 1436 |
+
"fixedNodeConstraint": [
|
| 1437 |
+
{
|
| 1438 |
+
"nodeId": "f1",
|
| 1439 |
+
"position": {
|
| 1440 |
+
"x": -100,
|
| 1441 |
+
"y": 0
|
| 1442 |
+
}
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"nodeId": "f2",
|
| 1446 |
+
"position": {
|
| 1447 |
+
"x": 300,
|
| 1448 |
+
"y": 0
|
| 1449 |
+
}
|
| 1450 |
+
}
|
| 1451 |
+
],
|
| 1452 |
+
"alignmentConstraint": {
|
| 1453 |
+
"horizontal": [
|
| 1454 |
+
[
|
| 1455 |
+
"h1",
|
| 1456 |
+
"h2",
|
| 1457 |
+
"h3",
|
| 1458 |
+
"h4r"
|
| 1459 |
+
]
|
| 1460 |
+
],
|
| 1461 |
+
"vertical": [
|
| 1462 |
+
[
|
| 1463 |
+
"v1",
|
| 1464 |
+
"v2",
|
| 1465 |
+
"v3",
|
| 1466 |
+
"v4"
|
| 1467 |
+
]
|
| 1468 |
+
]
|
| 1469 |
+
},
|
| 1470 |
+
"relativePlacementConstraint": [
|
| 1471 |
+
{
|
| 1472 |
+
"top": "r1",
|
| 1473 |
+
"bottom": "r2",
|
| 1474 |
+
"gap": 150
|
| 1475 |
+
},
|
| 1476 |
+
{
|
| 1477 |
+
"left": "r3",
|
| 1478 |
+
"right": "h4r",
|
| 1479 |
+
"gap": 150
|
| 1480 |
+
}
|
| 1481 |
+
]
|
| 1482 |
+
};
|
tools/ui/node_modules/cytoscape-fcose/demo/demo-constraint.html
ADDED
|
@@ -0,0 +1,345 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE>
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<title>cytoscape-fcose.js demo</title>
|
| 7 |
+
|
| 8 |
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
| 9 |
+
|
| 10 |
+
<!-- Bootstrap, popper, jQuery and filesaver - for demo purpose only -->
|
| 11 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
| 12 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
|
| 13 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
| 14 |
+
<script src="https://raw.githack.com/eligrey/FileSaver.js/master/dist/FileSaver.min.js"></script>
|
| 15 |
+
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
| 16 |
+
|
| 17 |
+
<!-- Cytoscape and fcose -->
|
| 18 |
+
<script src="https://unpkg.com/cytoscape/dist/cytoscape.min.js"></script>
|
| 19 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 20 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 21 |
+
<script src="../cytoscape-fcose.js"></script>
|
| 22 |
+
|
| 23 |
+
<script src="demo-constraint-control.js" defer></script>
|
| 24 |
+
|
| 25 |
+
<!-- CoLa for local comparison only -->
|
| 26 |
+
<!-- <script src="https://unpkg.com/webcola/WebCola/cola.min.js"></script> -->
|
| 27 |
+
<!-- <script src="cytoscape-cola.js"></script> -->
|
| 28 |
+
|
| 29 |
+
<script src="https://unpkg.com/cytoscape-layout-utilities/cytoscape-layout-utilities.js"></script>
|
| 30 |
+
<script src="https://unpkg.com/cytoscape-view-utilities/cytoscape-view-utilities.js"></script>
|
| 31 |
+
<script src="https://unpkg.com/cytoscape-graphml/cytoscape-graphml.js"></script> <!-- graphml - for demo purpose only-->
|
| 32 |
+
<!-- <script src="https://raw.githack.com/iVis-at-Bilkent/cytoscape.js-layvo/unstable/cytoscape-layvo.js"></script> --> <!-- For quality metrics -->
|
| 33 |
+
<!-- <script src="https://raw.githack.com/kinimesi/cytoscape-svg/master/cytoscape-svg.js"></script> --> <!-- For svg export -->
|
| 34 |
+
|
| 35 |
+
<!-- We use a workaround here to be able to debug real world files in local by keeping json content as js variable. -->
|
| 36 |
+
<script type="text/javascript" src="samples/unix.js"></script>
|
| 37 |
+
<script type="text/javascript" src="samples/unix_constraints.js"></script>
|
| 38 |
+
<script type="text/javascript" src="samples/chalk.js"></script>
|
| 39 |
+
<script type="text/javascript" src="samples/chalk_constraints.js"></script>
|
| 40 |
+
<script type="text/javascript" src="samples/uwsn.js"></script>
|
| 41 |
+
<script type="text/javascript" src="samples/uwsn_constraints.js"></script>
|
| 42 |
+
<script type="text/javascript" src="samples/callGraph.js"></script>
|
| 43 |
+
<script type="text/javascript" src="samples/callGraph_constraints.js"></script>
|
| 44 |
+
<script type="text/javascript" src="samples/wsn.js"></script>
|
| 45 |
+
<script type="text/javascript" src="samples/wsn_constraints.js"></script>
|
| 46 |
+
|
| 47 |
+
<style>
|
| 48 |
+
body {
|
| 49 |
+
font-family: helvetica neue, helvetica, liberation sans, arial, sans-serif;
|
| 50 |
+
font-size: 13px;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
#cy {
|
| 54 |
+
position: relative;
|
| 55 |
+
width: auto;
|
| 56 |
+
height: 95%;
|
| 57 |
+
z-index: 999;
|
| 58 |
+
margin-left: 375px;
|
| 59 |
+
right: 0px;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
h1 {
|
| 63 |
+
opacity: 1;
|
| 64 |
+
color: #555;
|
| 65 |
+
font-size: 15px;
|
| 66 |
+
font-weight: bold;
|
| 67 |
+
padding-top: 5px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
hr.line {
|
| 71 |
+
margin-top: 9px;
|
| 72 |
+
margin-bottom: 9px
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
/* The sidepanel menu */
|
| 76 |
+
.sidepanel {
|
| 77 |
+
height: auto; /* Specify a height */
|
| 78 |
+
width: 375px; /* 0 width - change this with JavaScript */
|
| 79 |
+
position: absolute; /* Stay in place */
|
| 80 |
+
z-index: 1000; /* Stay on top */
|
| 81 |
+
float: left;
|
| 82 |
+
top: auto;
|
| 83 |
+
left: 0;
|
| 84 |
+
background-color: #d9fbff;
|
| 85 |
+
overflow-x: hidden; /* Disable horizontal scroll */
|
| 86 |
+
padding-top: 10px; /* Place content 10px from the top */
|
| 87 |
+
padding-bottom: 10px; /* Place content 10px from the bottom */
|
| 88 |
+
transition: 0s; /* 0.5 second transition effect to slide in the sidepanel */
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
table{
|
| 92 |
+
margin-left: 8;
|
| 93 |
+
margin-right: 10;
|
| 94 |
+
width: 360px;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
/* The sidepanel links */
|
| 98 |
+
table td {
|
| 99 |
+
padding: 4px 4px 4px 0px;
|
| 100 |
+
text-decoration: none;
|
| 101 |
+
font-size: 14px;
|
| 102 |
+
color: #555;
|
| 103 |
+
transition: 0.3s;
|
| 104 |
+
text-align: left;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.layoutButton {
|
| 108 |
+
color: #555;
|
| 109 |
+
cursor: pointer;
|
| 110 |
+
background-color: #b7ffff;
|
| 111 |
+
padding: 5px 10px;
|
| 112 |
+
border: none;
|
| 113 |
+
margin-bottom: 5px;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.constraintButton {
|
| 117 |
+
cursor: pointer;
|
| 118 |
+
padding: 2px 5px;
|
| 119 |
+
background-color: #64ffee;
|
| 120 |
+
border-radius: 3px;
|
| 121 |
+
border-width: 1px;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.constraintButtonLarge {
|
| 125 |
+
cursor: pointer;
|
| 126 |
+
padding: 5px;
|
| 127 |
+
background-color: #64ffee;
|
| 128 |
+
border-radius: 3px;
|
| 129 |
+
border-width: 1px;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.btn-group-sm>.btn, .btn-sm {
|
| 133 |
+
font-size: 13px;
|
| 134 |
+
background-color: #7d8991;
|
| 135 |
+
border-color: #7d8991;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 139 |
+
color: #fff;
|
| 140 |
+
background-color: #60717d;
|
| 141 |
+
border-color: #60717d; /*set the color you want here*/
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 145 |
+
color: #fff;
|
| 146 |
+
background-color: #60717d;
|
| 147 |
+
border-color: #60717d; /*set the color you want here*/
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.btn-outline-primary{
|
| 151 |
+
font-size: 13px;
|
| 152 |
+
background-color: #ffffff;
|
| 153 |
+
color: #7d8991;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.form-control-sm {
|
| 157 |
+
font-size: 13px
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.custom-select-sm {
|
| 161 |
+
font-size: 13px
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.textField {
|
| 165 |
+
padding-left: 5px;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.checkbox {
|
| 169 |
+
margin-left: 0px;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.button:hover {
|
| 173 |
+
background-color: #0f0;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.custom-control-label {
|
| 177 |
+
padding-top: 2px;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
.custom-control-input:checked~.custom-control-label::before {
|
| 181 |
+
color: #fff;
|
| 182 |
+
border-color: #7d8991;
|
| 183 |
+
background-color: #7d8991;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
</style>
|
| 187 |
+
</head>
|
| 188 |
+
<body>
|
| 189 |
+
<h1 class="ml-2">cytoscape-fcose demo (constraint)</h1>
|
| 190 |
+
<div style='width: 375px; position: absolute;'>
|
| 191 |
+
<!-- File menu-->
|
| 192 |
+
<input id="inputFile" type='file' style="display: none" />
|
| 193 |
+
<input type="button" id="openFile" type="button" class="btn btn-primary btn-sm ml-2" data-toggle="tooltip" title="Load graphml file" value="Load Graph"/> 
|
| 194 |
+
<select id="sample" class="custom-select custom-select-sm ml-2" style="width:auto;">
|
| 195 |
+
<option value="sample1" selected="">sample1 - fixed</option>
|
| 196 |
+
<option value="sample2">sample2 - alignment</option>
|
| 197 |
+
<option value="sample3">sample3 - relative</option>
|
| 198 |
+
<option value="sample4">sample4 - hybrid</option>
|
| 199 |
+
<option value="sample4">sample5</option>
|
| 200 |
+
<option value="sample5">unix-family-tree</option>
|
| 201 |
+
<option value="sample6">chalk-dependency</option>
|
| 202 |
+
<option value="sample7">UW-sensor-network</option>
|
| 203 |
+
<option value="sample8">python-call-graph</option>
|
| 204 |
+
<option value="sample9">wireless-sensor-network</option>
|
| 205 |
+
</select>
|
| 206 |
+
<!-- File Menu End -->
|
| 207 |
+
|
| 208 |
+
<hr class="line">
|
| 209 |
+
|
| 210 |
+
<!-- Layout Menu-->
|
| 211 |
+
<button id="randomizeButton" class="btn btn-primary btn-sm mb-2 ml-2">Randomize</button> 
|
| 212 |
+
<button id="fcoseButton" class="btn btn-primary btn-sm mb-2">fCoSE</button> 
|
| 213 |
+
<!-- <button id="colaButton" class="btn btn-primary btn-sm mb-2">CoLa</button>  -->
|
| 214 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 215 |
+
<input type="checkbox" class="custom-control-input" id="incremental" name="incremental">
|
| 216 |
+
<label class="custom-control-label" for="incremental">Incremental</label>
|
| 217 |
+
</div><br>
|
| 218 |
+
<button id="draftButton" class="btn btn-outline-primary btn-sm ml-2">Draft</button> 
|
| 219 |
+
<button id="transformButton" class="btn btn-outline-primary btn-sm">Transform</button> 
|
| 220 |
+
<button id="enforceButton" class="btn btn-outline-primary btn-sm">Enforce</button> 
|
| 221 |
+
<button id="coseButton" class="btn btn-outline-primary btn-sm">CoSE</button><br>
|
| 222 |
+
<!-- Layout Menu End-->
|
| 223 |
+
|
| 224 |
+
<hr class="line">
|
| 225 |
+
<div id="mySidepanel" class="sidepanel">
|
| 226 |
+
<!-- Constraints Menu -->
|
| 227 |
+
<table id="ConstraintIOTable">
|
| 228 |
+
<tr>
|
| 229 |
+
<td style = "width: 25%"><h7 class="card-subtitle mt-1 text-muted"><b>Constraints</b></h7></td>
|
| 230 |
+
<td><button id="importConstraint" type="button" class="btn btn-primary btn-sm ml-1" onclick="document.getElementById('inputConstraint').click();" data-toggle="tooltip" title="Import constraint file">Import</button>
|
| 231 |
+
<input id="inputConstraint" type='file' style="display: none" /></td>
|
| 232 |
+
<td><button id="exportConstraint" type="button" class="btn btn-primary btn-sm" data-toggle="tooltip" title="Export constraint file">Export</button></td>
|
| 233 |
+
<td style = "width: 35%"></td>
|
| 234 |
+
</tr>
|
| 235 |
+
</table>
|
| 236 |
+
|
| 237 |
+
<hr class="line">
|
| 238 |
+
|
| 239 |
+
<!-- <button id="saveAsSVG" type="button" class="layoutButton" data-toggle="tooltip" title="Save graph as SVG file">Save as SVG</button> -->
|
| 240 |
+
<!-- Fixed Node Constraints -->
|
| 241 |
+
<form>
|
| 242 |
+
<div class="form-row">
|
| 243 |
+
<div class="form-group col-md-12 mb-2">
|
| 244 |
+
<h7 class="card-subtitle ml-2 mt-1 text-muted"><b>Fixed Node Constraint</b></h7>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
<div class="form-row form-inline">
|
| 248 |
+
<div id="nodeListColumn" class="form-group col-md-4 ml-2 mr-3">
|
| 249 |
+
</div>
|
| 250 |
+
<div class="form-group col-md-5">
|
| 251 |
+
<label>x : </label>
|
| 252 |
+
<input type="text" class="form-control form-control-sm w-25 ml-1 mr-1" style="display:flex; flex-grow:1" id="fixedNodeX" value="">
|
| 253 |
+
<label>y : </label>
|
| 254 |
+
<input type="text" class="form-control form-control-sm w-25 ml-1 mr-1" style="display:flex; flex-grow:1" id="fixedNodeY" value="">
|
| 255 |
+
</div>
|
| 256 |
+
<div class="form-group col-md-2">
|
| 257 |
+
<input type="button" id="fixedNode" class="btn btn-primary btn-sm" value="Add"/>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</form>
|
| 261 |
+
|
| 262 |
+
<hr class="line">
|
| 263 |
+
|
| 264 |
+
<!-- Alignment Constraints -->
|
| 265 |
+
<form>
|
| 266 |
+
<div class="form-row">
|
| 267 |
+
<div class="form-group col-md-12 mb-2">
|
| 268 |
+
<h7 class="card-subtitle ml-2 mt-1 text-muted"><b>Alignment Constraint</b></h7>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
<div class="form-row form-inline mb-2">
|
| 272 |
+
<div class="form-group col-md-8">
|
| 273 |
+
<h7 class="card-subtitle ml-2 mt-1 text-muted">Selected Nodes Vertically</h7>
|
| 274 |
+
</div>
|
| 275 |
+
<div class="form-group col-md-3">
|
| 276 |
+
<input type="button" id="verticalAlignment" class="btn btn-primary btn-sm" value="Add"/>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="form-row form-inline">
|
| 280 |
+
<div class="form-group col-md-8">
|
| 281 |
+
<h7 class="card-subtitle ml-2 mt-1 text-muted">Selected Nodes Horizontally</h7>
|
| 282 |
+
</div>
|
| 283 |
+
<div class="form-group col-md-3">
|
| 284 |
+
<input type="button" id="horizontalAlignment" class="btn btn-primary btn-sm" value="Add"/>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
<div class="form-row">
|
| 288 |
+
<div class="form-group col-md-12 mt-2 mb-0">
|
| 289 |
+
<span style="margin-left: 9px; font-size: 12px">Click on a node for selecting. Shift + click for extending selection.</span>
|
| 290 |
+
</div>
|
| 291 |
+
</div>
|
| 292 |
+
</form>
|
| 293 |
+
|
| 294 |
+
<hr class="line">
|
| 295 |
+
|
| 296 |
+
<!-- Relative Placement Constraints -->
|
| 297 |
+
<form>
|
| 298 |
+
<div class="form-row">
|
| 299 |
+
<div class="form-group col-md-12 mb-2">
|
| 300 |
+
<h7 class="card-subtitle ml-2 mt-1 text-muted"><b>Relative Placement Constraint</b></h7>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
<div class="form-row form-inline">
|
| 304 |
+
<div id="nodeListColumnRP1" class="form-group col-md-12 ml-2 mb-2"></div>
|
| 305 |
+
</div>
|
| 306 |
+
<div class="form-row form-inline mb-2">
|
| 307 |
+
<div class="form-group col-md-4">
|
| 308 |
+
<select id="directionList" class='custom-select custom-select-sm ml-2' style='width:auto;'>
|
| 309 |
+
<option value="left-right">left-right</option>
|
| 310 |
+
<option value="top-bottom">top-bottom</option>
|
| 311 |
+
</select>
|
| 312 |
+
</div>
|
| 313 |
+
<div class="form-group col-md-4">
|
| 314 |
+
<label>Gap: </label>
|
| 315 |
+
<input type="text" class="form-control form-control-sm w-50 ml-1" id="gap" value="">
|
| 316 |
+
</div>
|
| 317 |
+
<div class="form-group col-md-2">
|
| 318 |
+
<input type="button" id="relativePlacement" class="btn btn-primary btn-sm" value="Add"/>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
<div class="form-row form-inline mb-2">
|
| 322 |
+
<div id="nodeListColumnRP2" class="form-group col-md-12 ml-2"></div>
|
| 323 |
+
</div>
|
| 324 |
+
</form>
|
| 325 |
+
|
| 326 |
+
<hr class="line">
|
| 327 |
+
|
| 328 |
+
<table id="constraintListTable" class="table-striped">
|
| 329 |
+
<div class="form-group col-md-12 mt-1 mb-1" style="padding-left: 9px">
|
| 330 |
+
<span style="font-size: 12px">Hover a constraint row to see involved nodes.</span>
|
| 331 |
+
</div>
|
| 332 |
+
<tr>
|
| 333 |
+
<th style="font-size: 0.9em; text-align: left; width:25%">Type</th>
|
| 334 |
+
<th style="font-size: 0.9em; text-align: left; width:40%">Nodes</th>
|
| 335 |
+
<th style="font-size: 0.9em; text-align: left;">Info</th>
|
| 336 |
+
<th style="font-size: 0.9em; text-align: left;"></th>
|
| 337 |
+
</tr>
|
| 338 |
+
</table>
|
| 339 |
+
</div>
|
| 340 |
+
<!-- Constraints Menu End-->
|
| 341 |
+
</div>
|
| 342 |
+
<div id="cy"></div>
|
| 343 |
+
</body>
|
| 344 |
+
|
| 345 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE>
|
| 2 |
+
|
| 3 |
+
<html>
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<title>cytoscape-fcose.js demo</title>
|
| 7 |
+
|
| 8 |
+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
|
| 9 |
+
|
| 10 |
+
<!-- Bootstrap, popper, jQuery and filesaver - for demo purpose only -->
|
| 11 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
| 12 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
|
| 13 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
| 14 |
+
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
| 15 |
+
|
| 16 |
+
<script src="https://unpkg.com/cytoscape/dist/cytoscape.min.js"></script>
|
| 17 |
+
<script src="https://unpkg.com/layout-base/layout-base.js"></script>
|
| 18 |
+
<script src="https://unpkg.com/cose-base/cose-base.js"></script>
|
| 19 |
+
<script src="https://unpkg.com/cytoscape-layout-utilities/cytoscape-layout-utilities.js"></script>
|
| 20 |
+
|
| 21 |
+
<!-- for testing with local version of cytoscape.js -->
|
| 22 |
+
<!--<script src="../cytoscape.js/build/cytoscape.js"></script>-->
|
| 23 |
+
|
| 24 |
+
<script src="../cytoscape-fcose.js"></script>
|
| 25 |
+
|
| 26 |
+
<style>
|
| 27 |
+
body {
|
| 28 |
+
font-family: helvetica neue, helvetica, liberation sans, arial, sans-serif;
|
| 29 |
+
font-size: 14px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
#cy {
|
| 33 |
+
position: relative;
|
| 34 |
+
width: auto;
|
| 35 |
+
height: 90%;
|
| 36 |
+
z-index: 999;
|
| 37 |
+
margin-left: 290px;
|
| 38 |
+
right: 0px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
h1 {
|
| 42 |
+
opacity: 1;
|
| 43 |
+
color: #555;
|
| 44 |
+
font-size: 15px;
|
| 45 |
+
font-weight: bold;
|
| 46 |
+
padding-top: 5px;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/* The sidepanel menu */
|
| 50 |
+
.sidepanel {
|
| 51 |
+
height: auto; /* Specify a height */
|
| 52 |
+
width: 290px; /* 0 width - change this with JavaScript */
|
| 53 |
+
position: absolute; /* Stay in place */
|
| 54 |
+
z-index: 1000; /* Stay on top */
|
| 55 |
+
float: left;
|
| 56 |
+
top: auto;
|
| 57 |
+
left: 0;
|
| 58 |
+
background-color: #b7ffff; /* Black*/
|
| 59 |
+
overflow-x: hidden; /* Disable horizontal scroll */
|
| 60 |
+
padding-top: 10px; /* Place content 10px from the top */
|
| 61 |
+
padding-bottom: 10px; /* Place content 10px from the bottom */
|
| 62 |
+
transition: 0s; /* 0.5 second transition effect to slide in the sidepanel */
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
table{
|
| 66 |
+
margin-left: 4px;
|
| 67 |
+
margin-right: auto;
|
| 68 |
+
table-layout: fixed;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* The sidepanel links */
|
| 72 |
+
table td {
|
| 73 |
+
padding: 0px 8px 8px 8px;
|
| 74 |
+
text-decoration: none;
|
| 75 |
+
font-size: 13px;
|
| 76 |
+
color: #555;
|
| 77 |
+
transition: 0.3s;
|
| 78 |
+
vertical-align: middle;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* Style the button that is used to open the sidepanel */
|
| 82 |
+
.button {
|
| 83 |
+
font-size: 15px;
|
| 84 |
+
color: #555;
|
| 85 |
+
cursor: pointer;
|
| 86 |
+
background-color: #b7ffff;
|
| 87 |
+
padding: 5px 10px;
|
| 88 |
+
border: none;
|
| 89 |
+
margin-bottom: 5px;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.textField {
|
| 93 |
+
padding-left: 5px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.checkbox {
|
| 97 |
+
margin-left: 0px;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.button:hover {
|
| 101 |
+
background-color: #0f0;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.btn-group-sm>.btn, .btn-sm {
|
| 105 |
+
font-size: 13px;
|
| 106 |
+
background-color: #7d8991;
|
| 107 |
+
border-color: #7d8991;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 111 |
+
color: #fff;
|
| 112 |
+
background-color: #60717d;
|
| 113 |
+
border-color: #60717d; /*set the color you want here*/
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active, .open>.dropdown-toggle.btn-primary {
|
| 117 |
+
color: #fff;
|
| 118 |
+
background-color: #60717d;
|
| 119 |
+
border-color: #60717d; /*set the color you want here*/
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.form-control-sm {
|
| 123 |
+
font-size: 13px
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.custom-select-sm {
|
| 127 |
+
font-size: 13px
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.custom-control-label {
|
| 131 |
+
padding-top: 2px;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.custom-control-input:checked~.custom-control-label::before {
|
| 135 |
+
color: #fff;
|
| 136 |
+
border-color: #7d8991;
|
| 137 |
+
background-color: #7d8991;
|
| 138 |
+
}
|
| 139 |
+
</style>
|
| 140 |
+
|
| 141 |
+
<script>
|
| 142 |
+
document.addEventListener('DOMContentLoaded', function(){
|
| 143 |
+
|
| 144 |
+
var cy = window.cy = cytoscape({
|
| 145 |
+
container: document.getElementById('cy'),
|
| 146 |
+
|
| 147 |
+
ready: function(){
|
| 148 |
+
let layoutUtilities = this.layoutUtilities({
|
| 149 |
+
desiredAspectRatio: this.width()/this.height()
|
| 150 |
+
});
|
| 151 |
+
this.nodes().forEach(function(node){
|
| 152 |
+
let size = Math.random()*120+30;
|
| 153 |
+
node.css("width", size);
|
| 154 |
+
node.css("height", size);
|
| 155 |
+
});
|
| 156 |
+
this.layout({name: 'fcose'}).run();
|
| 157 |
+
},
|
| 158 |
+
|
| 159 |
+
style: [
|
| 160 |
+
{
|
| 161 |
+
selector: 'node',
|
| 162 |
+
style: {
|
| 163 |
+
'background-color': '#2B65EC'
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
|
| 167 |
+
{
|
| 168 |
+
selector: 'edge',
|
| 169 |
+
style: {
|
| 170 |
+
'width': 3,
|
| 171 |
+
'line-color': '#2B65EC'
|
| 172 |
+
}
|
| 173 |
+
},
|
| 174 |
+
|
| 175 |
+
{
|
| 176 |
+
selector: 'node:selected',
|
| 177 |
+
style: {
|
| 178 |
+
'background-color': '#F08080',
|
| 179 |
+
'border-color': 'red'
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
|
| 183 |
+
{
|
| 184 |
+
selector: 'edge:selected',
|
| 185 |
+
style: {
|
| 186 |
+
'line-color': '#F08080'
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
],
|
| 190 |
+
|
| 191 |
+
elements: [{"data":{"id":"glyph9","position":{"x":1452.639173965406,"y":609.3619416544145},"group":"nodes"}},
|
| 192 |
+
{"data":{"id":"glyph0","position":{"x":1351.3490293961959,"y":518.9529901384763},"group":"nodes"}},
|
| 193 |
+
{"data":{"id":"glyph6","position":{"x":1358.2854747390154,"y":707.9866590968695},"group":"nodes"}},
|
| 194 |
+
{"data":{"id":"glyph8","position":{"x":1322.9939787691299,"y":614.6878118623499},"group":"nodes"}},
|
| 195 |
+
{"data":{"id":"glyph7","position":{"x":1239.4852011317887,"y":543.2369849876238},"group":"nodes"}},
|
| 196 |
+
{"data":{"id":"glyph12","position":{"x":841.6855140740067,"y":765.0152660242113},"group":"nodes"}},
|
| 197 |
+
{"data":{"id":"glyph13","position":{"x":1019.5908382748769,"y":841.6087025848726},"group":"nodes"}},
|
| 198 |
+
{"data":{"id":"glyph1","position":{"x":1231.2768042260652,"y":673.2683218469676},"group":"nodes"}},
|
| 199 |
+
{"data":{"id":"glyph2","position":{"x":1039.8995038336504,"y":730.180116446269},"group":"nodes"}},
|
| 200 |
+
{"data":{"id":"glyph15","position":{"x":569.5498472077387,"y":506.89980858075364},"group":"nodes"}},
|
| 201 |
+
{"data":{"id":"glyph3","position":{"x":903.0347368937041,"y":654.3308627056822},"group":"nodes"}},
|
| 202 |
+
{"data":{"id":"glyph17","position":{"x":1195.6310733031135,"y":820.9504141631944},"group":"nodes"}},
|
| 203 |
+
{"data":{"id":"glyph10","position":{"x":1141.2404374322139,"y":732.3190922346248},"group":"nodes"}},
|
| 204 |
+
{"data":{"id":"glyph19","position":{"x":893.1427762830865,"y":856.2695126662625},"group":"nodes"}},
|
| 205 |
+
{"data":{"id":"glyph11","position":{"x":939.3335184518824,"y":758.3699048922733},"group":"nodes"}},
|
| 206 |
+
{"data":{"id":"glyph18","position":{"x":770.4114528170364,"y":659.2220219290564},"group":"nodes"}},
|
| 207 |
+
{"data":{"id":"glyph16","position":{"x":818.0111009023315,"y":564.8072603606723},"group":"nodes"}},
|
| 208 |
+
{"data":{"id":"glyph22","position":{"x":651.1292498357636,"y":314.1387423188818},"group":"nodes"}},
|
| 209 |
+
{"data":{"id":"glyph4","position":{"x":792.0076145303351,"y":454.0225025614517},"group":"nodes"}},
|
| 210 |
+
{"data":{"id":"glyph23","position":{"x":704.0937009722281,"y":398.0421081673902},"group":"nodes"}},
|
| 211 |
+
{"data":{"id":"glyph24","position":{"x":809.2974819306742,"y":231.7141323534711},"group":"nodes"}},
|
| 212 |
+
{"data":{"id":"glyph25","position":{"x":890.826951363933,"y":299.74915938409947},"group":"nodes"}},
|
| 213 |
+
{"data":{"id":"glyph20","position":{"x":786.2625869125006,"y":331.67766378118495},"group":"nodes"}},
|
| 214 |
+
{"data":{"id":"glyph26","position":{"x":879.2981049664311,"y":389.27232563593486},"group":"nodes"}},
|
| 215 |
+
{"data":{"id":"glyph35","position":{"x":627.088268638501,"y":40.089848876876886},"group":"nodes"}},
|
| 216 |
+
{"data":{"id":"glyph36","position":{"x":329.6761506918384,"y":187.20503497360494},"group":"nodes"}},
|
| 217 |
+
{"data":{"id":"glyph37","position":{"x":155.12947729633356,"y":379.5263531900425},"group":"nodes"}},
|
| 218 |
+
{"data":{"id":"glyph38","position":{"x":70.13952165372024,"y":581.2691021233562},"group":"nodes"}},
|
| 219 |
+
{"data":{"id":"glyph21","position":{"x":713.4639263718316,"y":229.06355211274115},"group":"nodes"}},
|
| 220 |
+
{"data":{"id":"glyph42","position":{"x":523.848994074475,"y":108.47701882803744},"group":"nodes"}},
|
| 221 |
+
{"data":{"id":"glyph41","position":{"x":718.966532806447,"y":116.46683749236911},"group":"nodes"}},
|
| 222 |
+
{"data":{"id":"glyph31","position":{"x":621.3138039842713,"y":145.7168752444793},"group":"nodes"}},
|
| 223 |
+
{"data":{"id":"glyph27","position":{"x":525.2099120385327,"y":210.92542274858295},"group":"nodes"}},
|
| 224 |
+
{"data":{"id":"glyph32","position":{"x":426.3492127437995,"y":257.85665030680025},"group":"nodes"}},
|
| 225 |
+
{"data":{"id":"glyph28","position":{"x":346.30926488002945,"y":344.4562152937847},"group":"nodes"}},
|
| 226 |
+
{"data":{"id":"glyph43","position":{"x":363.54724181648487,"y":486.5705174517715},"group":"nodes"}},
|
| 227 |
+
{"data":{"id":"glyph33","position":{"x":269.87972487503066,"y":430.2423722580144},"group":"nodes"}},
|
| 228 |
+
{"data":{"id":"glyph29","position":{"x":227.86139816113416,"y":531.824141876398},"group":"nodes"}},
|
| 229 |
+
{"data":{"id":"glyph39","position":{"x":104.77693104995387,"y":691.8382969303054},"group":"nodes"}},
|
| 230 |
+
{"data":{"id":"glyph40","position":{"x":292.039416141131,"y":643.4009391289965},"group":"nodes"}},
|
| 231 |
+
{"data":{"id":"glyph34","position":{"x":193.8304385062596,"y":632.9540034207419},"group":"nodes"}},
|
| 232 |
+
{"data":{"id":"glyph30","position":{"x":205.4745704273754,"y":733.5181650652648},"group":"nodes"}},
|
| 233 |
+
{"data":{"id":"glyph14","position":{"x":695.1248473196924,"y":482.8828321494848},"group":"nodes"}},
|
| 234 |
+
{"data":{"id":"glyph5","position":{"x":721.6687687330186,"y":570.3868893775194},"group":"nodes"}},
|
| 235 |
+
{"data":{"id":"e22","source":"glyph9","target":"glyph8","group":"edges"}},
|
| 236 |
+
{"data":{"id":"e23","source":"glyph0","target":"glyph8","group":"edges"}},
|
| 237 |
+
{"data":{"id":"e24","source":"glyph8","target":"glyph1","group":"edges"}},
|
| 238 |
+
{"data":{"id":"e25","source":"glyph6","target":"glyph8","group":"edges"}},
|
| 239 |
+
{"data":{"id":"e26","source":"glyph8","target":"glyph7","group":"edges"}},
|
| 240 |
+
{"data":{"id":"e27","source":"glyph11","target":"glyph12","group":"edges"}},
|
| 241 |
+
{"data":{"id":"e28","source":"glyph13","target":"glyph11","group":"edges"}},
|
| 242 |
+
{"data":{"id":"e29","source":"glyph1","target":"glyph10","group":"edges"}},
|
| 243 |
+
{"data":{"id":"e30","source":"glyph10","target":"glyph2","group":"edges"}},
|
| 244 |
+
{"data":{"id":"e31","source":"glyph2","target":"glyph11","group":"edges"}},
|
| 245 |
+
//{"data":{"id":"e32","source":"glyph11","target":"glyph3","group":"edges"}},
|
| 246 |
+
{"data":{"id":"e33","source":"glyph14","target":"glyph4","group":"edges"}},
|
| 247 |
+
{"data":{"id":"e34","source":"glyph15","target":"glyph14","group":"edges"}},
|
| 248 |
+
{"data":{"id":"e35","source":"glyph3","target":"glyph16","group":"edges"}},
|
| 249 |
+
{"data":{"id":"e36","source":"glyph16","target":"glyph5","group":"edges"}},
|
| 250 |
+
{"data":{"id":"e37","source":"glyph16","target":"glyph4","group":"edges"}},
|
| 251 |
+
{"data":{"id":"e38","source":"glyph17","target":"glyph10","group":"edges"}},
|
| 252 |
+
{"data":{"id":"e39","source":"glyph19","target":"glyph11","group":"edges"}},
|
| 253 |
+
{"data":{"id":"e40","source":"glyph18","target":"glyph16","group":"edges"}},
|
| 254 |
+
//{"data":{"id":"e41","source":"glyph22","target":"glyph20","group":"edges"}},
|
| 255 |
+
{"data":{"id":"e42","source":"glyph4","target":"glyph20","group":"edges"}},
|
| 256 |
+
{"data":{"id":"e43","source":"glyph20","target":"glyph21","group":"edges"}},
|
| 257 |
+
{"data":{"id":"e44","source":"glyph23","target":"glyph20","group":"edges"}},
|
| 258 |
+
{"data":{"id":"e45","source":"glyph24","target":"glyph20","group":"edges"}},
|
| 259 |
+
{"data":{"id":"e46","source":"glyph20","target":"glyph25","group":"edges"}},
|
| 260 |
+
{"data":{"id":"e47","source":"glyph20","target":"glyph26","group":"edges"}},
|
| 261 |
+
{"data":{"id":"e48","source":"glyph35","target":"glyph31","group":"edges"}},
|
| 262 |
+
{"data":{"id":"e49","source":"glyph36","target":"glyph32","group":"edges"}},
|
| 263 |
+
//{"data":{"id":"e50","source":"glyph37","target":"glyph33","group":"edges"}},
|
| 264 |
+
{"data":{"id":"e51","source":"glyph38","target":"glyph34","group":"edges"}},
|
| 265 |
+
{"data":{"id":"e52","source":"glyph21","target":"glyph31","group":"edges"}},
|
| 266 |
+
{"data":{"id":"e53","source":"glyph42","target":"glyph31","group":"edges"}},
|
| 267 |
+
{"data":{"id":"e54","source":"glyph31","target":"glyph41","group":"edges"}},
|
| 268 |
+
{"data":{"id":"e55","source":"glyph31","target":"glyph27","group":"edges"}},
|
| 269 |
+
{"data":{"id":"e56","source":"glyph27","target":"glyph32","group":"edges"}},
|
| 270 |
+
{"data":{"id":"e57","source":"glyph32","target":"glyph28","group":"edges"}},
|
| 271 |
+
{"data":{"id":"e58","source":"glyph28","target":"glyph33","group":"edges"}},
|
| 272 |
+
//{"data":{"id":"e59","source":"glyph33","target":"glyph43","group":"edges"}},
|
| 273 |
+
//{"data":{"id":"e60","source":"glyph33","target":"glyph29","group":"edges"}},
|
| 274 |
+
{"data":{"id":"e61","source":"glyph29","target":"glyph34","group":"edges"}},
|
| 275 |
+
//{"data":{"id":"e62","source":"glyph39","target":"glyph34","group":"edges"}},
|
| 276 |
+
{"data":{"id":"e63","source":"glyph34","target":"glyph40","group":"edges"}},
|
| 277 |
+
{"data":{"id":"e64","source":"glyph34","target":"glyph30","group":"edges"}},
|
| 278 |
+
{"data":{"id":"e65","source":"glyph14","target":"glyph5","group":"edges"}},
|
| 279 |
+
{"data":{"id":"e66","source":"glyph33","target":"glyph35","group":"edges"}},
|
| 280 |
+
{"data":{"id":"e67","source":"glyph13","target":"glyph22","group":"edges"}},
|
| 281 |
+
{"data":{"id":"e68","source":"glyph17","target":"glyph6","group":"edges"}},
|
| 282 |
+
{"data":{"id":"e69","source":"glyph25","target":"glyph27","group":"edges"}}]
|
| 283 |
+
});
|
| 284 |
+
|
| 285 |
+
document.getElementById("randomizeButton").addEventListener("click", function(){
|
| 286 |
+
var layout = cy.layout({
|
| 287 |
+
name: 'random',
|
| 288 |
+
animate: true,
|
| 289 |
+
animationDuration: 1000
|
| 290 |
+
});
|
| 291 |
+
|
| 292 |
+
layout.run();
|
| 293 |
+
});
|
| 294 |
+
|
| 295 |
+
document.getElementById("fcoseButton").addEventListener("click", function(){
|
| 296 |
+
let qualityItem = document.getElementById("quality");
|
| 297 |
+
var layout = cy.layout({
|
| 298 |
+
name: 'fcose',
|
| 299 |
+
quality: qualityItem.options[qualityItem.selectedIndex].value,
|
| 300 |
+
randomize: !(document.getElementById("randomize").checked),
|
| 301 |
+
animate: document.getElementById("animate").checked,
|
| 302 |
+
animationEasing: 'ease-out',
|
| 303 |
+
fit: document.getElementById("fit").checked,
|
| 304 |
+
uniformNodeDimensions: document.getElementById("uniformNodeDimensions").checked,
|
| 305 |
+
packComponents: document.getElementById("packComponents").checked,
|
| 306 |
+
tile: document.getElementById("tile").checked,
|
| 307 |
+
nodeRepulsion: parseFloat(document.getElementById("nodeRepulsion").value),
|
| 308 |
+
idealEdgeLength: parseFloat(document.getElementById("idealEdgeLength").value),
|
| 309 |
+
edgeElasticity: parseFloat(document.getElementById("edgeElasticity").value),
|
| 310 |
+
nestingFactor: parseFloat(document.getElementById("nestingFactor").value),
|
| 311 |
+
gravity: parseFloat(document.getElementById("gravity").value),
|
| 312 |
+
gravityRange: parseFloat(document.getElementById("gravityRange").value),
|
| 313 |
+
gravityCompound: parseFloat(document.getElementById("gravityCompound").value),
|
| 314 |
+
gravityRangeCompound: parseFloat(document.getElementById("gravityRangeCompound").value),
|
| 315 |
+
numIter: parseFloat(document.getElementById("numIter").value),
|
| 316 |
+
tilingPaddingVertical: parseFloat(document.getElementById("tilingPaddingVertical").value),
|
| 317 |
+
tilingPaddingHorizontal: parseFloat(document.getElementById("tilingPaddingHorizontal").value),
|
| 318 |
+
initialEnergyOnIncremental: document.getElementById("initialEnergyOnIncremental").value,
|
| 319 |
+
step:"all"
|
| 320 |
+
});
|
| 321 |
+
|
| 322 |
+
layout.run();
|
| 323 |
+
});
|
| 324 |
+
|
| 325 |
+
});
|
| 326 |
+
</script>
|
| 327 |
+
</head>
|
| 328 |
+
|
| 329 |
+
<body>
|
| 330 |
+
<h1 class="ml-2">cytoscape-fcose demo</h1>
|
| 331 |
+
<div style='width: 300px; position: absolute;'>
|
| 332 |
+
<button id="randomizeButton" class="btn btn-primary btn-sm mb-2 ml-2">Randomize</button> 
|
| 333 |
+
<button id="fcoseButton" class="btn btn-primary btn-sm mb-2">fCoSE</button> 
|
| 334 |
+
|
| 335 |
+
<div id="mySidepanel" class="sidepanel">
|
| 336 |
+
<table>
|
| 337 |
+
<tr>
|
| 338 |
+
<td><span class="add-on layout-text" title="Quality of the layout"> Quality </span></td>
|
| 339 |
+
<td>
|
| 340 |
+
<select id="quality" class='custom-select custom-select-sm'>
|
| 341 |
+
<option value="draft">draft</option>
|
| 342 |
+
<option value="default" selected="">default</option>
|
| 343 |
+
<option value="proof">proof</option>
|
| 344 |
+
</select>
|
| 345 |
+
</td>
|
| 346 |
+
</tr>
|
| 347 |
+
<tr>
|
| 348 |
+
<td><span class="add-on layout-text" title="Whether to enable incremental mode"> Incremental </span></td>
|
| 349 |
+
<td>
|
| 350 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 351 |
+
<input type="checkbox" class="custom-control-input" id="randomize" name="incremental">
|
| 352 |
+
<label class="custom-control-label" for="randomize"></label>
|
| 353 |
+
</div>
|
| 354 |
+
</td>
|
| 355 |
+
</tr>
|
| 356 |
+
<tr>
|
| 357 |
+
<td><span class="add-on layout-text" title="Whether to perform animation after layout"> Animate </span></td>
|
| 358 |
+
<td>
|
| 359 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 360 |
+
<input type="checkbox" class="custom-control-input" id="animate" name="animate" checked>
|
| 361 |
+
<label class="custom-control-label" for="animate"></label>
|
| 362 |
+
</div>
|
| 363 |
+
</td>
|
| 364 |
+
</tr>
|
| 365 |
+
<tr>
|
| 366 |
+
<td><span class="add-on layout-text" title="Whether to fit the viewport to the repositioned nodes"> Fit </span></td>
|
| 367 |
+
<td>
|
| 368 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 369 |
+
<input type="checkbox" class="custom-control-input" id="fit" name="fit" checked>
|
| 370 |
+
<label class="custom-control-label" for="fit"></label>
|
| 371 |
+
</div>
|
| 372 |
+
</td>
|
| 373 |
+
</tr>
|
| 374 |
+
<tr>
|
| 375 |
+
<td><span class="add-on layout-text" title="Whether nodes are of uniform dimensions"> Uniform Node Dimensions </span></td>
|
| 376 |
+
<td>
|
| 377 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 378 |
+
<input type="checkbox" class="custom-control-input" id="uniformNodeDimensions" name="uniformNodeDimensions">
|
| 379 |
+
<label class="custom-control-label" for="uniformNodeDimensions"></label>
|
| 380 |
+
</div>
|
| 381 |
+
</td>
|
| 382 |
+
</tr>
|
| 383 |
+
<tr>
|
| 384 |
+
<td><span class="add-on layout-text" title="Whether to pack components"> Pack Components to Window</span></td>
|
| 385 |
+
<td>
|
| 386 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 387 |
+
<input type="checkbox" class="custom-control-input" id="packComponents" name="packComponents" checked>
|
| 388 |
+
<label class="custom-control-label" for="packComponents"></label>
|
| 389 |
+
</div>
|
| 390 |
+
</td>
|
| 391 |
+
</tr>
|
| 392 |
+
<tr>
|
| 393 |
+
<td><span class="add-on layout-text" title="Whether to tile disconnected nodes"> Tile Disconnected </span></td>
|
| 394 |
+
<td>
|
| 395 |
+
<div class="custom-control custom-control-inline custom-checkbox">
|
| 396 |
+
<input type="checkbox" class="custom-control-input" id="tile" name="tile" checked>
|
| 397 |
+
<label class="custom-control-label" for="tile"></label>
|
| 398 |
+
</div>
|
| 399 |
+
</td>
|
| 400 |
+
</tr>
|
| 401 |
+
<tr>
|
| 402 |
+
<td><span class="add-on layout-text" title="Node repulsion (non overlapping) multiplier"> Node Repulsion </span></td>
|
| 403 |
+
<td><input id="nodeRepulsion" class="textField form-control form-control-sm" type="text" value="4500" maxlength=5 size="5"></td>
|
| 404 |
+
</tr>
|
| 405 |
+
<tr>
|
| 406 |
+
<td><span class="add-on layout-text" title="Ideal (intra-graph) edge length"> Ideal Edge Length </span></td>
|
| 407 |
+
<td><input id="idealEdgeLength" class="textField form-control form-control-sm" type="text" value="50" maxlength=5 size="5"></td>
|
| 408 |
+
</tr>
|
| 409 |
+
<tr>
|
| 410 |
+
<td><span class="add-on layout-text" title="Divisor to compute edge forces"> Edge Elasticity </span></td>
|
| 411 |
+
<td><input id="edgeElasticity" class="textField form-control form-control-sm" type="text" value="0.45" maxlength=5 size="5"></td>
|
| 412 |
+
</tr>
|
| 413 |
+
<tr>
|
| 414 |
+
<td><span class="add-on layout-text" title="Nesting factor (multiplier) to compute ideal edge length for inter-graph edges"> Nesting Factor </span></td>
|
| 415 |
+
<td><input id="nestingFactor" class="textField form-control form-control-sm" type="text" value="0.1" maxlength=5 size="5"></td>
|
| 416 |
+
</tr>
|
| 417 |
+
<tr>
|
| 418 |
+
<td><span class="add-on layout-text" title="Gravity force (constant)"> Gravity </span></td>
|
| 419 |
+
<td><input id="gravity" class="textField form-control form-control-sm" type="text" value="0.25" maxlength=5 size="5"></td>
|
| 420 |
+
</tr>
|
| 421 |
+
<tr>
|
| 422 |
+
<td><span class="add-on layout-text" title="Gravity range (constant)"> Gravity Range </span></td>
|
| 423 |
+
<td><input id="gravityRange" class="textField form-control form-control-sm" type="text" value="3.8" maxlength=5 size="5"></td>
|
| 424 |
+
</tr>
|
| 425 |
+
<tr>
|
| 426 |
+
<td><span class="add-on layout-text" title="Gravity force (constant) for compounds"> Compound Gravity </span></td>
|
| 427 |
+
<td><input id="gravityCompound" class="textField form-control form-control-sm" type="text" value="1" maxlength=5 size="5"></td>
|
| 428 |
+
</tr>
|
| 429 |
+
<tr>
|
| 430 |
+
<td><span class="add-on layout-text" title="Gravity range (constant) for compounds"> Compound Gravity Range </span></td>
|
| 431 |
+
<td><input id="gravityRangeCompound" class="textField form-control form-control-sm" type="text" value="1.5" maxlength=5 size="5"></td>
|
| 432 |
+
</tr>
|
| 433 |
+
<tr>
|
| 434 |
+
<td><span class="add-on layout-text" title="Maximum number of iterations to perform"> Number of Iterations </span></td>
|
| 435 |
+
<td><input id="numIter" class="textField form-control form-control-sm" type="text" value="2500" size="5"></td>
|
| 436 |
+
</tr>
|
| 437 |
+
<tr>
|
| 438 |
+
<td><span class="add-on layout-text" title="Amount of vertical space to put between degree zero nodes during tiling"> Tiling Vertical Padding </span></td>
|
| 439 |
+
<td><input id="tilingPaddingVertical" class="textField form-control form-control-sm" type="text" value="10" maxlength=5 size="5"></td>
|
| 440 |
+
</tr>
|
| 441 |
+
<tr>
|
| 442 |
+
<td><span class="add-on layout-text" title="Amount of horizontal space to put between degree zero nodes during tiling"> Tiling Horizontal Padding </span></td>
|
| 443 |
+
<td><input id="tilingPaddingHorizontal" class="textField form-control form-control-sm" type="text" value="10" maxlength=5 size="5"></td>
|
| 444 |
+
</tr>
|
| 445 |
+
<tr>
|
| 446 |
+
<td><span class="add-on layout-text" title="Initial cooling factor for incremental layout"> Incremental Cooling Factor </span></td>
|
| 447 |
+
<td><input id="initialEnergyOnIncremental" class="textField form-control form-control-sm" type="text" value="0.3" maxlength=5 size="5"></td>
|
| 448 |
+
</tr>
|
| 449 |
+
</table>
|
| 450 |
+
|
| 451 |
+
</div>
|
| 452 |
+
</div>
|
| 453 |
+
<div id="cy"></div>
|
| 454 |
+
|
| 455 |
+
</body>
|
| 456 |
+
|
| 457 |
+
</html>
|
tools/ui/node_modules/cytoscape-fcose/demo/incrementalConstraints.gif
ADDED
|
Git LFS Details
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/callGraph.js
ADDED
|
@@ -0,0 +1,1616 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
call_graph = {
|
| 2 |
+
"elements": {
|
| 3 |
+
"nodes": [
|
| 4 |
+
{
|
| 5 |
+
"data": {
|
| 6 |
+
"id": "nwtN_6edbfba5-6884-4f26-868f-18bc2481616e",
|
| 7 |
+
"bbox": {
|
| 8 |
+
"x": 1048.6375489786594,
|
| 9 |
+
"y": 153.7561581259744,
|
| 10 |
+
"w": 91.52294921875,
|
| 11 |
+
"h": 50.25
|
| 12 |
+
},
|
| 13 |
+
"minWidth": 91.52294921875,
|
| 14 |
+
"minWidthBiasLeft": 0.00005,
|
| 15 |
+
"minWidthBiasRight": 0.00005,
|
| 16 |
+
"minHeight": 50.25,
|
| 17 |
+
"minHeightBiasTop": 0.00005,
|
| 18 |
+
"minHeightBiasBottom": 0.00005,
|
| 19 |
+
"originalW": 119.52294921875,
|
| 20 |
+
"originalH": 78.25,
|
| 21 |
+
"class": "compartment",
|
| 22 |
+
"label": "__main__",
|
| 23 |
+
"statesandinfos": [],
|
| 24 |
+
"language": "PD",
|
| 25 |
+
"border-width": 3.25,
|
| 26 |
+
"border-color": "#555555",
|
| 27 |
+
"background-color": "#ffffff",
|
| 28 |
+
"background-opacity": 0.5,
|
| 29 |
+
"background-image-opacity": 1,
|
| 30 |
+
"text-wrap": "wrap",
|
| 31 |
+
"font-size": 14,
|
| 32 |
+
"font-family": "Helvetica",
|
| 33 |
+
"font-style": "normal",
|
| 34 |
+
"font-weight": "normal",
|
| 35 |
+
"color": "#000",
|
| 36 |
+
"background-image": "",
|
| 37 |
+
"ports": [],
|
| 38 |
+
"infoboxCalculated": true,
|
| 39 |
+
"auxunitlayouts": {}
|
| 40 |
+
},
|
| 41 |
+
"position": {
|
| 42 |
+
"x": 1048.6375489786594,
|
| 43 |
+
"y": 153.7561581259744
|
| 44 |
+
},
|
| 45 |
+
"group": "nodes",
|
| 46 |
+
"removed": false,
|
| 47 |
+
"selected": false,
|
| 48 |
+
"selectable": true,
|
| 49 |
+
"locked": false,
|
| 50 |
+
"grabbable": true,
|
| 51 |
+
"classes": ""
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"data": {
|
| 55 |
+
"id": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 56 |
+
"bbox": {
|
| 57 |
+
"x": 1048.6375489786594,
|
| 58 |
+
"y": 153.7561581259744,
|
| 59 |
+
"w": 88.27294921875,
|
| 60 |
+
"h": 47
|
| 61 |
+
},
|
| 62 |
+
"class": "macromolecule",
|
| 63 |
+
"label": "main\ncalls: 1\ntime: 0.000000s",
|
| 64 |
+
"statesandinfos": [],
|
| 65 |
+
"parent": "nwtN_6edbfba5-6884-4f26-868f-18bc2481616e",
|
| 66 |
+
"language": "PD",
|
| 67 |
+
"border-width": 1.25,
|
| 68 |
+
"border-color": "#555555",
|
| 69 |
+
"background-color": "#9999e5",
|
| 70 |
+
"background-opacity": 1,
|
| 71 |
+
"background-image-opacity": 1,
|
| 72 |
+
"text-wrap": "wrap",
|
| 73 |
+
"font-size": 11,
|
| 74 |
+
"font-family": "Helvetica",
|
| 75 |
+
"font-style": "normal",
|
| 76 |
+
"font-weight": "normal",
|
| 77 |
+
"color": "#000",
|
| 78 |
+
"background-image": "",
|
| 79 |
+
"ports": [],
|
| 80 |
+
"infoboxCalculated": true,
|
| 81 |
+
"auxunitlayouts": {}
|
| 82 |
+
},
|
| 83 |
+
"position": {
|
| 84 |
+
"x": 1048.6375489786594,
|
| 85 |
+
"y": 153.7561581259744
|
| 86 |
+
},
|
| 87 |
+
"group": "nodes",
|
| 88 |
+
"removed": false,
|
| 89 |
+
"selected": false,
|
| 90 |
+
"selectable": true,
|
| 91 |
+
"locked": false,
|
| 92 |
+
"grabbable": true,
|
| 93 |
+
"classes": ""
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"data": {
|
| 97 |
+
"id": "nwtN_e872ccff-fb1a-4264-a66a-cbc72d1e9711",
|
| 98 |
+
"bbox": {
|
| 99 |
+
"x": 832.2602245209991,
|
| 100 |
+
"y": 267.2349457952003,
|
| 101 |
+
"w": 203.3974609375,
|
| 102 |
+
"h": 50.25
|
| 103 |
+
},
|
| 104 |
+
"minWidth": 155.5302734375,
|
| 105 |
+
"minWidthBiasLeft": 0.00005,
|
| 106 |
+
"minWidthBiasRight": 0.00005,
|
| 107 |
+
"minHeight": 50.25,
|
| 108 |
+
"minHeightBiasTop": 0.00005,
|
| 109 |
+
"minHeightBiasBottom": 0.00005,
|
| 110 |
+
"originalW": 231.3974609375,
|
| 111 |
+
"originalH": 78.25,
|
| 112 |
+
"class": "compartment",
|
| 113 |
+
"label": "communications",
|
| 114 |
+
"statesandinfos": [],
|
| 115 |
+
"language": "PD",
|
| 116 |
+
"border-width": 3.25,
|
| 117 |
+
"border-color": "#555555",
|
| 118 |
+
"background-color": "#ffffff",
|
| 119 |
+
"background-opacity": 0.5,
|
| 120 |
+
"background-image-opacity": 1,
|
| 121 |
+
"text-wrap": "wrap",
|
| 122 |
+
"font-size": 14,
|
| 123 |
+
"font-family": "Helvetica",
|
| 124 |
+
"font-style": "normal",
|
| 125 |
+
"font-weight": "normal",
|
| 126 |
+
"color": "#000",
|
| 127 |
+
"background-image": "",
|
| 128 |
+
"ports": [],
|
| 129 |
+
"infoboxCalculated": true,
|
| 130 |
+
"auxunitlayouts": {}
|
| 131 |
+
},
|
| 132 |
+
"position": {
|
| 133 |
+
"x": 832.2602245209991,
|
| 134 |
+
"y": 267.2349457952003
|
| 135 |
+
},
|
| 136 |
+
"group": "nodes",
|
| 137 |
+
"removed": false,
|
| 138 |
+
"selected": false,
|
| 139 |
+
"selectable": true,
|
| 140 |
+
"locked": false,
|
| 141 |
+
"grabbable": true,
|
| 142 |
+
"classes": ""
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"data": {
|
| 146 |
+
"id": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 147 |
+
"bbox": {
|
| 148 |
+
"x": 832.2602245209991,
|
| 149 |
+
"y": 267.2349457952003,
|
| 150 |
+
"w": 200.1474609375,
|
| 151 |
+
"h": 47
|
| 152 |
+
},
|
| 153 |
+
"class": "macromolecule",
|
| 154 |
+
"label": "communications.ServerSocket.__init__\ncalls: 1\ntime: 0.001029s",
|
| 155 |
+
"statesandinfos": [],
|
| 156 |
+
"parent": "nwtN_e872ccff-fb1a-4264-a66a-cbc72d1e9711",
|
| 157 |
+
"language": "PD",
|
| 158 |
+
"border-width": 1.25,
|
| 159 |
+
"border-color": "#555555",
|
| 160 |
+
"background-color": "#9999e5",
|
| 161 |
+
"background-opacity": 1,
|
| 162 |
+
"background-image-opacity": 1,
|
| 163 |
+
"text-wrap": "wrap",
|
| 164 |
+
"font-size": 11,
|
| 165 |
+
"font-family": "Helvetica",
|
| 166 |
+
"font-style": "normal",
|
| 167 |
+
"font-weight": "normal",
|
| 168 |
+
"color": "#000",
|
| 169 |
+
"background-image": "",
|
| 170 |
+
"ports": [],
|
| 171 |
+
"infoboxCalculated": true,
|
| 172 |
+
"auxunitlayouts": {}
|
| 173 |
+
},
|
| 174 |
+
"position": {
|
| 175 |
+
"x": 832.2602245209991,
|
| 176 |
+
"y": 267.2349457952003
|
| 177 |
+
},
|
| 178 |
+
"group": "nodes",
|
| 179 |
+
"removed": false,
|
| 180 |
+
"selected": false,
|
| 181 |
+
"selectable": true,
|
| 182 |
+
"locked": false,
|
| 183 |
+
"grabbable": true,
|
| 184 |
+
"classes": ""
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"data": {
|
| 188 |
+
"id": "d1f240af-7520-fb1b-19f9-e5e92eab909e",
|
| 189 |
+
"bbox": {
|
| 190 |
+
"x": 461.06847268925367,
|
| 191 |
+
"y": 406.7278918574187,
|
| 192 |
+
"w": 121.4775390625,
|
| 193 |
+
"h": 50.25
|
| 194 |
+
},
|
| 195 |
+
"minWidth": 109.640625,
|
| 196 |
+
"minWidthBiasLeft": 0.00005,
|
| 197 |
+
"minWidthBiasRight": 0.00005,
|
| 198 |
+
"minHeight": 50.25,
|
| 199 |
+
"minHeightBiasTop": 0.00005,
|
| 200 |
+
"minHeightBiasBottom": 0.00005,
|
| 201 |
+
"originalW": 149.4775390625,
|
| 202 |
+
"originalH": 78.25,
|
| 203 |
+
"class": "compartment",
|
| 204 |
+
"label": "socket",
|
| 205 |
+
"statesandinfos": [],
|
| 206 |
+
"language": "PD",
|
| 207 |
+
"border-width": 3.25,
|
| 208 |
+
"border-color": "#555555",
|
| 209 |
+
"background-color": "#ffffff",
|
| 210 |
+
"background-opacity": 0.5,
|
| 211 |
+
"background-image-opacity": 1,
|
| 212 |
+
"text-wrap": "wrap",
|
| 213 |
+
"font-size": 14,
|
| 214 |
+
"font-family": "Helvetica",
|
| 215 |
+
"font-style": "normal",
|
| 216 |
+
"font-weight": "normal",
|
| 217 |
+
"color": "#000",
|
| 218 |
+
"background-image": "",
|
| 219 |
+
"ports": [],
|
| 220 |
+
"infoboxCalculated": true,
|
| 221 |
+
"auxunitlayouts": {}
|
| 222 |
+
},
|
| 223 |
+
"position": {
|
| 224 |
+
"x": 461.06847268925367,
|
| 225 |
+
"y": 406.7278918574187
|
| 226 |
+
},
|
| 227 |
+
"group": "nodes",
|
| 228 |
+
"removed": false,
|
| 229 |
+
"selected": false,
|
| 230 |
+
"selectable": true,
|
| 231 |
+
"locked": false,
|
| 232 |
+
"grabbable": true,
|
| 233 |
+
"classes": ""
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"data": {
|
| 237 |
+
"id": "288a2f9b-2930-701e-c68e-400307fbffd4",
|
| 238 |
+
"bbox": {
|
| 239 |
+
"x": 461.06847268925367,
|
| 240 |
+
"y": 406.7278918574187,
|
| 241 |
+
"w": 118.2275390625,
|
| 242 |
+
"h": 47
|
| 243 |
+
},
|
| 244 |
+
"class": "macromolecule",
|
| 245 |
+
"label": "socket.socket.__init__\ncalls: 1\ntime: 0.001029s",
|
| 246 |
+
"statesandinfos": [],
|
| 247 |
+
"parent": "d1f240af-7520-fb1b-19f9-e5e92eab909e",
|
| 248 |
+
"language": "PD",
|
| 249 |
+
"border-width": 1.25,
|
| 250 |
+
"border-color": "#555555",
|
| 251 |
+
"background-color": "#9999e5",
|
| 252 |
+
"background-opacity": 1,
|
| 253 |
+
"background-image-opacity": 1,
|
| 254 |
+
"text-wrap": "wrap",
|
| 255 |
+
"font-size": 11,
|
| 256 |
+
"font-family": "Helvetica",
|
| 257 |
+
"font-style": "normal",
|
| 258 |
+
"font-weight": "normal",
|
| 259 |
+
"color": "#000",
|
| 260 |
+
"background-image": "",
|
| 261 |
+
"ports": [],
|
| 262 |
+
"infoboxCalculated": true,
|
| 263 |
+
"auxunitlayouts": {}
|
| 264 |
+
},
|
| 265 |
+
"position": {
|
| 266 |
+
"x": 461.06847268925367,
|
| 267 |
+
"y": 406.7278918574187
|
| 268 |
+
},
|
| 269 |
+
"group": "nodes",
|
| 270 |
+
"removed": false,
|
| 271 |
+
"selected": false,
|
| 272 |
+
"selectable": true,
|
| 273 |
+
"locked": false,
|
| 274 |
+
"grabbable": true,
|
| 275 |
+
"classes": ""
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"data": {
|
| 279 |
+
"id": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 280 |
+
"bbox": {
|
| 281 |
+
"x": 973.1536617161887,
|
| 282 |
+
"y": 562.1987962172685,
|
| 283 |
+
"w": 808.9722624959013,
|
| 284 |
+
"h": 380.90672838617974
|
| 285 |
+
},
|
| 286 |
+
"minWidth": 205.5387290927216,
|
| 287 |
+
"minWidthBiasLeft": 0.00005,
|
| 288 |
+
"minWidthBiasRight": 0.00005,
|
| 289 |
+
"minHeight": 128.27786926084235,
|
| 290 |
+
"minHeightBiasTop": 0.00005,
|
| 291 |
+
"minHeightBiasBottom": 0.00005,
|
| 292 |
+
"originalW": 836.9722624959013,
|
| 293 |
+
"originalH": 408.90672838617974,
|
| 294 |
+
"class": "compartment",
|
| 295 |
+
"label": "threading",
|
| 296 |
+
"statesandinfos": [],
|
| 297 |
+
"language": "PD",
|
| 298 |
+
"border-width": 3.25,
|
| 299 |
+
"border-color": "#555555",
|
| 300 |
+
"background-color": "#ffffff",
|
| 301 |
+
"background-opacity": 0.5,
|
| 302 |
+
"background-image-opacity": 1,
|
| 303 |
+
"text-wrap": "wrap",
|
| 304 |
+
"font-size": 14,
|
| 305 |
+
"font-family": "Helvetica",
|
| 306 |
+
"font-style": "normal",
|
| 307 |
+
"font-weight": "normal",
|
| 308 |
+
"color": "#000",
|
| 309 |
+
"background-image": "",
|
| 310 |
+
"ports": [],
|
| 311 |
+
"infoboxCalculated": true,
|
| 312 |
+
"auxunitlayouts": {}
|
| 313 |
+
},
|
| 314 |
+
"position": {
|
| 315 |
+
"x": 973.1536617161887,
|
| 316 |
+
"y": 562.1987962172685
|
| 317 |
+
},
|
| 318 |
+
"group": "nodes",
|
| 319 |
+
"removed": false,
|
| 320 |
+
"selected": false,
|
| 321 |
+
"selectable": true,
|
| 322 |
+
"locked": false,
|
| 323 |
+
"grabbable": true,
|
| 324 |
+
"classes": ""
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"data": {
|
| 328 |
+
"id": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 329 |
+
"bbox": {
|
| 330 |
+
"x": 1186.3610894421433,
|
| 331 |
+
"y": 396.8704320241787,
|
| 332 |
+
"w": 149.4013671875,
|
| 333 |
+
"h": 47
|
| 334 |
+
},
|
| 335 |
+
"class": "macromolecule",
|
| 336 |
+
"label": "threading.ServerSocket.start\ncalls: 1\ntime: 0.001969s",
|
| 337 |
+
"statesandinfos": [],
|
| 338 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 339 |
+
"language": "PD",
|
| 340 |
+
"border-width": 1.25,
|
| 341 |
+
"border-color": "#555555",
|
| 342 |
+
"background-color": "#9999e5",
|
| 343 |
+
"background-opacity": 1,
|
| 344 |
+
"background-image-opacity": 1,
|
| 345 |
+
"text-wrap": "wrap",
|
| 346 |
+
"font-size": 11,
|
| 347 |
+
"font-family": "Helvetica",
|
| 348 |
+
"font-style": "normal",
|
| 349 |
+
"font-weight": "normal",
|
| 350 |
+
"color": "#000",
|
| 351 |
+
"background-image": "",
|
| 352 |
+
"ports": [],
|
| 353 |
+
"infoboxCalculated": true,
|
| 354 |
+
"auxunitlayouts": {}
|
| 355 |
+
},
|
| 356 |
+
"position": {
|
| 357 |
+
"x": 1186.3610894421433,
|
| 358 |
+
"y": 396.8704320241787
|
| 359 |
+
},
|
| 360 |
+
"group": "nodes",
|
| 361 |
+
"removed": false,
|
| 362 |
+
"selected": false,
|
| 363 |
+
"selectable": true,
|
| 364 |
+
"locked": false,
|
| 365 |
+
"grabbable": true,
|
| 366 |
+
"classes": ""
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"data": {
|
| 370 |
+
"id": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 371 |
+
"bbox": {
|
| 372 |
+
"x": 785.3451019915435,
|
| 373 |
+
"y": 399.3027259948305,
|
| 374 |
+
"w": 166.54052734375,
|
| 375 |
+
"h": 47
|
| 376 |
+
},
|
| 377 |
+
"class": "macromolecule",
|
| 378 |
+
"label": "threading.ServerSocket.__init__\ncalls: 1\ntime: 0.000000s",
|
| 379 |
+
"statesandinfos": [],
|
| 380 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 381 |
+
"language": "PD",
|
| 382 |
+
"border-width": 1.25,
|
| 383 |
+
"border-color": "#555555",
|
| 384 |
+
"background-color": "#9999e5",
|
| 385 |
+
"background-opacity": 1,
|
| 386 |
+
"background-image-opacity": 1,
|
| 387 |
+
"text-wrap": "wrap",
|
| 388 |
+
"font-size": 11,
|
| 389 |
+
"font-family": "Helvetica",
|
| 390 |
+
"font-style": "normal",
|
| 391 |
+
"font-weight": "normal",
|
| 392 |
+
"color": "#000",
|
| 393 |
+
"background-image": "",
|
| 394 |
+
"ports": [],
|
| 395 |
+
"infoboxCalculated": true,
|
| 396 |
+
"auxunitlayouts": {}
|
| 397 |
+
},
|
| 398 |
+
"position": {
|
| 399 |
+
"x": 785.3451019915435,
|
| 400 |
+
"y": 399.3027259948305
|
| 401 |
+
},
|
| 402 |
+
"group": "nodes",
|
| 403 |
+
"removed": false,
|
| 404 |
+
"selected": false,
|
| 405 |
+
"selectable": true,
|
| 406 |
+
"locked": false,
|
| 407 |
+
"grabbable": true,
|
| 408 |
+
"classes": ""
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"data": {
|
| 412 |
+
"id": "nwtN_550a66a2-1061-45cc-9f78-14570daaff94",
|
| 413 |
+
"bbox": {
|
| 414 |
+
"x": 1171.6884552852318,
|
| 415 |
+
"y": 501.00617333218474,
|
| 416 |
+
"w": 112.7275390625,
|
| 417 |
+
"h": 47
|
| 418 |
+
},
|
| 419 |
+
"class": "macromolecule",
|
| 420 |
+
"label": "threading.Event.isset\ncalls: 1\ntime: 0.000000s",
|
| 421 |
+
"statesandinfos": [],
|
| 422 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 423 |
+
"language": "PD",
|
| 424 |
+
"border-width": 1.25,
|
| 425 |
+
"border-color": "#555555",
|
| 426 |
+
"background-color": "#9999e5",
|
| 427 |
+
"background-opacity": 1,
|
| 428 |
+
"background-image-opacity": 1,
|
| 429 |
+
"text-wrap": "wrap",
|
| 430 |
+
"font-size": 11,
|
| 431 |
+
"font-family": "Helvetica",
|
| 432 |
+
"font-style": "normal",
|
| 433 |
+
"font-weight": "normal",
|
| 434 |
+
"color": "#000",
|
| 435 |
+
"background-image": "",
|
| 436 |
+
"ports": [],
|
| 437 |
+
"infoboxCalculated": true,
|
| 438 |
+
"auxunitlayouts": {}
|
| 439 |
+
},
|
| 440 |
+
"position": {
|
| 441 |
+
"x": 1171.6884552852318,
|
| 442 |
+
"y": 501.00617333218474
|
| 443 |
+
},
|
| 444 |
+
"group": "nodes",
|
| 445 |
+
"removed": false,
|
| 446 |
+
"selected": false,
|
| 447 |
+
"selectable": true,
|
| 448 |
+
"locked": false,
|
| 449 |
+
"grabbable": true,
|
| 450 |
+
"classes": ""
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"data": {
|
| 454 |
+
"id": "82181180-e275-b004-243e-eb4383e1e72f",
|
| 455 |
+
"bbox": {
|
| 456 |
+
"x": 623.602833202613,
|
| 457 |
+
"y": 504.26049930822586,
|
| 458 |
+
"w": 106.62060546875,
|
| 459 |
+
"h": 47
|
| 460 |
+
},
|
| 461 |
+
"class": "macromolecule",
|
| 462 |
+
"label": "threading.newname\ncalls: 1\ntime: 0.000000s",
|
| 463 |
+
"statesandinfos": [],
|
| 464 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 465 |
+
"language": "PD",
|
| 466 |
+
"border-width": 1.25,
|
| 467 |
+
"border-color": "#555555",
|
| 468 |
+
"background-color": "#9999e5",
|
| 469 |
+
"background-opacity": 1,
|
| 470 |
+
"background-image-opacity": 1,
|
| 471 |
+
"text-wrap": "wrap",
|
| 472 |
+
"font-size": 11,
|
| 473 |
+
"font-family": "Helvetica",
|
| 474 |
+
"font-style": "normal",
|
| 475 |
+
"font-weight": "normal",
|
| 476 |
+
"color": "#000",
|
| 477 |
+
"background-image": "",
|
| 478 |
+
"ports": [],
|
| 479 |
+
"infoboxCalculated": true,
|
| 480 |
+
"auxunitlayouts": {}
|
| 481 |
+
},
|
| 482 |
+
"position": {
|
| 483 |
+
"x": 623.602833202613,
|
| 484 |
+
"y": 504.26049930822586
|
| 485 |
+
},
|
| 486 |
+
"group": "nodes",
|
| 487 |
+
"removed": false,
|
| 488 |
+
"selected": false,
|
| 489 |
+
"selectable": true,
|
| 490 |
+
"locked": false,
|
| 491 |
+
"grabbable": true,
|
| 492 |
+
"classes": ""
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"data": {
|
| 496 |
+
"id": "359e920c-52a4-459e-2262-4ec90824f21e",
|
| 497 |
+
"bbox": {
|
| 498 |
+
"x": 774.4147292170284,
|
| 499 |
+
"y": 501.6751525194074,
|
| 500 |
+
"w": 124.3505859375,
|
| 501 |
+
"h": 47
|
| 502 |
+
},
|
| 503 |
+
"class": "macromolecule",
|
| 504 |
+
"label": "threading.currentthread\ncalls: 1\ntime: 0.000000s",
|
| 505 |
+
"statesandinfos": [],
|
| 506 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 507 |
+
"language": "PD",
|
| 508 |
+
"border-width": 1.25,
|
| 509 |
+
"border-color": "#555555",
|
| 510 |
+
"background-color": "#9999e5",
|
| 511 |
+
"background-opacity": 1,
|
| 512 |
+
"background-image-opacity": 1,
|
| 513 |
+
"text-wrap": "wrap",
|
| 514 |
+
"font-size": 11,
|
| 515 |
+
"font-family": "Helvetica",
|
| 516 |
+
"font-style": "normal",
|
| 517 |
+
"font-weight": "normal",
|
| 518 |
+
"color": "#000",
|
| 519 |
+
"background-image": "",
|
| 520 |
+
"ports": [],
|
| 521 |
+
"infoboxCalculated": true,
|
| 522 |
+
"auxunitlayouts": {}
|
| 523 |
+
},
|
| 524 |
+
"position": {
|
| 525 |
+
"x": 774.4147292170284,
|
| 526 |
+
"y": 501.6751525194074
|
| 527 |
+
},
|
| 528 |
+
"group": "nodes",
|
| 529 |
+
"removed": false,
|
| 530 |
+
"selected": false,
|
| 531 |
+
"selectable": true,
|
| 532 |
+
"locked": false,
|
| 533 |
+
"grabbable": true,
|
| 534 |
+
"classes": ""
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"data": {
|
| 538 |
+
"id": "5a34dca5-646c-cae7-affe-ef4142c5ad73",
|
| 539 |
+
"bbox": {
|
| 540 |
+
"x": 883.8610766103469,
|
| 541 |
+
"y": 509.431192885863,
|
| 542 |
+
"w": 160.42822265625,
|
| 543 |
+
"h": 47
|
| 544 |
+
},
|
| 545 |
+
"class": "macromolecule",
|
| 546 |
+
"label": "threading.MainThread.daemon\ncalls: 1\ntime: 0.000000s",
|
| 547 |
+
"statesandinfos": [],
|
| 548 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 549 |
+
"language": "PD",
|
| 550 |
+
"border-width": 1.25,
|
| 551 |
+
"border-color": "#555555",
|
| 552 |
+
"background-color": "#9999e5",
|
| 553 |
+
"background-opacity": 1,
|
| 554 |
+
"background-image-opacity": 1,
|
| 555 |
+
"text-wrap": "wrap",
|
| 556 |
+
"font-size": 11,
|
| 557 |
+
"font-family": "Helvetica",
|
| 558 |
+
"font-style": "normal",
|
| 559 |
+
"font-weight": "normal",
|
| 560 |
+
"color": "#000",
|
| 561 |
+
"background-image": "",
|
| 562 |
+
"ports": [],
|
| 563 |
+
"infoboxCalculated": true,
|
| 564 |
+
"auxunitlayouts": {}
|
| 565 |
+
},
|
| 566 |
+
"position": {
|
| 567 |
+
"x": 883.8610766103469,
|
| 568 |
+
"y": 509.431192885863
|
| 569 |
+
},
|
| 570 |
+
"group": "nodes",
|
| 571 |
+
"removed": false,
|
| 572 |
+
"selected": false,
|
| 573 |
+
"selectable": true,
|
| 574 |
+
"locked": false,
|
| 575 |
+
"grabbable": true,
|
| 576 |
+
"classes": ""
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"data": {
|
| 580 |
+
"id": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 581 |
+
"bbox": {
|
| 582 |
+
"x": 1012.9044451633454,
|
| 583 |
+
"y": 510.2832319234375,
|
| 584 |
+
"w": 104.17138671875,
|
| 585 |
+
"h": 47
|
| 586 |
+
},
|
| 587 |
+
"class": "macromolecule",
|
| 588 |
+
"label": "threading.Event.init\ncalls: 1\ntime: 0.000000s",
|
| 589 |
+
"statesandinfos": [],
|
| 590 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 591 |
+
"language": "PD",
|
| 592 |
+
"border-width": 1.25,
|
| 593 |
+
"border-color": "#555555",
|
| 594 |
+
"background-color": "#9999e5",
|
| 595 |
+
"background-opacity": 1,
|
| 596 |
+
"background-image-opacity": 1,
|
| 597 |
+
"text-wrap": "wrap",
|
| 598 |
+
"font-size": 11,
|
| 599 |
+
"font-family": "Helvetica",
|
| 600 |
+
"font-style": "normal",
|
| 601 |
+
"font-weight": "normal",
|
| 602 |
+
"color": "#000",
|
| 603 |
+
"background-image": "",
|
| 604 |
+
"ports": [],
|
| 605 |
+
"infoboxCalculated": true,
|
| 606 |
+
"auxunitlayouts": {}
|
| 607 |
+
},
|
| 608 |
+
"position": {
|
| 609 |
+
"x": 1012.9044451633454,
|
| 610 |
+
"y": 510.2832319234375
|
| 611 |
+
},
|
| 612 |
+
"group": "nodes",
|
| 613 |
+
"removed": false,
|
| 614 |
+
"selected": false,
|
| 615 |
+
"selectable": true,
|
| 616 |
+
"locked": false,
|
| 617 |
+
"grabbable": true,
|
| 618 |
+
"classes": ""
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"data": {
|
| 622 |
+
"id": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 623 |
+
"bbox": {
|
| 624 |
+
"x": 1321.1790996047644,
|
| 625 |
+
"y": 501.0665091727607,
|
| 626 |
+
"w": 109.67138671875,
|
| 627 |
+
"h": 47
|
| 628 |
+
},
|
| 629 |
+
"class": "macromolecule",
|
| 630 |
+
"label": "threading.Event.wait\ncalls: 1\ntime: 0.001005s",
|
| 631 |
+
"statesandinfos": [],
|
| 632 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 633 |
+
"language": "PD",
|
| 634 |
+
"border-width": 1.25,
|
| 635 |
+
"border-color": "#555555",
|
| 636 |
+
"background-color": "#9999e5",
|
| 637 |
+
"background-opacity": 1,
|
| 638 |
+
"background-image-opacity": 1,
|
| 639 |
+
"text-wrap": "wrap",
|
| 640 |
+
"font-size": 11,
|
| 641 |
+
"font-family": "Helvetica",
|
| 642 |
+
"font-style": "normal",
|
| 643 |
+
"font-weight": "normal",
|
| 644 |
+
"color": "#000",
|
| 645 |
+
"background-image": "",
|
| 646 |
+
"ports": [],
|
| 647 |
+
"infoboxCalculated": true,
|
| 648 |
+
"auxunitlayouts": {}
|
| 649 |
+
},
|
| 650 |
+
"position": {
|
| 651 |
+
"x": 1321.1790996047644,
|
| 652 |
+
"y": 501.0665091727607
|
| 653 |
+
},
|
| 654 |
+
"group": "nodes",
|
| 655 |
+
"removed": false,
|
| 656 |
+
"selected": false,
|
| 657 |
+
"selectable": true,
|
| 658 |
+
"locked": false,
|
| 659 |
+
"grabbable": true,
|
| 660 |
+
"classes": ""
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"data": {
|
| 664 |
+
"id": "1f64237f-dd15-2d5f-18f0-02a0d0338f44",
|
| 665 |
+
"bbox": {
|
| 666 |
+
"x": 810.9249008712393,
|
| 667 |
+
"y": 629.4880484917272,
|
| 668 |
+
"w": 146.98974609375,
|
| 669 |
+
"h": 47
|
| 670 |
+
},
|
| 671 |
+
"class": "macromolecule",
|
| 672 |
+
"label": "threading.Condition.__init__\ncalls: 1\ntime: 0.000000s",
|
| 673 |
+
"statesandinfos": [],
|
| 674 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 675 |
+
"language": "PD",
|
| 676 |
+
"border-width": 1.25,
|
| 677 |
+
"border-color": "#555555",
|
| 678 |
+
"background-color": "#9999e5",
|
| 679 |
+
"background-opacity": 1,
|
| 680 |
+
"background-image-opacity": 1,
|
| 681 |
+
"text-wrap": "wrap",
|
| 682 |
+
"font-size": 11,
|
| 683 |
+
"font-family": "Helvetica",
|
| 684 |
+
"font-style": "normal",
|
| 685 |
+
"font-weight": "normal",
|
| 686 |
+
"color": "#000",
|
| 687 |
+
"background-image": "",
|
| 688 |
+
"ports": [],
|
| 689 |
+
"infoboxCalculated": true,
|
| 690 |
+
"auxunitlayouts": {}
|
| 691 |
+
},
|
| 692 |
+
"position": {
|
| 693 |
+
"x": 810.9249008712393,
|
| 694 |
+
"y": 629.4880484917272
|
| 695 |
+
},
|
| 696 |
+
"group": "nodes",
|
| 697 |
+
"removed": false,
|
| 698 |
+
"selected": false,
|
| 699 |
+
"selectable": true,
|
| 700 |
+
"locked": false,
|
| 701 |
+
"grabbable": true,
|
| 702 |
+
"classes": ""
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"data": {
|
| 706 |
+
"id": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 707 |
+
"bbox": {
|
| 708 |
+
"x": 976.5020676671496,
|
| 709 |
+
"y": 615.3268434368138,
|
| 710 |
+
"w": 128.01904296875,
|
| 711 |
+
"h": 47
|
| 712 |
+
},
|
| 713 |
+
"class": "macromolecule",
|
| 714 |
+
"label": "threading.Condition.wait\ncalls: 1\ntime: 0.000000s",
|
| 715 |
+
"statesandinfos": [],
|
| 716 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 717 |
+
"language": "PD",
|
| 718 |
+
"border-width": 1.25,
|
| 719 |
+
"border-color": "#555555",
|
| 720 |
+
"background-color": "#9999e5",
|
| 721 |
+
"background-opacity": 1,
|
| 722 |
+
"background-image-opacity": 1,
|
| 723 |
+
"text-wrap": "wrap",
|
| 724 |
+
"font-size": 11,
|
| 725 |
+
"font-family": "Helvetica",
|
| 726 |
+
"font-style": "normal",
|
| 727 |
+
"font-weight": "normal",
|
| 728 |
+
"color": "#000",
|
| 729 |
+
"background-image": "",
|
| 730 |
+
"ports": [],
|
| 731 |
+
"infoboxCalculated": true,
|
| 732 |
+
"auxunitlayouts": {}
|
| 733 |
+
},
|
| 734 |
+
"position": {
|
| 735 |
+
"x": 976.5020676671496,
|
| 736 |
+
"y": 615.3268434368138
|
| 737 |
+
},
|
| 738 |
+
"group": "nodes",
|
| 739 |
+
"removed": false,
|
| 740 |
+
"selected": false,
|
| 741 |
+
"selectable": true,
|
| 742 |
+
"locked": false,
|
| 743 |
+
"grabbable": true,
|
| 744 |
+
"classes": ""
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"data": {
|
| 748 |
+
"id": "d6768356-8772-a49a-c2f7-c3b9802c954b",
|
| 749 |
+
"bbox": {
|
| 750 |
+
"x": 1161.3313010713127,
|
| 751 |
+
"y": 621.0949598234208,
|
| 752 |
+
"w": 150.0458984375,
|
| 753 |
+
"h": 47
|
| 754 |
+
},
|
| 755 |
+
"class": "macromolecule",
|
| 756 |
+
"label": "threading.Condition.__exit__\ncalls: 1\ntime: 0.000000s",
|
| 757 |
+
"statesandinfos": [],
|
| 758 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 759 |
+
"language": "PD",
|
| 760 |
+
"border-width": 1.25,
|
| 761 |
+
"border-color": "#555555",
|
| 762 |
+
"background-color": "#9999e5",
|
| 763 |
+
"background-opacity": 1,
|
| 764 |
+
"background-image-opacity": 1,
|
| 765 |
+
"text-wrap": "wrap",
|
| 766 |
+
"font-size": 11,
|
| 767 |
+
"font-family": "Helvetica",
|
| 768 |
+
"font-style": "normal",
|
| 769 |
+
"font-weight": "normal",
|
| 770 |
+
"color": "#000",
|
| 771 |
+
"background-image": "",
|
| 772 |
+
"ports": [],
|
| 773 |
+
"infoboxCalculated": true,
|
| 774 |
+
"auxunitlayouts": {}
|
| 775 |
+
},
|
| 776 |
+
"position": {
|
| 777 |
+
"x": 1161.3313010713127,
|
| 778 |
+
"y": 621.0949598234208
|
| 779 |
+
},
|
| 780 |
+
"group": "nodes",
|
| 781 |
+
"removed": false,
|
| 782 |
+
"selected": false,
|
| 783 |
+
"selectable": true,
|
| 784 |
+
"locked": false,
|
| 785 |
+
"grabbable": true,
|
| 786 |
+
"classes": ""
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"data": {
|
| 790 |
+
"id": "05b42313-71a4-e1a9-383b-6b4be641e69d",
|
| 791 |
+
"bbox": {
|
| 792 |
+
"x": 1285.8699319437194,
|
| 793 |
+
"y": 616.4161669025763,
|
| 794 |
+
"w": 158.00048828125,
|
| 795 |
+
"h": 47
|
| 796 |
+
},
|
| 797 |
+
"class": "macromolecule",
|
| 798 |
+
"label": "threading.Condition.__enter__\ncalls: 1\ntime: 0.000000s",
|
| 799 |
+
"statesandinfos": [],
|
| 800 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 801 |
+
"language": "PD",
|
| 802 |
+
"border-width": 1.25,
|
| 803 |
+
"border-color": "#555555",
|
| 804 |
+
"background-color": "#9999e5",
|
| 805 |
+
"background-opacity": 1,
|
| 806 |
+
"background-image-opacity": 1,
|
| 807 |
+
"text-wrap": "wrap",
|
| 808 |
+
"font-size": 11,
|
| 809 |
+
"font-family": "Helvetica",
|
| 810 |
+
"font-style": "normal",
|
| 811 |
+
"font-weight": "normal",
|
| 812 |
+
"color": "#000",
|
| 813 |
+
"background-image": "",
|
| 814 |
+
"ports": [],
|
| 815 |
+
"infoboxCalculated": true,
|
| 816 |
+
"auxunitlayouts": {}
|
| 817 |
+
},
|
| 818 |
+
"position": {
|
| 819 |
+
"x": 1285.8699319437194,
|
| 820 |
+
"y": 616.4161669025763
|
| 821 |
+
},
|
| 822 |
+
"group": "nodes",
|
| 823 |
+
"removed": false,
|
| 824 |
+
"selected": false,
|
| 825 |
+
"selectable": true,
|
| 826 |
+
"locked": false,
|
| 827 |
+
"grabbable": true,
|
| 828 |
+
"classes": ""
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"data": {
|
| 832 |
+
"id": "3c161178-1fca-ec7e-3fc7-425ce940fe1a",
|
| 833 |
+
"bbox": {
|
| 834 |
+
"x": 842.5152813783538,
|
| 835 |
+
"y": 727.5271604103584,
|
| 836 |
+
"w": 161.05126953125,
|
| 837 |
+
"h": 47
|
| 838 |
+
},
|
| 839 |
+
"class": "macromolecule",
|
| 840 |
+
"label": "threading.Condition._is_owned\ncalls: 1\ntime: 0.000000s",
|
| 841 |
+
"statesandinfos": [],
|
| 842 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 843 |
+
"language": "PD",
|
| 844 |
+
"border-width": 1.25,
|
| 845 |
+
"border-color": "#555555",
|
| 846 |
+
"background-color": "#9999e5",
|
| 847 |
+
"background-opacity": 1,
|
| 848 |
+
"background-image-opacity": 1,
|
| 849 |
+
"text-wrap": "wrap",
|
| 850 |
+
"font-size": 11,
|
| 851 |
+
"font-family": "Helvetica",
|
| 852 |
+
"font-style": "normal",
|
| 853 |
+
"font-weight": "normal",
|
| 854 |
+
"color": "#000",
|
| 855 |
+
"background-image": "",
|
| 856 |
+
"ports": [],
|
| 857 |
+
"infoboxCalculated": true,
|
| 858 |
+
"auxunitlayouts": {}
|
| 859 |
+
},
|
| 860 |
+
"position": {
|
| 861 |
+
"x": 842.5152813783538,
|
| 862 |
+
"y": 727.5271604103584
|
| 863 |
+
},
|
| 864 |
+
"group": "nodes",
|
| 865 |
+
"removed": false,
|
| 866 |
+
"selected": false,
|
| 867 |
+
"selectable": true,
|
| 868 |
+
"locked": false,
|
| 869 |
+
"grabbable": true,
|
| 870 |
+
"classes": ""
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"data": {
|
| 874 |
+
"id": "bab5c8a0-0f39-66d4-eaca-7f9160ef25fa",
|
| 875 |
+
"bbox": {
|
| 876 |
+
"x": 981.9486849959626,
|
| 877 |
+
"y": 712.2766318896824,
|
| 878 |
+
"w": 180.005859375,
|
| 879 |
+
"h": 47
|
| 880 |
+
},
|
| 881 |
+
"class": "macromolecule",
|
| 882 |
+
"label": "threading.Condition._release_save\ncalls: 1\ntime: 0.000000s",
|
| 883 |
+
"statesandinfos": [],
|
| 884 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 885 |
+
"language": "PD",
|
| 886 |
+
"border-width": 1.25,
|
| 887 |
+
"border-color": "#555555",
|
| 888 |
+
"background-color": "#9999e5",
|
| 889 |
+
"background-opacity": 1,
|
| 890 |
+
"background-image-opacity": 1,
|
| 891 |
+
"text-wrap": "wrap",
|
| 892 |
+
"font-size": 11,
|
| 893 |
+
"font-family": "Helvetica",
|
| 894 |
+
"font-style": "normal",
|
| 895 |
+
"font-weight": "normal",
|
| 896 |
+
"color": "#000",
|
| 897 |
+
"background-image": "",
|
| 898 |
+
"ports": [],
|
| 899 |
+
"infoboxCalculated": true,
|
| 900 |
+
"auxunitlayouts": {}
|
| 901 |
+
},
|
| 902 |
+
"position": {
|
| 903 |
+
"x": 981.9486849959626,
|
| 904 |
+
"y": 712.2766318896824
|
| 905 |
+
},
|
| 906 |
+
"group": "nodes",
|
| 907 |
+
"removed": false,
|
| 908 |
+
"selected": false,
|
| 909 |
+
"selectable": true,
|
| 910 |
+
"locked": false,
|
| 911 |
+
"grabbable": true,
|
| 912 |
+
"classes": ""
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"data": {
|
| 916 |
+
"id": "a0d92978-e6e9-6d87-9a06-567d139d15af",
|
| 917 |
+
"bbox": {
|
| 918 |
+
"x": 1170.401644572887,
|
| 919 |
+
"y": 717.7232492184953,
|
| 920 |
+
"w": 191.005859375,
|
| 921 |
+
"h": 47
|
| 922 |
+
},
|
| 923 |
+
"class": "macromolecule",
|
| 924 |
+
"label": "threading.Condition._acquire_restore\ncalls: 1\ntime: 0.000000s",
|
| 925 |
+
"statesandinfos": [],
|
| 926 |
+
"parent": "nwtN_6f2f14d2-4d5d-4582-8555-9ce01b4f769f",
|
| 927 |
+
"language": "PD",
|
| 928 |
+
"border-width": 1.25,
|
| 929 |
+
"border-color": "#555555",
|
| 930 |
+
"background-color": "#9999e5",
|
| 931 |
+
"background-opacity": 1,
|
| 932 |
+
"background-image-opacity": 1,
|
| 933 |
+
"text-wrap": "wrap",
|
| 934 |
+
"font-size": 11,
|
| 935 |
+
"font-family": "Helvetica",
|
| 936 |
+
"font-style": "normal",
|
| 937 |
+
"font-weight": "normal",
|
| 938 |
+
"color": "#000",
|
| 939 |
+
"background-image": "",
|
| 940 |
+
"ports": [],
|
| 941 |
+
"infoboxCalculated": true,
|
| 942 |
+
"auxunitlayouts": {}
|
| 943 |
+
},
|
| 944 |
+
"position": {
|
| 945 |
+
"x": 1170.401644572887,
|
| 946 |
+
"y": 717.7232492184953
|
| 947 |
+
},
|
| 948 |
+
"group": "nodes",
|
| 949 |
+
"removed": false,
|
| 950 |
+
"selected": false,
|
| 951 |
+
"selectable": true,
|
| 952 |
+
"locked": false,
|
| 953 |
+
"grabbable": true,
|
| 954 |
+
"classes": ""
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"data": {
|
| 958 |
+
"id": "nwtN_e8ac41f5-45d0-4855-bcc9-623f16e77889",
|
| 959 |
+
"bbox": {
|
| 960 |
+
"x": 1473.2018438500227,
|
| 961 |
+
"y": 504.2598166908556,
|
| 962 |
+
"w": 135.3349609375,
|
| 963 |
+
"h": 50.25
|
| 964 |
+
},
|
| 965 |
+
"minWidth": 91.52294921875,
|
| 966 |
+
"minWidthBiasLeft": 0.00005,
|
| 967 |
+
"minWidthBiasRight": 0.00005,
|
| 968 |
+
"minHeight": 50.25,
|
| 969 |
+
"minHeightBiasTop": 0.00005,
|
| 970 |
+
"minHeightBiasBottom": 0.00005,
|
| 971 |
+
"originalW": 163.3349609375,
|
| 972 |
+
"originalH": 78.25,
|
| 973 |
+
"class": "compartment",
|
| 974 |
+
"label": "_weakrefset",
|
| 975 |
+
"statesandinfos": [],
|
| 976 |
+
"language": "PD",
|
| 977 |
+
"border-width": 3.25,
|
| 978 |
+
"border-color": "#555555",
|
| 979 |
+
"background-color": "#ffffff",
|
| 980 |
+
"background-opacity": 0.5,
|
| 981 |
+
"background-image-opacity": 1,
|
| 982 |
+
"text-wrap": "wrap",
|
| 983 |
+
"font-size": 14,
|
| 984 |
+
"font-family": "Helvetica",
|
| 985 |
+
"font-style": "normal",
|
| 986 |
+
"font-weight": "normal",
|
| 987 |
+
"color": "#000",
|
| 988 |
+
"background-image": "",
|
| 989 |
+
"ports": [],
|
| 990 |
+
"infoboxCalculated": true,
|
| 991 |
+
"auxunitlayouts": {}
|
| 992 |
+
},
|
| 993 |
+
"position": {
|
| 994 |
+
"x": 1473.2018438500227,
|
| 995 |
+
"y": 504.2598166908556
|
| 996 |
+
},
|
| 997 |
+
"group": "nodes",
|
| 998 |
+
"removed": false,
|
| 999 |
+
"selected": false,
|
| 1000 |
+
"selectable": true,
|
| 1001 |
+
"locked": false,
|
| 1002 |
+
"grabbable": true,
|
| 1003 |
+
"classes": ""
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"data": {
|
| 1007 |
+
"id": "912c0f08-87fb-c746-18cb-19909a2b41c8",
|
| 1008 |
+
"bbox": {
|
| 1009 |
+
"x": 1473.2018438500227,
|
| 1010 |
+
"y": 504.2598166908556,
|
| 1011 |
+
"w": 132.0849609375,
|
| 1012 |
+
"h": 47
|
| 1013 |
+
},
|
| 1014 |
+
"class": "macromolecule",
|
| 1015 |
+
"label": "weakrefset.WeakSet.add\ncalls: 1\ntime: 0.000000s",
|
| 1016 |
+
"statesandinfos": [],
|
| 1017 |
+
"parent": "nwtN_e8ac41f5-45d0-4855-bcc9-623f16e77889",
|
| 1018 |
+
"language": "PD",
|
| 1019 |
+
"border-width": 1.25,
|
| 1020 |
+
"border-color": "#555555",
|
| 1021 |
+
"background-color": "#9999e5",
|
| 1022 |
+
"background-opacity": 1,
|
| 1023 |
+
"background-image-opacity": 1,
|
| 1024 |
+
"text-wrap": "wrap",
|
| 1025 |
+
"font-size": 11,
|
| 1026 |
+
"font-family": "Helvetica",
|
| 1027 |
+
"font-style": "normal",
|
| 1028 |
+
"font-weight": "normal",
|
| 1029 |
+
"color": "#000",
|
| 1030 |
+
"background-image": "",
|
| 1031 |
+
"ports": [],
|
| 1032 |
+
"infoboxCalculated": true,
|
| 1033 |
+
"auxunitlayouts": {}
|
| 1034 |
+
},
|
| 1035 |
+
"position": {
|
| 1036 |
+
"x": 1473.2018438500227,
|
| 1037 |
+
"y": 504.2598166908556
|
| 1038 |
+
},
|
| 1039 |
+
"group": "nodes",
|
| 1040 |
+
"removed": false,
|
| 1041 |
+
"selected": false,
|
| 1042 |
+
"selectable": true,
|
| 1043 |
+
"locked": false,
|
| 1044 |
+
"grabbable": true,
|
| 1045 |
+
"classes": ""
|
| 1046 |
+
}
|
| 1047 |
+
],
|
| 1048 |
+
"edges": [
|
| 1049 |
+
{
|
| 1050 |
+
"data": {
|
| 1051 |
+
"id": "nwtE_8b2b6e86-b5c9-4d80-99d6-fba6d10c340f",
|
| 1052 |
+
"class": "production",
|
| 1053 |
+
"bendPointPositions": [],
|
| 1054 |
+
"language": "PD",
|
| 1055 |
+
"line-color": "#555555",
|
| 1056 |
+
"width": 1.25,
|
| 1057 |
+
"background-image": "",
|
| 1058 |
+
"background-color": "#ffffff",
|
| 1059 |
+
"label": 1,
|
| 1060 |
+
"source": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 1061 |
+
"target": "288a2f9b-2930-701e-c68e-400307fbffd4",
|
| 1062 |
+
"portsource": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 1063 |
+
"porttarget": "288a2f9b-2930-701e-c68e-400307fbffd4"
|
| 1064 |
+
},
|
| 1065 |
+
"position": {},
|
| 1066 |
+
"group": "edges",
|
| 1067 |
+
"removed": false,
|
| 1068 |
+
"selected": false,
|
| 1069 |
+
"selectable": true,
|
| 1070 |
+
"locked": false,
|
| 1071 |
+
"grabbable": true,
|
| 1072 |
+
"classes": ""
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"data": {
|
| 1076 |
+
"id": "nwtE_618ca0aa-0c62-42ea-ad5a-1c399335a913",
|
| 1077 |
+
"class": "production",
|
| 1078 |
+
"bendPointPositions": [],
|
| 1079 |
+
"language": "PD",
|
| 1080 |
+
"line-color": "#555555",
|
| 1081 |
+
"width": 1.25,
|
| 1082 |
+
"background-image": "",
|
| 1083 |
+
"background-color": "#ffffff",
|
| 1084 |
+
"label": 1,
|
| 1085 |
+
"source": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 1086 |
+
"target": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 1087 |
+
"portsource": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 1088 |
+
"porttarget": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6"
|
| 1089 |
+
},
|
| 1090 |
+
"position": {},
|
| 1091 |
+
"group": "edges",
|
| 1092 |
+
"removed": false,
|
| 1093 |
+
"selected": false,
|
| 1094 |
+
"selectable": true,
|
| 1095 |
+
"locked": false,
|
| 1096 |
+
"grabbable": true,
|
| 1097 |
+
"classes": ""
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"data": {
|
| 1101 |
+
"id": "nwtE_c5861902-d6ee-4657-88e7-d57ab0de2b93",
|
| 1102 |
+
"class": "production",
|
| 1103 |
+
"bendPointPositions": [],
|
| 1104 |
+
"language": "PD",
|
| 1105 |
+
"line-color": "#555555",
|
| 1106 |
+
"width": 1.25,
|
| 1107 |
+
"background-image": "",
|
| 1108 |
+
"background-color": "#ffffff",
|
| 1109 |
+
"label": 1,
|
| 1110 |
+
"source": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 1111 |
+
"target": "nwtN_550a66a2-1061-45cc-9f78-14570daaff94",
|
| 1112 |
+
"portsource": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 1113 |
+
"porttarget": "nwtN_550a66a2-1061-45cc-9f78-14570daaff94"
|
| 1114 |
+
},
|
| 1115 |
+
"position": {},
|
| 1116 |
+
"group": "edges",
|
| 1117 |
+
"removed": false,
|
| 1118 |
+
"selected": false,
|
| 1119 |
+
"selectable": true,
|
| 1120 |
+
"locked": false,
|
| 1121 |
+
"grabbable": true,
|
| 1122 |
+
"classes": ""
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"data": {
|
| 1126 |
+
"id": "nwtE_93cf0fe2-8c29-44f4-95af-5e687ee44c2b",
|
| 1127 |
+
"class": "production",
|
| 1128 |
+
"bendPointPositions": [],
|
| 1129 |
+
"language": "PD",
|
| 1130 |
+
"line-color": "#555555",
|
| 1131 |
+
"width": 1.25,
|
| 1132 |
+
"background-image": "",
|
| 1133 |
+
"background-color": "#ffffff",
|
| 1134 |
+
"label": 1,
|
| 1135 |
+
"source": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 1136 |
+
"target": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1137 |
+
"portsource": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 1138 |
+
"porttarget": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066"
|
| 1139 |
+
},
|
| 1140 |
+
"position": {},
|
| 1141 |
+
"group": "edges",
|
| 1142 |
+
"removed": false,
|
| 1143 |
+
"selected": false,
|
| 1144 |
+
"selectable": true,
|
| 1145 |
+
"locked": false,
|
| 1146 |
+
"grabbable": true,
|
| 1147 |
+
"classes": ""
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"data": {
|
| 1151 |
+
"id": "nwtE_cc55cbc0-61dc-41d3-bb2f-d6b55caeab9a",
|
| 1152 |
+
"class": "production",
|
| 1153 |
+
"bendPointPositions": [],
|
| 1154 |
+
"language": "PD",
|
| 1155 |
+
"line-color": "#555555",
|
| 1156 |
+
"width": 1.25,
|
| 1157 |
+
"background-image": "",
|
| 1158 |
+
"background-color": "#ffffff",
|
| 1159 |
+
"label": 1,
|
| 1160 |
+
"source": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1161 |
+
"target": "82181180-e275-b004-243e-eb4383e1e72f",
|
| 1162 |
+
"portsource": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1163 |
+
"porttarget": "82181180-e275-b004-243e-eb4383e1e72f"
|
| 1164 |
+
},
|
| 1165 |
+
"position": {},
|
| 1166 |
+
"group": "edges",
|
| 1167 |
+
"removed": false,
|
| 1168 |
+
"selected": false,
|
| 1169 |
+
"selectable": true,
|
| 1170 |
+
"locked": false,
|
| 1171 |
+
"grabbable": true,
|
| 1172 |
+
"classes": ""
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"data": {
|
| 1176 |
+
"id": "nwtE_a3d7bd9b-7c21-49a8-a6bb-1c7a4ebd7eb7",
|
| 1177 |
+
"class": "production",
|
| 1178 |
+
"bendPointPositions": [],
|
| 1179 |
+
"language": "PD",
|
| 1180 |
+
"line-color": "#555555",
|
| 1181 |
+
"width": 1.25,
|
| 1182 |
+
"background-image": "",
|
| 1183 |
+
"background-color": "#ffffff",
|
| 1184 |
+
"label": 1,
|
| 1185 |
+
"source": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1186 |
+
"target": "359e920c-52a4-459e-2262-4ec90824f21e",
|
| 1187 |
+
"portsource": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1188 |
+
"porttarget": "359e920c-52a4-459e-2262-4ec90824f21e"
|
| 1189 |
+
},
|
| 1190 |
+
"position": {},
|
| 1191 |
+
"group": "edges",
|
| 1192 |
+
"removed": false,
|
| 1193 |
+
"selected": false,
|
| 1194 |
+
"selectable": true,
|
| 1195 |
+
"locked": false,
|
| 1196 |
+
"grabbable": true,
|
| 1197 |
+
"classes": ""
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"data": {
|
| 1201 |
+
"id": "nwtE_15d4f487-636c-4374-99c1-ae754989862d",
|
| 1202 |
+
"class": "production",
|
| 1203 |
+
"bendPointPositions": [],
|
| 1204 |
+
"language": "PD",
|
| 1205 |
+
"line-color": "#555555",
|
| 1206 |
+
"width": 1.25,
|
| 1207 |
+
"background-image": "",
|
| 1208 |
+
"background-color": "#ffffff",
|
| 1209 |
+
"label": 1,
|
| 1210 |
+
"source": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1211 |
+
"target": "5a34dca5-646c-cae7-affe-ef4142c5ad73",
|
| 1212 |
+
"portsource": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1213 |
+
"porttarget": "5a34dca5-646c-cae7-affe-ef4142c5ad73"
|
| 1214 |
+
},
|
| 1215 |
+
"position": {},
|
| 1216 |
+
"group": "edges",
|
| 1217 |
+
"removed": false,
|
| 1218 |
+
"selected": false,
|
| 1219 |
+
"selectable": true,
|
| 1220 |
+
"locked": false,
|
| 1221 |
+
"grabbable": true,
|
| 1222 |
+
"classes": ""
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"data": {
|
| 1226 |
+
"id": "nwtE_e4fc0a9f-6f88-4a20-8f21-00149e7ed87a",
|
| 1227 |
+
"class": "production",
|
| 1228 |
+
"bendPointPositions": [],
|
| 1229 |
+
"language": "PD",
|
| 1230 |
+
"line-color": "#555555",
|
| 1231 |
+
"width": 1.25,
|
| 1232 |
+
"background-image": "",
|
| 1233 |
+
"background-color": "#ffffff",
|
| 1234 |
+
"label": 1,
|
| 1235 |
+
"source": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1236 |
+
"target": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 1237 |
+
"portsource": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1238 |
+
"porttarget": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47"
|
| 1239 |
+
},
|
| 1240 |
+
"position": {},
|
| 1241 |
+
"group": "edges",
|
| 1242 |
+
"removed": false,
|
| 1243 |
+
"selected": false,
|
| 1244 |
+
"selectable": true,
|
| 1245 |
+
"locked": false,
|
| 1246 |
+
"grabbable": true,
|
| 1247 |
+
"classes": ""
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"data": {
|
| 1251 |
+
"id": "nwtE_bf434941-04cf-4b18-9caf-577fac1c27f7",
|
| 1252 |
+
"class": "production",
|
| 1253 |
+
"bendPointPositions": [],
|
| 1254 |
+
"language": "PD",
|
| 1255 |
+
"line-color": "#555555",
|
| 1256 |
+
"width": 1.25,
|
| 1257 |
+
"background-image": "",
|
| 1258 |
+
"background-color": "#ffffff",
|
| 1259 |
+
"label": 1,
|
| 1260 |
+
"source": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1261 |
+
"target": "912c0f08-87fb-c746-18cb-19909a2b41c8",
|
| 1262 |
+
"portsource": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 1263 |
+
"porttarget": "912c0f08-87fb-c746-18cb-19909a2b41c8"
|
| 1264 |
+
},
|
| 1265 |
+
"position": {},
|
| 1266 |
+
"group": "edges",
|
| 1267 |
+
"removed": false,
|
| 1268 |
+
"selected": false,
|
| 1269 |
+
"selectable": true,
|
| 1270 |
+
"locked": false,
|
| 1271 |
+
"grabbable": true,
|
| 1272 |
+
"classes": ""
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"data": {
|
| 1276 |
+
"id": "nwtE_d2680712-4bc6-40b7-86b0-4af7052d069c",
|
| 1277 |
+
"class": "production",
|
| 1278 |
+
"bendPointPositions": [],
|
| 1279 |
+
"language": "PD",
|
| 1280 |
+
"line-color": "#555555",
|
| 1281 |
+
"width": 1.25,
|
| 1282 |
+
"background-image": "",
|
| 1283 |
+
"background-color": "#ffffff",
|
| 1284 |
+
"label": 1,
|
| 1285 |
+
"source": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 1286 |
+
"target": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1287 |
+
"portsource": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 1288 |
+
"porttarget": "d07ee031-2818-7c9c-5589-e8a161b9946c"
|
| 1289 |
+
},
|
| 1290 |
+
"position": {},
|
| 1291 |
+
"group": "edges",
|
| 1292 |
+
"removed": false,
|
| 1293 |
+
"selected": false,
|
| 1294 |
+
"selectable": true,
|
| 1295 |
+
"locked": false,
|
| 1296 |
+
"grabbable": true,
|
| 1297 |
+
"classes": ""
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"data": {
|
| 1301 |
+
"id": "nwtE_445c17cc-894b-4833-81da-9d573e6c3c25",
|
| 1302 |
+
"class": "production",
|
| 1303 |
+
"bendPointPositions": [],
|
| 1304 |
+
"language": "PD",
|
| 1305 |
+
"line-color": "#555555",
|
| 1306 |
+
"width": 1.25,
|
| 1307 |
+
"background-image": "",
|
| 1308 |
+
"background-color": "#ffffff",
|
| 1309 |
+
"label": 1,
|
| 1310 |
+
"source": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 1311 |
+
"target": "1f64237f-dd15-2d5f-18f0-02a0d0338f44",
|
| 1312 |
+
"portsource": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 1313 |
+
"porttarget": "1f64237f-dd15-2d5f-18f0-02a0d0338f44"
|
| 1314 |
+
},
|
| 1315 |
+
"position": {},
|
| 1316 |
+
"group": "edges",
|
| 1317 |
+
"removed": false,
|
| 1318 |
+
"selected": false,
|
| 1319 |
+
"selectable": true,
|
| 1320 |
+
"locked": false,
|
| 1321 |
+
"grabbable": true,
|
| 1322 |
+
"classes": ""
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"data": {
|
| 1326 |
+
"id": "nwtE_1e925488-3584-4b09-b716-ba6f14379838",
|
| 1327 |
+
"class": "production",
|
| 1328 |
+
"bendPointPositions": [],
|
| 1329 |
+
"language": "PD",
|
| 1330 |
+
"line-color": "#555555",
|
| 1331 |
+
"width": 1.25,
|
| 1332 |
+
"background-image": "",
|
| 1333 |
+
"background-color": "#ffffff",
|
| 1334 |
+
"label": 1,
|
| 1335 |
+
"source": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1336 |
+
"target": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1337 |
+
"portsource": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1338 |
+
"porttarget": "63edffef-16cf-a216-5ace-a27a4290e3d8"
|
| 1339 |
+
},
|
| 1340 |
+
"position": {},
|
| 1341 |
+
"group": "edges",
|
| 1342 |
+
"removed": false,
|
| 1343 |
+
"selected": false,
|
| 1344 |
+
"selectable": true,
|
| 1345 |
+
"locked": false,
|
| 1346 |
+
"grabbable": true,
|
| 1347 |
+
"classes": ""
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"data": {
|
| 1351 |
+
"id": "nwtE_d748d6aa-f386-4ced-bac6-d2587064d47b",
|
| 1352 |
+
"class": "production",
|
| 1353 |
+
"bendPointPositions": [],
|
| 1354 |
+
"language": "PD",
|
| 1355 |
+
"line-color": "#555555",
|
| 1356 |
+
"width": 1.25,
|
| 1357 |
+
"background-image": "",
|
| 1358 |
+
"background-color": "#ffffff",
|
| 1359 |
+
"label": 1,
|
| 1360 |
+
"source": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1361 |
+
"target": "d6768356-8772-a49a-c2f7-c3b9802c954b",
|
| 1362 |
+
"portsource": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1363 |
+
"porttarget": "d6768356-8772-a49a-c2f7-c3b9802c954b"
|
| 1364 |
+
},
|
| 1365 |
+
"position": {},
|
| 1366 |
+
"group": "edges",
|
| 1367 |
+
"removed": false,
|
| 1368 |
+
"selected": false,
|
| 1369 |
+
"selectable": true,
|
| 1370 |
+
"locked": false,
|
| 1371 |
+
"grabbable": true,
|
| 1372 |
+
"classes": ""
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"data": {
|
| 1376 |
+
"id": "nwtE_c71d9e10-11c4-4e9a-baf7-fa043282103c",
|
| 1377 |
+
"class": "production",
|
| 1378 |
+
"bendPointPositions": [],
|
| 1379 |
+
"language": "PD",
|
| 1380 |
+
"line-color": "#555555",
|
| 1381 |
+
"width": 1.25,
|
| 1382 |
+
"background-image": "",
|
| 1383 |
+
"background-color": "#ffffff",
|
| 1384 |
+
"label": 1,
|
| 1385 |
+
"source": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1386 |
+
"target": "05b42313-71a4-e1a9-383b-6b4be641e69d",
|
| 1387 |
+
"portsource": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 1388 |
+
"porttarget": "05b42313-71a4-e1a9-383b-6b4be641e69d"
|
| 1389 |
+
},
|
| 1390 |
+
"position": {},
|
| 1391 |
+
"group": "edges",
|
| 1392 |
+
"removed": false,
|
| 1393 |
+
"selected": false,
|
| 1394 |
+
"selectable": true,
|
| 1395 |
+
"locked": false,
|
| 1396 |
+
"grabbable": true,
|
| 1397 |
+
"classes": ""
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"data": {
|
| 1401 |
+
"id": "nwtE_55f140c5-f99c-4bc5-b8ef-e7c808ae8d66",
|
| 1402 |
+
"class": "production",
|
| 1403 |
+
"bendPointPositions": [],
|
| 1404 |
+
"language": "PD",
|
| 1405 |
+
"line-color": "#555555",
|
| 1406 |
+
"width": 1.25,
|
| 1407 |
+
"background-image": "",
|
| 1408 |
+
"background-color": "#ffffff",
|
| 1409 |
+
"label": 1,
|
| 1410 |
+
"source": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1411 |
+
"target": "3c161178-1fca-ec7e-3fc7-425ce940fe1a",
|
| 1412 |
+
"portsource": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1413 |
+
"porttarget": "3c161178-1fca-ec7e-3fc7-425ce940fe1a"
|
| 1414 |
+
},
|
| 1415 |
+
"position": {},
|
| 1416 |
+
"group": "edges",
|
| 1417 |
+
"removed": false,
|
| 1418 |
+
"selected": false,
|
| 1419 |
+
"selectable": true,
|
| 1420 |
+
"locked": false,
|
| 1421 |
+
"grabbable": true,
|
| 1422 |
+
"classes": ""
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"data": {
|
| 1426 |
+
"id": "nwtE_741a21e2-6999-4d7f-8f01-bc7fecbbc41b",
|
| 1427 |
+
"class": "production",
|
| 1428 |
+
"bendPointPositions": [],
|
| 1429 |
+
"language": "PD",
|
| 1430 |
+
"line-color": "#555555",
|
| 1431 |
+
"width": 1.25,
|
| 1432 |
+
"background-image": "",
|
| 1433 |
+
"background-color": "#ffffff",
|
| 1434 |
+
"label": 1,
|
| 1435 |
+
"source": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1436 |
+
"target": "bab5c8a0-0f39-66d4-eaca-7f9160ef25fa",
|
| 1437 |
+
"portsource": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1438 |
+
"porttarget": "bab5c8a0-0f39-66d4-eaca-7f9160ef25fa"
|
| 1439 |
+
},
|
| 1440 |
+
"position": {},
|
| 1441 |
+
"group": "edges",
|
| 1442 |
+
"removed": false,
|
| 1443 |
+
"selected": false,
|
| 1444 |
+
"selectable": true,
|
| 1445 |
+
"locked": false,
|
| 1446 |
+
"grabbable": true,
|
| 1447 |
+
"classes": ""
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"data": {
|
| 1451 |
+
"id": "nwtE_790b1a2d-2b2c-481a-967f-e696d23e6824",
|
| 1452 |
+
"class": "production",
|
| 1453 |
+
"bendPointPositions": [],
|
| 1454 |
+
"language": "PD",
|
| 1455 |
+
"line-color": "#555555",
|
| 1456 |
+
"width": 1.25,
|
| 1457 |
+
"background-image": "",
|
| 1458 |
+
"background-color": "#ffffff",
|
| 1459 |
+
"label": 1,
|
| 1460 |
+
"source": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1461 |
+
"target": "a0d92978-e6e9-6d87-9a06-567d139d15af",
|
| 1462 |
+
"portsource": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 1463 |
+
"porttarget": "a0d92978-e6e9-6d87-9a06-567d139d15af"
|
| 1464 |
+
},
|
| 1465 |
+
"position": {},
|
| 1466 |
+
"group": "edges",
|
| 1467 |
+
"removed": false,
|
| 1468 |
+
"selected": false,
|
| 1469 |
+
"selectable": true,
|
| 1470 |
+
"locked": false,
|
| 1471 |
+
"grabbable": true,
|
| 1472 |
+
"classes": ""
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"data": {
|
| 1476 |
+
"id": "nwtE_664a54ae-b07a-4c85-a503-349ca4edf006",
|
| 1477 |
+
"class": "production",
|
| 1478 |
+
"bendPointPositions": [],
|
| 1479 |
+
"language": "PD",
|
| 1480 |
+
"line-color": "#555555",
|
| 1481 |
+
"width": 1.25,
|
| 1482 |
+
"background-image": "",
|
| 1483 |
+
"background-color": "#ffffff",
|
| 1484 |
+
"label": 1,
|
| 1485 |
+
"source": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 1486 |
+
"target": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 1487 |
+
"portsource": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 1488 |
+
"porttarget": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93"
|
| 1489 |
+
},
|
| 1490 |
+
"position": {},
|
| 1491 |
+
"group": "edges",
|
| 1492 |
+
"removed": false,
|
| 1493 |
+
"selected": false,
|
| 1494 |
+
"selectable": true,
|
| 1495 |
+
"locked": false,
|
| 1496 |
+
"grabbable": true,
|
| 1497 |
+
"classes": ""
|
| 1498 |
+
}
|
| 1499 |
+
]
|
| 1500 |
+
},
|
| 1501 |
+
"style": [
|
| 1502 |
+
{
|
| 1503 |
+
"selector": "node",
|
| 1504 |
+
"style": {
|
| 1505 |
+
"shape": "rectangle",
|
| 1506 |
+
"text-halign": "center",
|
| 1507 |
+
"text-valign": "center",
|
| 1508 |
+
"font-weight" : "normal",
|
| 1509 |
+
"background-color": "#ffffff",
|
| 1510 |
+
"opacity": "1",
|
| 1511 |
+
"border-color": "#555555"
|
| 1512 |
+
}
|
| 1513 |
+
},
|
| 1514 |
+
{
|
| 1515 |
+
"selector": "node[class = 'simple chemical']",
|
| 1516 |
+
"style": {
|
| 1517 |
+
"shape": "ellipse",
|
| 1518 |
+
"font-size": 14,
|
| 1519 |
+
"background-color": "#fddbc7"
|
| 1520 |
+
}
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"selector": "node[class = 'macromolecule']",
|
| 1524 |
+
"style": {
|
| 1525 |
+
"shape": "roundrectangle",
|
| 1526 |
+
"background-color": "#9999e5"
|
| 1527 |
+
}
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"selector": "node[class = 'unspecified entity']",
|
| 1531 |
+
"style": {
|
| 1532 |
+
"shape": "ellipse",
|
| 1533 |
+
"background-color": "#f7f7f7"
|
| 1534 |
+
}
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"selector": "node[class = 'nucleic acid feature']",
|
| 1538 |
+
"style": {
|
| 1539 |
+
"shape": "rectangle",
|
| 1540 |
+
"background-color": "#f4a582",
|
| 1541 |
+
}
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"selector": ":parent",
|
| 1545 |
+
"style": {
|
| 1546 |
+
"background-opacity": "0.333",
|
| 1547 |
+
"text-valign": "bottom",
|
| 1548 |
+
"shape": "barrel",
|
| 1549 |
+
"text-margin-y": "2px",
|
| 1550 |
+
"font-weight" : "normal",
|
| 1551 |
+
"border-color": "#555555"
|
| 1552 |
+
}
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"selector": "node:selected",
|
| 1556 |
+
"style": {
|
| 1557 |
+
"background-color": "#33ff00",
|
| 1558 |
+
"border-color": "#22ee00"
|
| 1559 |
+
}
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"selector": "edge",
|
| 1563 |
+
"style": {
|
| 1564 |
+
"curve-style": "bezier",
|
| 1565 |
+
"width": "2px",
|
| 1566 |
+
"line-color": "rgb(58,126,207)",
|
| 1567 |
+
"opacity": "1"
|
| 1568 |
+
}
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"selector": "edge:selected",
|
| 1572 |
+
"style": {
|
| 1573 |
+
"line-color": "#33ff00",
|
| 1574 |
+
"font-size": "13px",
|
| 1575 |
+
"text-opacity": "1",
|
| 1576 |
+
"text-rotation": "autorotate",
|
| 1577 |
+
"color": "#33ff00",
|
| 1578 |
+
"font-weight": "bold",
|
| 1579 |
+
"text-background-shape": "roundrectangle",
|
| 1580 |
+
"text-background-opacity": "1",
|
| 1581 |
+
"text-background-padding": "2px"
|
| 1582 |
+
}
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"selector": "edge[class = 'production']",
|
| 1586 |
+
"style": {
|
| 1587 |
+
"target-arrow-shape": "triangle",
|
| 1588 |
+
"target-arrow-color": "rgb(58,126,207)"
|
| 1589 |
+
}
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"selector": "edge:selected[class = 'production']",
|
| 1593 |
+
"style": {
|
| 1594 |
+
"target-arrow-shape": "triangle",
|
| 1595 |
+
"target-arrow-color": "#33ff00"
|
| 1596 |
+
}
|
| 1597 |
+
},
|
| 1598 |
+
],
|
| 1599 |
+
"zoomingEnabled": true,
|
| 1600 |
+
"userZoomingEnabled": true,
|
| 1601 |
+
"zoom": 0.9387299878673792,
|
| 1602 |
+
"minZoom": 0.125,
|
| 1603 |
+
"maxZoom": 16,
|
| 1604 |
+
"panningEnabled": true,
|
| 1605 |
+
"userPanningEnabled": true,
|
| 1606 |
+
"pan": {
|
| 1607 |
+
"x": -275.1308697557213,
|
| 1608 |
+
"y": -85.14353945866765
|
| 1609 |
+
},
|
| 1610 |
+
"boxSelectionEnabled": true,
|
| 1611 |
+
"renderer": {
|
| 1612 |
+
"name": "canvas"
|
| 1613 |
+
},
|
| 1614 |
+
"wheelSensitivity": 0.1,
|
| 1615 |
+
"motionBlur": true
|
| 1616 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/callGraph_constraints.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
callGraph_constraints = {
|
| 2 |
+
"alignmentConstraint": {
|
| 3 |
+
"horizontal": [
|
| 4 |
+
[
|
| 5 |
+
"288a2f9b-2930-701e-c68e-400307fbffd4",
|
| 6 |
+
"nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 7 |
+
"nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066"
|
| 8 |
+
],
|
| 9 |
+
[
|
| 10 |
+
"nwtN_550a66a2-1061-45cc-9f78-14570daaff94",
|
| 11 |
+
"82181180-e275-b004-243e-eb4383e1e72f",
|
| 12 |
+
"359e920c-52a4-459e-2262-4ec90824f21e",
|
| 13 |
+
"5a34dca5-646c-cae7-affe-ef4142c5ad73",
|
| 14 |
+
"2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 15 |
+
"d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 16 |
+
"912c0f08-87fb-c746-18cb-19909a2b41c8"
|
| 17 |
+
],
|
| 18 |
+
[
|
| 19 |
+
"1f64237f-dd15-2d5f-18f0-02a0d0338f44",
|
| 20 |
+
"63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 21 |
+
"d6768356-8772-a49a-c2f7-c3b9802c954b",
|
| 22 |
+
"05b42313-71a4-e1a9-383b-6b4be641e69d"
|
| 23 |
+
],
|
| 24 |
+
[
|
| 25 |
+
"3c161178-1fca-ec7e-3fc7-425ce940fe1a",
|
| 26 |
+
"bab5c8a0-0f39-66d4-eaca-7f9160ef25fa",
|
| 27 |
+
"a0d92978-e6e9-6d87-9a06-567d139d15af"
|
| 28 |
+
]
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
"relativePlacementConstraint": [
|
| 32 |
+
{
|
| 33 |
+
"top": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 34 |
+
"bottom": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 35 |
+
"gap": 98.25
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"top": "nwtN_6e27959a-ae83-4cb0-898f-9a1e6c5cafae",
|
| 39 |
+
"bottom": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 40 |
+
"gap": 98.25
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"top": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 44 |
+
"bottom": "288a2f9b-2930-701e-c68e-400307fbffd4",
|
| 45 |
+
"gap": 98.25
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"top": "d2f78da5-fbd3-fe91-4046-3b5aea0648f6",
|
| 49 |
+
"bottom": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 50 |
+
"gap": 98.25
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"top": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 54 |
+
"bottom": "912c0f08-87fb-c746-18cb-19909a2b41c8",
|
| 55 |
+
"gap": 98.25
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"top": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 59 |
+
"bottom": "82181180-e275-b004-243e-eb4383e1e72f",
|
| 60 |
+
"gap": 98.25
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"top": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 64 |
+
"bottom": "359e920c-52a4-459e-2262-4ec90824f21e",
|
| 65 |
+
"gap": 98.25
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"top": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 69 |
+
"bottom": "5a34dca5-646c-cae7-affe-ef4142c5ad73",
|
| 70 |
+
"gap": 98.25
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"top": "nwtN_ac02fa71-2428-47ad-8c3c-80bb5659a066",
|
| 74 |
+
"bottom": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 75 |
+
"gap": 98.25
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"top": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 79 |
+
"bottom": "nwtN_550a66a2-1061-45cc-9f78-14570daaff94",
|
| 80 |
+
"gap": 98.25
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"top": "nwtN_a44ad134-4c47-4cf5-b244-9d9fc0804e93",
|
| 84 |
+
"bottom": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 85 |
+
"gap": 98.25
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"top": "2f560d5b-bb1b-cc3f-d5b5-a69e6fab8d47",
|
| 89 |
+
"bottom": "1f64237f-dd15-2d5f-18f0-02a0d0338f44",
|
| 90 |
+
"gap": 98.25
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"top": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 94 |
+
"bottom": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 95 |
+
"gap": 98.25
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"top": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 99 |
+
"bottom": "d6768356-8772-a49a-c2f7-c3b9802c954b",
|
| 100 |
+
"gap": 98.25
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"top": "d07ee031-2818-7c9c-5589-e8a161b9946c",
|
| 104 |
+
"bottom": "05b42313-71a4-e1a9-383b-6b4be641e69d",
|
| 105 |
+
"gap": 98.25
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"top": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 109 |
+
"bottom": "3c161178-1fca-ec7e-3fc7-425ce940fe1a",
|
| 110 |
+
"gap": 98.25
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"top": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 114 |
+
"bottom": "bab5c8a0-0f39-66d4-eaca-7f9160ef25fa",
|
| 115 |
+
"gap": 98.25
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"top": "63edffef-16cf-a216-5ace-a27a4290e3d8",
|
| 119 |
+
"bottom": "a0d92978-e6e9-6d87-9a06-567d139d15af",
|
| 120 |
+
"gap": 98.25
|
| 121 |
+
}
|
| 122 |
+
]
|
| 123 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/chalk.js
ADDED
|
@@ -0,0 +1,1305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
chalk = {
|
| 2 |
+
"elements": {
|
| 3 |
+
"nodes": [
|
| 4 |
+
{
|
| 5 |
+
"data": {
|
| 6 |
+
"id": "nwtN_00dcd31b-2631-4af1-980b-4493dc7d43f7",
|
| 7 |
+
"bbox": {
|
| 8 |
+
"x": 506.4608860015869,
|
| 9 |
+
"y": 105.05675506591797,
|
| 10 |
+
"w": 60.3330078125,
|
| 11 |
+
"h": 28.25
|
| 12 |
+
},
|
| 13 |
+
"originalW": 88.3330078125,
|
| 14 |
+
"originalH": 56.25,
|
| 15 |
+
"class": "compartment",
|
| 16 |
+
"label": "types",
|
| 17 |
+
"statesandinfos": [],
|
| 18 |
+
"parent": "nwtN_80eb137f-5cd7-4584-9acc-87cc5698d255",
|
| 19 |
+
"language": "PD",
|
| 20 |
+
"border-width": 2.25,
|
| 21 |
+
"border-color": "#555555",
|
| 22 |
+
"background-color": "#f5f5f5",
|
| 23 |
+
"background-opacity": 0.5,
|
| 24 |
+
"background-image-opacity": "",
|
| 25 |
+
"text-wrap": "wrap",
|
| 26 |
+
"font-size": 11,
|
| 27 |
+
"font-family": "Helvetica",
|
| 28 |
+
"font-style": "normal",
|
| 29 |
+
"font-weight": "bold",
|
| 30 |
+
"color": "#000000",
|
| 31 |
+
"ports": [],
|
| 32 |
+
"background-image": "",
|
| 33 |
+
"background-fit": "",
|
| 34 |
+
"background-position-x": "",
|
| 35 |
+
"background-position-y": "",
|
| 36 |
+
"background-width": "",
|
| 37 |
+
"background-height": "",
|
| 38 |
+
"infoboxCalculated": true,
|
| 39 |
+
"auxunitlayouts": {}
|
| 40 |
+
},
|
| 41 |
+
"position": {
|
| 42 |
+
"x": 506.4608860015869,
|
| 43 |
+
"y": 105.05675506591797
|
| 44 |
+
},
|
| 45 |
+
"group": "nodes",
|
| 46 |
+
"removed": false,
|
| 47 |
+
"selected": false,
|
| 48 |
+
"selectable": true,
|
| 49 |
+
"locked": false,
|
| 50 |
+
"grabbable": true,
|
| 51 |
+
"classes": ""
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"data": {
|
| 55 |
+
"id": "nwtN_80eb137f-5cd7-4584-9acc-87cc5698d255",
|
| 56 |
+
"bbox": {
|
| 57 |
+
"x": 503.796484757312,
|
| 58 |
+
"y": 149.75074733690965,
|
| 59 |
+
"w": 141.2687438947998,
|
| 60 |
+
"h": 150.88798454198337
|
| 61 |
+
},
|
| 62 |
+
"originalW": 169.2687438947998,
|
| 63 |
+
"originalH": 178.88798454198337,
|
| 64 |
+
"class": "compartment",
|
| 65 |
+
"label": "chalk",
|
| 66 |
+
"statesandinfos": [],
|
| 67 |
+
"language": "PD",
|
| 68 |
+
"border-width": 2.25,
|
| 69 |
+
"border-color": "#555555",
|
| 70 |
+
"background-color": "#f5f5f5",
|
| 71 |
+
"background-opacity": 0.5,
|
| 72 |
+
"background-image-opacity": "",
|
| 73 |
+
"text-wrap": "wrap",
|
| 74 |
+
"font-size": 11,
|
| 75 |
+
"font-family": "Helvetica",
|
| 76 |
+
"font-style": "normal",
|
| 77 |
+
"font-weight": "bold",
|
| 78 |
+
"color": "#000000",
|
| 79 |
+
"ports": [],
|
| 80 |
+
"background-image": "",
|
| 81 |
+
"background-fit": "",
|
| 82 |
+
"background-position-x": "",
|
| 83 |
+
"background-position-y": "",
|
| 84 |
+
"background-width": "",
|
| 85 |
+
"background-height": "",
|
| 86 |
+
"infoboxCalculated": true,
|
| 87 |
+
"auxunitlayouts": {}
|
| 88 |
+
},
|
| 89 |
+
"position": {
|
| 90 |
+
"x": 503.796484757312,
|
| 91 |
+
"y": 149.75074733690965
|
| 92 |
+
},
|
| 93 |
+
"group": "nodes",
|
| 94 |
+
"removed": false,
|
| 95 |
+
"selected": false,
|
| 96 |
+
"selectable": true,
|
| 97 |
+
"locked": false,
|
| 98 |
+
"grabbable": true,
|
| 99 |
+
"classes": ""
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"data": {
|
| 103 |
+
"id": "nwtN_23452b85-7855-413f-a03d-26412ed87bfc",
|
| 104 |
+
"bbox": {
|
| 105 |
+
"x": 506.4608860015869,
|
| 106 |
+
"y": 105.05675506591797,
|
| 107 |
+
"w": 57.0830078125,
|
| 108 |
+
"h": 25
|
| 109 |
+
},
|
| 110 |
+
"class": "simple chemical",
|
| 111 |
+
"label": "index.d.ts",
|
| 112 |
+
"statesandinfos": [],
|
| 113 |
+
"parent": "nwtN_00dcd31b-2631-4af1-980b-4493dc7d43f7",
|
| 114 |
+
"language": "PD",
|
| 115 |
+
"border-width": 1.25,
|
| 116 |
+
"border-color": "#555555",
|
| 117 |
+
"background-color": "#c7eae5",
|
| 118 |
+
"background-opacity": 1,
|
| 119 |
+
"background-image-opacity": "",
|
| 120 |
+
"text-wrap": "wrap",
|
| 121 |
+
"font-size": 11,
|
| 122 |
+
"font-family": "Helvetica",
|
| 123 |
+
"font-style": "normal",
|
| 124 |
+
"font-weight": "normal",
|
| 125 |
+
"color": "#000",
|
| 126 |
+
"ports": [],
|
| 127 |
+
"background-image": "",
|
| 128 |
+
"background-fit": "",
|
| 129 |
+
"background-position-x": "",
|
| 130 |
+
"background-position-y": "",
|
| 131 |
+
"background-width": "",
|
| 132 |
+
"background-height": "",
|
| 133 |
+
"infoboxCalculated": true,
|
| 134 |
+
"auxunitlayouts": {}
|
| 135 |
+
},
|
| 136 |
+
"position": {
|
| 137 |
+
"x": 506.4608860015869,
|
| 138 |
+
"y": 105.05675506591797
|
| 139 |
+
},
|
| 140 |
+
"group": "nodes",
|
| 141 |
+
"removed": false,
|
| 142 |
+
"selected": false,
|
| 143 |
+
"selectable": true,
|
| 144 |
+
"locked": false,
|
| 145 |
+
"grabbable": true,
|
| 146 |
+
"classes": ""
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"data": {
|
| 150 |
+
"id": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 151 |
+
"bbox": {
|
| 152 |
+
"x": 458.4355503099121,
|
| 153 |
+
"y": 211.06973960790134,
|
| 154 |
+
"w": 47.296875,
|
| 155 |
+
"h": 25
|
| 156 |
+
},
|
| 157 |
+
"class": "macromolecule",
|
| 158 |
+
"label": "index.js",
|
| 159 |
+
"statesandinfos": [],
|
| 160 |
+
"parent": "nwtN_80eb137f-5cd7-4584-9acc-87cc5698d255",
|
| 161 |
+
"language": "PD",
|
| 162 |
+
"border-width": 1.25,
|
| 163 |
+
"border-color": "#555555",
|
| 164 |
+
"background-color": "#dfc27d",
|
| 165 |
+
"background-opacity": 1,
|
| 166 |
+
"background-image-opacity": "",
|
| 167 |
+
"text-wrap": "wrap",
|
| 168 |
+
"font-size": 11,
|
| 169 |
+
"font-family": "Helvetica",
|
| 170 |
+
"font-style": "normal",
|
| 171 |
+
"font-weight": "normal",
|
| 172 |
+
"color": "#000",
|
| 173 |
+
"ports": [],
|
| 174 |
+
"background-image": "",
|
| 175 |
+
"background-fit": "",
|
| 176 |
+
"background-position-x": "",
|
| 177 |
+
"background-position-y": "",
|
| 178 |
+
"background-width": "",
|
| 179 |
+
"background-height": "",
|
| 180 |
+
"infoboxCalculated": true,
|
| 181 |
+
"auxunitlayouts": {}
|
| 182 |
+
},
|
| 183 |
+
"position": {
|
| 184 |
+
"x": 458.4355503099121,
|
| 185 |
+
"y": 211.06973960790134
|
| 186 |
+
},
|
| 187 |
+
"group": "nodes",
|
| 188 |
+
"removed": false,
|
| 189 |
+
"selected": false,
|
| 190 |
+
"selectable": true,
|
| 191 |
+
"locked": false,
|
| 192 |
+
"grabbable": true,
|
| 193 |
+
"classes": ""
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"data": {
|
| 197 |
+
"id": "nwtN_c152aeef-01df-49fc-9539-9e022e8d4c64",
|
| 198 |
+
"bbox": {
|
| 199 |
+
"x": 538.4608860015869,
|
| 200 |
+
"y": 205.05675506591797,
|
| 201 |
+
"w": 68.68994140625,
|
| 202 |
+
"h": 25
|
| 203 |
+
},
|
| 204 |
+
"class": "macromolecule",
|
| 205 |
+
"label": "templates.js",
|
| 206 |
+
"statesandinfos": [],
|
| 207 |
+
"parent": "nwtN_80eb137f-5cd7-4584-9acc-87cc5698d255",
|
| 208 |
+
"language": "PD",
|
| 209 |
+
"border-width": 1.25,
|
| 210 |
+
"border-color": "#555555",
|
| 211 |
+
"background-color": "#dfc27d",
|
| 212 |
+
"background-opacity": 1,
|
| 213 |
+
"background-image-opacity": "",
|
| 214 |
+
"text-wrap": "wrap",
|
| 215 |
+
"font-size": 11,
|
| 216 |
+
"font-family": "Helvetica",
|
| 217 |
+
"font-style": "normal",
|
| 218 |
+
"font-weight": "normal",
|
| 219 |
+
"color": "#000",
|
| 220 |
+
"ports": [],
|
| 221 |
+
"background-image": "",
|
| 222 |
+
"background-fit": "",
|
| 223 |
+
"background-position-x": "",
|
| 224 |
+
"background-position-y": "",
|
| 225 |
+
"background-width": "",
|
| 226 |
+
"background-height": "",
|
| 227 |
+
"infoboxCalculated": true,
|
| 228 |
+
"auxunitlayouts": {}
|
| 229 |
+
},
|
| 230 |
+
"position": {
|
| 231 |
+
"x": 538.4608860015869,
|
| 232 |
+
"y": 205.05675506591797
|
| 233 |
+
},
|
| 234 |
+
"group": "nodes",
|
| 235 |
+
"removed": false,
|
| 236 |
+
"selected": false,
|
| 237 |
+
"selectable": true,
|
| 238 |
+
"locked": false,
|
| 239 |
+
"grabbable": true,
|
| 240 |
+
"classes": ""
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"data": {
|
| 244 |
+
"id": "nwtN_c50c8570-f7bd-46c3-b7c2-66857746b854",
|
| 245 |
+
"bbox": {
|
| 246 |
+
"x": 457.4608860015869,
|
| 247 |
+
"y": 305.05675506591797,
|
| 248 |
+
"w": 50.546875,
|
| 249 |
+
"h": 28.25
|
| 250 |
+
},
|
| 251 |
+
"originalW": 78.546875,
|
| 252 |
+
"originalH": 56.25,
|
| 253 |
+
"class": "compartment",
|
| 254 |
+
"label": "ansi-styles",
|
| 255 |
+
"statesandinfos": [],
|
| 256 |
+
"language": "PD",
|
| 257 |
+
"border-width": 2.25,
|
| 258 |
+
"border-color": "#555555",
|
| 259 |
+
"background-color": "#f5f5f5",
|
| 260 |
+
"background-opacity": 0.5,
|
| 261 |
+
"background-image-opacity": "",
|
| 262 |
+
"text-wrap": "wrap",
|
| 263 |
+
"font-size": 11,
|
| 264 |
+
"font-family": "Helvetica",
|
| 265 |
+
"font-style": "normal",
|
| 266 |
+
"font-weight": "bold",
|
| 267 |
+
"color": "#000000",
|
| 268 |
+
"ports": [],
|
| 269 |
+
"background-image": "",
|
| 270 |
+
"background-fit": "",
|
| 271 |
+
"background-position-x": "",
|
| 272 |
+
"background-position-y": "",
|
| 273 |
+
"background-width": "",
|
| 274 |
+
"background-height": "",
|
| 275 |
+
"infoboxCalculated": true,
|
| 276 |
+
"auxunitlayouts": {}
|
| 277 |
+
},
|
| 278 |
+
"position": {
|
| 279 |
+
"x": 457.4608860015869,
|
| 280 |
+
"y": 305.05675506591797
|
| 281 |
+
},
|
| 282 |
+
"group": "nodes",
|
| 283 |
+
"removed": false,
|
| 284 |
+
"selected": false,
|
| 285 |
+
"selectable": true,
|
| 286 |
+
"locked": false,
|
| 287 |
+
"grabbable": true,
|
| 288 |
+
"classes": ""
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"data": {
|
| 292 |
+
"id": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 293 |
+
"bbox": {
|
| 294 |
+
"x": 457.4608860015869,
|
| 295 |
+
"y": 305.05675506591797,
|
| 296 |
+
"w": 47.296875,
|
| 297 |
+
"h": 25
|
| 298 |
+
},
|
| 299 |
+
"class": "macromolecule",
|
| 300 |
+
"label": "index.js",
|
| 301 |
+
"statesandinfos": [],
|
| 302 |
+
"parent": "nwtN_c50c8570-f7bd-46c3-b7c2-66857746b854",
|
| 303 |
+
"language": "PD",
|
| 304 |
+
"border-width": 1.25,
|
| 305 |
+
"border-color": "#555555",
|
| 306 |
+
"background-color": "#dfc27d",
|
| 307 |
+
"background-opacity": 1,
|
| 308 |
+
"background-image-opacity": "",
|
| 309 |
+
"text-wrap": "wrap",
|
| 310 |
+
"font-size": 11,
|
| 311 |
+
"font-family": "Helvetica",
|
| 312 |
+
"font-style": "normal",
|
| 313 |
+
"font-weight": "normal",
|
| 314 |
+
"color": "#000",
|
| 315 |
+
"ports": [],
|
| 316 |
+
"background-image": "",
|
| 317 |
+
"background-fit": "",
|
| 318 |
+
"background-position-x": "",
|
| 319 |
+
"background-position-y": "",
|
| 320 |
+
"background-width": "",
|
| 321 |
+
"background-height": "",
|
| 322 |
+
"infoboxCalculated": true,
|
| 323 |
+
"auxunitlayouts": {}
|
| 324 |
+
},
|
| 325 |
+
"position": {
|
| 326 |
+
"x": 457.4608860015869,
|
| 327 |
+
"y": 305.05675506591797
|
| 328 |
+
},
|
| 329 |
+
"group": "nodes",
|
| 330 |
+
"removed": false,
|
| 331 |
+
"selected": false,
|
| 332 |
+
"selectable": true,
|
| 333 |
+
"locked": false,
|
| 334 |
+
"grabbable": true,
|
| 335 |
+
"classes": ""
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"data": {
|
| 339 |
+
"id": "nwtN_cafd8043-b744-474c-99d0-7f33deb415ac",
|
| 340 |
+
"bbox": {
|
| 341 |
+
"x": 451.6038619242243,
|
| 342 |
+
"y": 380.17711757548415,
|
| 343 |
+
"w": 50.546875,
|
| 344 |
+
"h": 28.25
|
| 345 |
+
},
|
| 346 |
+
"originalW": 78.546875,
|
| 347 |
+
"originalH": 56.25,
|
| 348 |
+
"class": "compartment",
|
| 349 |
+
"label": "escape-string-regexp",
|
| 350 |
+
"statesandinfos": [],
|
| 351 |
+
"language": "PD",
|
| 352 |
+
"border-width": 2.25,
|
| 353 |
+
"border-color": "#555555",
|
| 354 |
+
"background-color": "#f5f5f5",
|
| 355 |
+
"background-opacity": 0.5,
|
| 356 |
+
"background-image-opacity": "",
|
| 357 |
+
"text-wrap": "wrap",
|
| 358 |
+
"font-size": 11,
|
| 359 |
+
"font-family": "Helvetica",
|
| 360 |
+
"font-style": "normal",
|
| 361 |
+
"font-weight": "bold",
|
| 362 |
+
"color": "#000000",
|
| 363 |
+
"ports": [],
|
| 364 |
+
"background-image": "",
|
| 365 |
+
"background-fit": "",
|
| 366 |
+
"background-position-x": "",
|
| 367 |
+
"background-position-y": "",
|
| 368 |
+
"background-width": "",
|
| 369 |
+
"background-height": "",
|
| 370 |
+
"infoboxCalculated": true,
|
| 371 |
+
"auxunitlayouts": {}
|
| 372 |
+
},
|
| 373 |
+
"position": {
|
| 374 |
+
"x": 451.6038619242243,
|
| 375 |
+
"y": 380.17711757548415
|
| 376 |
+
},
|
| 377 |
+
"group": "nodes",
|
| 378 |
+
"removed": false,
|
| 379 |
+
"selected": false,
|
| 380 |
+
"selectable": true,
|
| 381 |
+
"locked": false,
|
| 382 |
+
"grabbable": true,
|
| 383 |
+
"classes": ""
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"data": {
|
| 387 |
+
"id": "nwtN_6442ea6c-8a74-4948-ab60-2a2fc6b904f7",
|
| 388 |
+
"bbox": {
|
| 389 |
+
"x": 451.6038619242243,
|
| 390 |
+
"y": 380.17711757548415,
|
| 391 |
+
"w": 47.296875,
|
| 392 |
+
"h": 25
|
| 393 |
+
},
|
| 394 |
+
"class": "macromolecule",
|
| 395 |
+
"label": "index.js",
|
| 396 |
+
"statesandinfos": [],
|
| 397 |
+
"parent": "nwtN_cafd8043-b744-474c-99d0-7f33deb415ac",
|
| 398 |
+
"language": "PD",
|
| 399 |
+
"border-width": 1.25,
|
| 400 |
+
"border-color": "#555555",
|
| 401 |
+
"background-color": "#dfc27d",
|
| 402 |
+
"background-opacity": 1,
|
| 403 |
+
"background-image-opacity": "",
|
| 404 |
+
"text-wrap": "wrap",
|
| 405 |
+
"font-size": 11,
|
| 406 |
+
"font-family": "Helvetica",
|
| 407 |
+
"font-style": "normal",
|
| 408 |
+
"font-weight": "normal",
|
| 409 |
+
"color": "#000",
|
| 410 |
+
"ports": [],
|
| 411 |
+
"background-image": "",
|
| 412 |
+
"background-fit": "",
|
| 413 |
+
"background-position-x": "",
|
| 414 |
+
"background-position-y": "",
|
| 415 |
+
"background-width": "",
|
| 416 |
+
"background-height": "",
|
| 417 |
+
"infoboxCalculated": true,
|
| 418 |
+
"auxunitlayouts": {}
|
| 419 |
+
},
|
| 420 |
+
"position": {
|
| 421 |
+
"x": 451.6038619242243,
|
| 422 |
+
"y": 380.17711757548415
|
| 423 |
+
},
|
| 424 |
+
"group": "nodes",
|
| 425 |
+
"removed": false,
|
| 426 |
+
"selected": false,
|
| 427 |
+
"selectable": true,
|
| 428 |
+
"locked": false,
|
| 429 |
+
"grabbable": true,
|
| 430 |
+
"classes": ""
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"data": {
|
| 434 |
+
"id": "nwtN_e99db3a7-4249-47e7-84cf-b61676393dc8",
|
| 435 |
+
"bbox": {
|
| 436 |
+
"x": 467.6089290625593,
|
| 437 |
+
"y": 476.207520405494,
|
| 438 |
+
"w": 50.546875,
|
| 439 |
+
"h": 28.25
|
| 440 |
+
},
|
| 441 |
+
"originalW": 78.546875,
|
| 442 |
+
"originalH": 56.25,
|
| 443 |
+
"class": "compartment",
|
| 444 |
+
"label": "supports-color",
|
| 445 |
+
"statesandinfos": [],
|
| 446 |
+
"language": "PD",
|
| 447 |
+
"border-width": 2.25,
|
| 448 |
+
"border-color": "#555555",
|
| 449 |
+
"background-color": "#f5f5f5",
|
| 450 |
+
"background-opacity": 0.5,
|
| 451 |
+
"background-image-opacity": "",
|
| 452 |
+
"text-wrap": "wrap",
|
| 453 |
+
"font-size": 11,
|
| 454 |
+
"font-family": "Helvetica",
|
| 455 |
+
"font-style": "normal",
|
| 456 |
+
"font-weight": "bold",
|
| 457 |
+
"color": "#000000",
|
| 458 |
+
"ports": [],
|
| 459 |
+
"background-image": "",
|
| 460 |
+
"background-fit": "",
|
| 461 |
+
"background-position-x": "",
|
| 462 |
+
"background-position-y": "",
|
| 463 |
+
"background-width": "",
|
| 464 |
+
"background-height": "",
|
| 465 |
+
"infoboxCalculated": true,
|
| 466 |
+
"auxunitlayouts": {}
|
| 467 |
+
},
|
| 468 |
+
"position": {
|
| 469 |
+
"x": 467.6089290625593,
|
| 470 |
+
"y": 476.207520405494
|
| 471 |
+
},
|
| 472 |
+
"group": "nodes",
|
| 473 |
+
"removed": false,
|
| 474 |
+
"selected": false,
|
| 475 |
+
"selectable": true,
|
| 476 |
+
"locked": false,
|
| 477 |
+
"grabbable": true,
|
| 478 |
+
"classes": ""
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"data": {
|
| 482 |
+
"id": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 483 |
+
"bbox": {
|
| 484 |
+
"x": 467.6089290625593,
|
| 485 |
+
"y": 476.207520405494,
|
| 486 |
+
"w": 47.296875,
|
| 487 |
+
"h": 25
|
| 488 |
+
},
|
| 489 |
+
"class": "macromolecule",
|
| 490 |
+
"label": "index.js",
|
| 491 |
+
"statesandinfos": [],
|
| 492 |
+
"parent": "nwtN_e99db3a7-4249-47e7-84cf-b61676393dc8",
|
| 493 |
+
"language": "PD",
|
| 494 |
+
"border-width": 1.25,
|
| 495 |
+
"border-color": "#555555",
|
| 496 |
+
"background-color": "#dfc27d",
|
| 497 |
+
"background-opacity": 1,
|
| 498 |
+
"background-image-opacity": "",
|
| 499 |
+
"text-wrap": "wrap",
|
| 500 |
+
"font-size": 11,
|
| 501 |
+
"font-family": "Helvetica",
|
| 502 |
+
"font-style": "normal",
|
| 503 |
+
"font-weight": "normal",
|
| 504 |
+
"color": "#000",
|
| 505 |
+
"ports": [],
|
| 506 |
+
"background-image": "",
|
| 507 |
+
"background-fit": "",
|
| 508 |
+
"background-position-x": "",
|
| 509 |
+
"background-position-y": "",
|
| 510 |
+
"background-width": "",
|
| 511 |
+
"background-height": "",
|
| 512 |
+
"infoboxCalculated": true,
|
| 513 |
+
"auxunitlayouts": {}
|
| 514 |
+
},
|
| 515 |
+
"position": {
|
| 516 |
+
"x": 467.6089290625593,
|
| 517 |
+
"y": 476.207520405494
|
| 518 |
+
},
|
| 519 |
+
"group": "nodes",
|
| 520 |
+
"removed": false,
|
| 521 |
+
"selected": false,
|
| 522 |
+
"selectable": true,
|
| 523 |
+
"locked": false,
|
| 524 |
+
"grabbable": true,
|
| 525 |
+
"classes": ""
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"data": {
|
| 529 |
+
"id": "nwtN_641f76bc-059e-4885-9e58-8bc08b26765d",
|
| 530 |
+
"bbox": {
|
| 531 |
+
"x": 663.6710015071626,
|
| 532 |
+
"y": 439.19580264809434,
|
| 533 |
+
"w": 50.546875,
|
| 534 |
+
"h": 28.25
|
| 535 |
+
},
|
| 536 |
+
"originalW": 78.546875,
|
| 537 |
+
"originalH": 56.25,
|
| 538 |
+
"class": "compartment",
|
| 539 |
+
"label": "has-flag",
|
| 540 |
+
"statesandinfos": [],
|
| 541 |
+
"language": "PD",
|
| 542 |
+
"border-width": 2.25,
|
| 543 |
+
"border-color": "#555555",
|
| 544 |
+
"background-color": "#f5f5f5",
|
| 545 |
+
"background-opacity": 0.5,
|
| 546 |
+
"background-image-opacity": "",
|
| 547 |
+
"text-wrap": "wrap",
|
| 548 |
+
"font-size": 11,
|
| 549 |
+
"font-family": "Helvetica",
|
| 550 |
+
"font-style": "normal",
|
| 551 |
+
"font-weight": "bold",
|
| 552 |
+
"color": "#000000",
|
| 553 |
+
"ports": [],
|
| 554 |
+
"background-image": "",
|
| 555 |
+
"background-fit": "",
|
| 556 |
+
"background-position-x": "",
|
| 557 |
+
"background-position-y": "",
|
| 558 |
+
"background-width": "",
|
| 559 |
+
"background-height": "",
|
| 560 |
+
"infoboxCalculated": true,
|
| 561 |
+
"auxunitlayouts": {}
|
| 562 |
+
},
|
| 563 |
+
"position": {
|
| 564 |
+
"x": 663.6710015071626,
|
| 565 |
+
"y": 439.19580264809434
|
| 566 |
+
},
|
| 567 |
+
"group": "nodes",
|
| 568 |
+
"removed": false,
|
| 569 |
+
"selected": false,
|
| 570 |
+
"selectable": true,
|
| 571 |
+
"locked": false,
|
| 572 |
+
"grabbable": true,
|
| 573 |
+
"classes": ""
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"data": {
|
| 577 |
+
"id": "nwtN_fc4a5aa8-171f-41bd-8ab3-5eee343c4f9f",
|
| 578 |
+
"bbox": {
|
| 579 |
+
"x": 663.6710015071626,
|
| 580 |
+
"y": 439.19580264809434,
|
| 581 |
+
"w": 47.296875,
|
| 582 |
+
"h": 25
|
| 583 |
+
},
|
| 584 |
+
"class": "macromolecule",
|
| 585 |
+
"label": "index.js",
|
| 586 |
+
"statesandinfos": [],
|
| 587 |
+
"parent": "nwtN_641f76bc-059e-4885-9e58-8bc08b26765d",
|
| 588 |
+
"language": "PD",
|
| 589 |
+
"border-width": 1.25,
|
| 590 |
+
"border-color": "#555555",
|
| 591 |
+
"background-color": "#dfc27d",
|
| 592 |
+
"background-opacity": 1,
|
| 593 |
+
"background-image-opacity": "",
|
| 594 |
+
"text-wrap": "wrap",
|
| 595 |
+
"font-size": 11,
|
| 596 |
+
"font-family": "Helvetica",
|
| 597 |
+
"font-style": "normal",
|
| 598 |
+
"font-weight": "normal",
|
| 599 |
+
"color": "#000",
|
| 600 |
+
"ports": [],
|
| 601 |
+
"background-image": "",
|
| 602 |
+
"background-fit": "",
|
| 603 |
+
"background-position-x": "",
|
| 604 |
+
"background-position-y": "",
|
| 605 |
+
"background-width": "",
|
| 606 |
+
"background-height": "",
|
| 607 |
+
"infoboxCalculated": true,
|
| 608 |
+
"auxunitlayouts": {}
|
| 609 |
+
},
|
| 610 |
+
"position": {
|
| 611 |
+
"x": 663.6710015071626,
|
| 612 |
+
"y": 439.19580264809434
|
| 613 |
+
},
|
| 614 |
+
"group": "nodes",
|
| 615 |
+
"removed": false,
|
| 616 |
+
"selected": false,
|
| 617 |
+
"selectable": true,
|
| 618 |
+
"locked": false,
|
| 619 |
+
"grabbable": true,
|
| 620 |
+
"classes": ""
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"data": {
|
| 624 |
+
"id": "nwtN_e4a59b7b-986f-40c1-8211-07ecd7bd4a85",
|
| 625 |
+
"bbox": {
|
| 626 |
+
"x": 769.0413352597577,
|
| 627 |
+
"y": 155.046620789248,
|
| 628 |
+
"w": 209.7825138067825,
|
| 629 |
+
"h": 76.26330123812932
|
| 630 |
+
},
|
| 631 |
+
"originalW": 237.7825138067825,
|
| 632 |
+
"originalH": 104.26330123812932,
|
| 633 |
+
"class": "compartment",
|
| 634 |
+
"label": "color-convert",
|
| 635 |
+
"statesandinfos": [],
|
| 636 |
+
"language": "PD",
|
| 637 |
+
"border-width": 2.25,
|
| 638 |
+
"border-color": "#555555",
|
| 639 |
+
"background-color": "#f5f5f5",
|
| 640 |
+
"background-opacity": 0.5,
|
| 641 |
+
"background-image-opacity": "",
|
| 642 |
+
"text-wrap": "wrap",
|
| 643 |
+
"font-size": 11,
|
| 644 |
+
"font-family": "Helvetica",
|
| 645 |
+
"font-style": "normal",
|
| 646 |
+
"font-weight": "bold",
|
| 647 |
+
"color": "#000000",
|
| 648 |
+
"ports": [],
|
| 649 |
+
"background-image": "",
|
| 650 |
+
"background-fit": "",
|
| 651 |
+
"background-position-x": "",
|
| 652 |
+
"background-position-y": "",
|
| 653 |
+
"background-width": "",
|
| 654 |
+
"background-height": "",
|
| 655 |
+
"infoboxCalculated": true,
|
| 656 |
+
"auxunitlayouts": {}
|
| 657 |
+
},
|
| 658 |
+
"position": {
|
| 659 |
+
"x": 769.0413352597577,
|
| 660 |
+
"y": 155.046620789248
|
| 661 |
+
},
|
| 662 |
+
"group": "nodes",
|
| 663 |
+
"removed": false,
|
| 664 |
+
"selected": false,
|
| 665 |
+
"selectable": true,
|
| 666 |
+
"locked": false,
|
| 667 |
+
"grabbable": true,
|
| 668 |
+
"classes": ""
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"data": {
|
| 672 |
+
"id": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 673 |
+
"bbox": {
|
| 674 |
+
"x": 689.4235158563665,
|
| 675 |
+
"y": 179.05327140831267,
|
| 676 |
+
"w": 47.296875,
|
| 677 |
+
"h": 25
|
| 678 |
+
},
|
| 679 |
+
"class": "macromolecule",
|
| 680 |
+
"label": "index.js",
|
| 681 |
+
"statesandinfos": [],
|
| 682 |
+
"parent": "nwtN_e4a59b7b-986f-40c1-8211-07ecd7bd4a85",
|
| 683 |
+
"language": "PD",
|
| 684 |
+
"border-width": 1.25,
|
| 685 |
+
"border-color": "#555555",
|
| 686 |
+
"background-color": "#dfc27d",
|
| 687 |
+
"background-opacity": 1,
|
| 688 |
+
"background-image-opacity": "",
|
| 689 |
+
"text-wrap": "wrap",
|
| 690 |
+
"font-size": 11,
|
| 691 |
+
"font-family": "Helvetica",
|
| 692 |
+
"font-style": "normal",
|
| 693 |
+
"font-weight": "normal",
|
| 694 |
+
"color": "#000",
|
| 695 |
+
"ports": [],
|
| 696 |
+
"background-image": "",
|
| 697 |
+
"background-fit": "",
|
| 698 |
+
"background-position-x": "",
|
| 699 |
+
"background-position-y": "",
|
| 700 |
+
"background-width": "",
|
| 701 |
+
"background-height": "",
|
| 702 |
+
"infoboxCalculated": true,
|
| 703 |
+
"auxunitlayouts": {}
|
| 704 |
+
},
|
| 705 |
+
"position": {
|
| 706 |
+
"x": 689.4235158563665,
|
| 707 |
+
"y": 179.05327140831267
|
| 708 |
+
},
|
| 709 |
+
"group": "nodes",
|
| 710 |
+
"removed": false,
|
| 711 |
+
"selected": false,
|
| 712 |
+
"selectable": true,
|
| 713 |
+
"locked": false,
|
| 714 |
+
"grabbable": true,
|
| 715 |
+
"classes": ""
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"data": {
|
| 719 |
+
"id": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 720 |
+
"bbox": {
|
| 721 |
+
"x": 832.459935913149,
|
| 722 |
+
"y": 174.05612167362608,
|
| 723 |
+
"w": 79.6953125,
|
| 724 |
+
"h": 25
|
| 725 |
+
},
|
| 726 |
+
"class": "macromolecule",
|
| 727 |
+
"label": "conversions.js",
|
| 728 |
+
"statesandinfos": [],
|
| 729 |
+
"parent": "nwtN_e4a59b7b-986f-40c1-8211-07ecd7bd4a85",
|
| 730 |
+
"language": "PD",
|
| 731 |
+
"border-width": 1.25,
|
| 732 |
+
"border-color": "#555555",
|
| 733 |
+
"background-color": "#dfc27d",
|
| 734 |
+
"background-opacity": 1,
|
| 735 |
+
"background-image-opacity": "",
|
| 736 |
+
"text-wrap": "wrap",
|
| 737 |
+
"font-size": 11,
|
| 738 |
+
"font-family": "Helvetica",
|
| 739 |
+
"font-style": "normal",
|
| 740 |
+
"font-weight": "normal",
|
| 741 |
+
"color": "#000",
|
| 742 |
+
"ports": [],
|
| 743 |
+
"background-image": "",
|
| 744 |
+
"background-fit": "",
|
| 745 |
+
"background-position-x": "",
|
| 746 |
+
"background-position-y": "",
|
| 747 |
+
"background-width": "",
|
| 748 |
+
"background-height": "",
|
| 749 |
+
"infoboxCalculated": true,
|
| 750 |
+
"auxunitlayouts": {}
|
| 751 |
+
},
|
| 752 |
+
"position": {
|
| 753 |
+
"x": 832.459935913149,
|
| 754 |
+
"y": 174.05612167362608
|
| 755 |
+
},
|
| 756 |
+
"group": "nodes",
|
| 757 |
+
"removed": false,
|
| 758 |
+
"selected": false,
|
| 759 |
+
"selectable": true,
|
| 760 |
+
"locked": false,
|
| 761 |
+
"grabbable": true,
|
| 762 |
+
"classes": ""
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"data": {
|
| 766 |
+
"id": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 767 |
+
"bbox": {
|
| 768 |
+
"x": 761.4273162101177,
|
| 769 |
+
"y": 131.03997017018335,
|
| 770 |
+
"w": 46.072265625,
|
| 771 |
+
"h": 25
|
| 772 |
+
},
|
| 773 |
+
"class": "macromolecule",
|
| 774 |
+
"label": "route.js",
|
| 775 |
+
"statesandinfos": [],
|
| 776 |
+
"parent": "nwtN_e4a59b7b-986f-40c1-8211-07ecd7bd4a85",
|
| 777 |
+
"language": "PD",
|
| 778 |
+
"border-width": 1.25,
|
| 779 |
+
"border-color": "#555555",
|
| 780 |
+
"background-color": "#dfc27d",
|
| 781 |
+
"background-opacity": 1,
|
| 782 |
+
"background-image-opacity": "",
|
| 783 |
+
"text-wrap": "wrap",
|
| 784 |
+
"font-size": 11,
|
| 785 |
+
"font-family": "Helvetica",
|
| 786 |
+
"font-style": "normal",
|
| 787 |
+
"font-weight": "normal",
|
| 788 |
+
"color": "#000",
|
| 789 |
+
"ports": [],
|
| 790 |
+
"background-image": "",
|
| 791 |
+
"background-fit": "",
|
| 792 |
+
"background-position-x": "",
|
| 793 |
+
"background-position-y": "",
|
| 794 |
+
"background-width": "",
|
| 795 |
+
"background-height": "",
|
| 796 |
+
"infoboxCalculated": true,
|
| 797 |
+
"auxunitlayouts": {}
|
| 798 |
+
},
|
| 799 |
+
"position": {
|
| 800 |
+
"x": 761.4273162101177,
|
| 801 |
+
"y": 131.03997017018335
|
| 802 |
+
},
|
| 803 |
+
"group": "nodes",
|
| 804 |
+
"removed": false,
|
| 805 |
+
"selected": false,
|
| 806 |
+
"selectable": true,
|
| 807 |
+
"locked": false,
|
| 808 |
+
"grabbable": true,
|
| 809 |
+
"classes": ""
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"data": {
|
| 813 |
+
"id": "nwtN_bc39472b-e95f-4e5c-955e-eb6fd7fe0cdf",
|
| 814 |
+
"bbox": {
|
| 815 |
+
"x": 914.4608860015869,
|
| 816 |
+
"y": 275.05675506591797,
|
| 817 |
+
"w": 50.546875,
|
| 818 |
+
"h": 28.25
|
| 819 |
+
},
|
| 820 |
+
"originalW": 78.546875,
|
| 821 |
+
"originalH": 56.25,
|
| 822 |
+
"class": "compartment",
|
| 823 |
+
"label": "color-name",
|
| 824 |
+
"statesandinfos": [],
|
| 825 |
+
"language": "PD",
|
| 826 |
+
"border-width": 2.25,
|
| 827 |
+
"border-color": "#555555",
|
| 828 |
+
"background-color": "#f5f5f5",
|
| 829 |
+
"background-opacity": 0.5,
|
| 830 |
+
"background-image-opacity": "",
|
| 831 |
+
"text-wrap": "wrap",
|
| 832 |
+
"font-size": 11,
|
| 833 |
+
"font-family": "Helvetica",
|
| 834 |
+
"font-style": "normal",
|
| 835 |
+
"font-weight": "bold",
|
| 836 |
+
"color": "#000000",
|
| 837 |
+
"ports": [],
|
| 838 |
+
"background-image": "",
|
| 839 |
+
"background-fit": "",
|
| 840 |
+
"background-position-x": "",
|
| 841 |
+
"background-position-y": "",
|
| 842 |
+
"background-width": "",
|
| 843 |
+
"background-height": "",
|
| 844 |
+
"infoboxCalculated": true,
|
| 845 |
+
"auxunitlayouts": {}
|
| 846 |
+
},
|
| 847 |
+
"position": {
|
| 848 |
+
"x": 914.4608860015869,
|
| 849 |
+
"y": 275.05675506591797
|
| 850 |
+
},
|
| 851 |
+
"group": "nodes",
|
| 852 |
+
"removed": false,
|
| 853 |
+
"selected": false,
|
| 854 |
+
"selectable": true,
|
| 855 |
+
"locked": false,
|
| 856 |
+
"grabbable": true,
|
| 857 |
+
"classes": ""
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"data": {
|
| 861 |
+
"id": "nwtN_2f088c82-aac6-4e48-8fde-8574a3390d24",
|
| 862 |
+
"bbox": {
|
| 863 |
+
"x": 914.4608860015869,
|
| 864 |
+
"y": 275.05675506591797,
|
| 865 |
+
"w": 47.296875,
|
| 866 |
+
"h": 25
|
| 867 |
+
},
|
| 868 |
+
"class": "macromolecule",
|
| 869 |
+
"label": "index.js",
|
| 870 |
+
"statesandinfos": [],
|
| 871 |
+
"parent": "nwtN_bc39472b-e95f-4e5c-955e-eb6fd7fe0cdf",
|
| 872 |
+
"language": "PD",
|
| 873 |
+
"border-width": 1.25,
|
| 874 |
+
"border-color": "#555555",
|
| 875 |
+
"background-color": "#dfc27d",
|
| 876 |
+
"background-opacity": 1,
|
| 877 |
+
"background-image-opacity": "",
|
| 878 |
+
"text-wrap": "wrap",
|
| 879 |
+
"font-size": 11,
|
| 880 |
+
"font-family": "Helvetica",
|
| 881 |
+
"font-style": "normal",
|
| 882 |
+
"font-weight": "normal",
|
| 883 |
+
"color": "#000",
|
| 884 |
+
"ports": [],
|
| 885 |
+
"background-image": "",
|
| 886 |
+
"background-fit": "",
|
| 887 |
+
"background-position-x": "",
|
| 888 |
+
"background-position-y": "",
|
| 889 |
+
"background-width": "",
|
| 890 |
+
"background-height": "",
|
| 891 |
+
"infoboxCalculated": true,
|
| 892 |
+
"auxunitlayouts": {}
|
| 893 |
+
},
|
| 894 |
+
"position": {
|
| 895 |
+
"x": 914.4608860015869,
|
| 896 |
+
"y": 275.05675506591797
|
| 897 |
+
},
|
| 898 |
+
"group": "nodes",
|
| 899 |
+
"removed": false,
|
| 900 |
+
"selected": false,
|
| 901 |
+
"selectable": true,
|
| 902 |
+
"locked": false,
|
| 903 |
+
"grabbable": true,
|
| 904 |
+
"classes": ""
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"data": {
|
| 908 |
+
"id": "nwtN_88c73829-9d76-4b03-ab27-335fd9581531",
|
| 909 |
+
"bbox": {
|
| 910 |
+
"x": 638.6630841035143,
|
| 911 |
+
"y": 555.2325394010229,
|
| 912 |
+
"w": 30,
|
| 913 |
+
"h": 25
|
| 914 |
+
},
|
| 915 |
+
"class": "unspecified entity",
|
| 916 |
+
"label": "os",
|
| 917 |
+
"statesandinfos": [],
|
| 918 |
+
"language": "PD",
|
| 919 |
+
"border-width": 1.25,
|
| 920 |
+
"border-color": "#555555",
|
| 921 |
+
"background-color": "#f5f5f5",
|
| 922 |
+
"background-opacity": 1,
|
| 923 |
+
"background-image-opacity": "",
|
| 924 |
+
"text-wrap": "wrap",
|
| 925 |
+
"font-size": 11,
|
| 926 |
+
"font-family": "Helvetica",
|
| 927 |
+
"font-style": "normal",
|
| 928 |
+
"font-weight": "normal",
|
| 929 |
+
"color": "#000",
|
| 930 |
+
"ports": [],
|
| 931 |
+
"background-image": "",
|
| 932 |
+
"background-fit": "",
|
| 933 |
+
"background-position-x": "",
|
| 934 |
+
"background-position-y": "",
|
| 935 |
+
"background-width": "",
|
| 936 |
+
"background-height": "",
|
| 937 |
+
"infoboxCalculated": true,
|
| 938 |
+
"auxunitlayouts": {}
|
| 939 |
+
},
|
| 940 |
+
"position": {
|
| 941 |
+
"x": 638.6630841035143,
|
| 942 |
+
"y": 555.2325394010229
|
| 943 |
+
},
|
| 944 |
+
"group": "nodes",
|
| 945 |
+
"removed": false,
|
| 946 |
+
"selected": false,
|
| 947 |
+
"selectable": true,
|
| 948 |
+
"locked": false,
|
| 949 |
+
"grabbable": true,
|
| 950 |
+
"classes": ""
|
| 951 |
+
}
|
| 952 |
+
],
|
| 953 |
+
"edges": [
|
| 954 |
+
{
|
| 955 |
+
"data": {
|
| 956 |
+
"id": "nwtE_d1ae8562-bb81-4d93-ac24-78b9def385a2",
|
| 957 |
+
"class": "production",
|
| 958 |
+
"bendPointPositions": [],
|
| 959 |
+
"language": "PD",
|
| 960 |
+
"line-color": "#555555",
|
| 961 |
+
"width": 1.25,
|
| 962 |
+
"cardinality": 0,
|
| 963 |
+
"source": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 964 |
+
"target": "nwtN_c152aeef-01df-49fc-9539-9e022e8d4c64",
|
| 965 |
+
"portsource": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 966 |
+
"porttarget": "nwtN_c152aeef-01df-49fc-9539-9e022e8d4c64"
|
| 967 |
+
},
|
| 968 |
+
"position": {},
|
| 969 |
+
"group": "edges",
|
| 970 |
+
"removed": false,
|
| 971 |
+
"selected": false,
|
| 972 |
+
"selectable": true,
|
| 973 |
+
"locked": false,
|
| 974 |
+
"grabbable": true,
|
| 975 |
+
"classes": ""
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"data": {
|
| 979 |
+
"id": "nwtE_925bc3d3-7dac-4ef3-b0d7-875c78be8fbe",
|
| 980 |
+
"class": "production",
|
| 981 |
+
"bendPointPositions": [],
|
| 982 |
+
"language": "PD",
|
| 983 |
+
"line-color": "#555555",
|
| 984 |
+
"width": 1.25,
|
| 985 |
+
"cardinality": 0,
|
| 986 |
+
"source": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 987 |
+
"target": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 988 |
+
"portsource": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 989 |
+
"porttarget": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3"
|
| 990 |
+
},
|
| 991 |
+
"position": {},
|
| 992 |
+
"group": "edges",
|
| 993 |
+
"removed": false,
|
| 994 |
+
"selected": false,
|
| 995 |
+
"selectable": true,
|
| 996 |
+
"locked": false,
|
| 997 |
+
"grabbable": true,
|
| 998 |
+
"classes": ""
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"data": {
|
| 1002 |
+
"id": "nwtE_d32f598b-4b96-4403-87c4-870e99ee6bc1",
|
| 1003 |
+
"class": "production",
|
| 1004 |
+
"bendPointPositions": [],
|
| 1005 |
+
"language": "PD",
|
| 1006 |
+
"line-color": "#555555",
|
| 1007 |
+
"width": 1.25,
|
| 1008 |
+
"cardinality": 0,
|
| 1009 |
+
"source": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 1010 |
+
"target": "nwtN_6442ea6c-8a74-4948-ab60-2a2fc6b904f7",
|
| 1011 |
+
"portsource": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 1012 |
+
"porttarget": "nwtN_6442ea6c-8a74-4948-ab60-2a2fc6b904f7"
|
| 1013 |
+
},
|
| 1014 |
+
"position": {},
|
| 1015 |
+
"group": "edges",
|
| 1016 |
+
"removed": false,
|
| 1017 |
+
"selected": false,
|
| 1018 |
+
"selectable": true,
|
| 1019 |
+
"locked": false,
|
| 1020 |
+
"grabbable": true,
|
| 1021 |
+
"classes": ""
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"data": {
|
| 1025 |
+
"id": "nwtE_0f92d3d4-1849-4f4c-97f0-6504eb9831ac",
|
| 1026 |
+
"class": "production",
|
| 1027 |
+
"bendPointPositions": [],
|
| 1028 |
+
"language": "PD",
|
| 1029 |
+
"line-color": "#555555",
|
| 1030 |
+
"width": 1.25,
|
| 1031 |
+
"cardinality": 0,
|
| 1032 |
+
"source": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 1033 |
+
"target": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 1034 |
+
"portsource": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 1035 |
+
"porttarget": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607"
|
| 1036 |
+
},
|
| 1037 |
+
"position": {},
|
| 1038 |
+
"group": "edges",
|
| 1039 |
+
"removed": false,
|
| 1040 |
+
"selected": false,
|
| 1041 |
+
"selectable": true,
|
| 1042 |
+
"locked": false,
|
| 1043 |
+
"grabbable": true,
|
| 1044 |
+
"classes": ""
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"data": {
|
| 1048 |
+
"id": "nwtE_2b21b38a-8443-45ea-b067-d626a731fc32",
|
| 1049 |
+
"class": "production",
|
| 1050 |
+
"bendPointPositions": [],
|
| 1051 |
+
"language": "PD",
|
| 1052 |
+
"line-color": "#555555",
|
| 1053 |
+
"width": 1.25,
|
| 1054 |
+
"cardinality": 0,
|
| 1055 |
+
"source": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 1056 |
+
"target": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 1057 |
+
"portsource": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 1058 |
+
"porttarget": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069"
|
| 1059 |
+
},
|
| 1060 |
+
"position": {},
|
| 1061 |
+
"group": "edges",
|
| 1062 |
+
"removed": false,
|
| 1063 |
+
"selected": false,
|
| 1064 |
+
"selectable": true,
|
| 1065 |
+
"locked": false,
|
| 1066 |
+
"grabbable": true,
|
| 1067 |
+
"classes": ""
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"data": {
|
| 1071 |
+
"id": "nwtE_cc83602e-928e-4d47-b60e-9ec94b93f9bd",
|
| 1072 |
+
"class": "production",
|
| 1073 |
+
"bendPointPositions": [],
|
| 1074 |
+
"language": "PD",
|
| 1075 |
+
"line-color": "#555555",
|
| 1076 |
+
"width": 1.25,
|
| 1077 |
+
"cardinality": 0,
|
| 1078 |
+
"source": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 1079 |
+
"target": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 1080 |
+
"portsource": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 1081 |
+
"porttarget": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946"
|
| 1082 |
+
},
|
| 1083 |
+
"position": {},
|
| 1084 |
+
"group": "edges",
|
| 1085 |
+
"removed": false,
|
| 1086 |
+
"selected": false,
|
| 1087 |
+
"selectable": true,
|
| 1088 |
+
"locked": false,
|
| 1089 |
+
"grabbable": true,
|
| 1090 |
+
"classes": ""
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"data": {
|
| 1094 |
+
"id": "nwtE_66f2d0d1-0542-450a-b6ae-f1c8bfa19e23",
|
| 1095 |
+
"class": "production",
|
| 1096 |
+
"bendPointPositions": [],
|
| 1097 |
+
"language": "PD",
|
| 1098 |
+
"line-color": "#555555",
|
| 1099 |
+
"width": 1.25,
|
| 1100 |
+
"cardinality": 0,
|
| 1101 |
+
"source": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 1102 |
+
"target": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 1103 |
+
"portsource": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 1104 |
+
"porttarget": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37"
|
| 1105 |
+
},
|
| 1106 |
+
"position": {},
|
| 1107 |
+
"group": "edges",
|
| 1108 |
+
"removed": false,
|
| 1109 |
+
"selected": false,
|
| 1110 |
+
"selectable": true,
|
| 1111 |
+
"locked": false,
|
| 1112 |
+
"grabbable": true,
|
| 1113 |
+
"classes": ""
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"data": {
|
| 1117 |
+
"id": "nwtE_83bd7195-5e2f-49c8-87f1-b54d74309928",
|
| 1118 |
+
"class": "production",
|
| 1119 |
+
"bendPointPositions": [],
|
| 1120 |
+
"language": "PD",
|
| 1121 |
+
"line-color": "#555555",
|
| 1122 |
+
"width": 1.25,
|
| 1123 |
+
"cardinality": 0,
|
| 1124 |
+
"source": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 1125 |
+
"target": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 1126 |
+
"portsource": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 1127 |
+
"porttarget": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37"
|
| 1128 |
+
},
|
| 1129 |
+
"position": {},
|
| 1130 |
+
"group": "edges",
|
| 1131 |
+
"removed": false,
|
| 1132 |
+
"selected": false,
|
| 1133 |
+
"selectable": true,
|
| 1134 |
+
"locked": false,
|
| 1135 |
+
"grabbable": true,
|
| 1136 |
+
"classes": ""
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"data": {
|
| 1140 |
+
"id": "nwtE_5e327bfd-b03d-440c-8825-0f03c01c7426",
|
| 1141 |
+
"class": "production",
|
| 1142 |
+
"bendPointPositions": [],
|
| 1143 |
+
"language": "PD",
|
| 1144 |
+
"line-color": "#555555",
|
| 1145 |
+
"width": 1.25,
|
| 1146 |
+
"cardinality": 0,
|
| 1147 |
+
"source": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 1148 |
+
"target": "nwtN_2f088c82-aac6-4e48-8fde-8574a3390d24",
|
| 1149 |
+
"portsource": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 1150 |
+
"porttarget": "nwtN_2f088c82-aac6-4e48-8fde-8574a3390d24"
|
| 1151 |
+
},
|
| 1152 |
+
"position": {},
|
| 1153 |
+
"group": "edges",
|
| 1154 |
+
"removed": false,
|
| 1155 |
+
"selected": false,
|
| 1156 |
+
"selectable": true,
|
| 1157 |
+
"locked": false,
|
| 1158 |
+
"grabbable": true,
|
| 1159 |
+
"classes": ""
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"data": {
|
| 1163 |
+
"id": "nwtE_93128cfa-29d1-4669-8496-85227b119c1f",
|
| 1164 |
+
"class": "production",
|
| 1165 |
+
"bendPointPositions": [],
|
| 1166 |
+
"language": "PD",
|
| 1167 |
+
"line-color": "#555555",
|
| 1168 |
+
"width": 1.25,
|
| 1169 |
+
"cardinality": 0,
|
| 1170 |
+
"source": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 1171 |
+
"target": "nwtN_fc4a5aa8-171f-41bd-8ab3-5eee343c4f9f",
|
| 1172 |
+
"portsource": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 1173 |
+
"porttarget": "nwtN_fc4a5aa8-171f-41bd-8ab3-5eee343c4f9f"
|
| 1174 |
+
},
|
| 1175 |
+
"position": {},
|
| 1176 |
+
"group": "edges",
|
| 1177 |
+
"removed": false,
|
| 1178 |
+
"selected": false,
|
| 1179 |
+
"selectable": true,
|
| 1180 |
+
"locked": false,
|
| 1181 |
+
"grabbable": true,
|
| 1182 |
+
"classes": ""
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"data": {
|
| 1186 |
+
"id": "nwtE_95f18b40-fe6a-482c-9ff2-5296ad1923c0",
|
| 1187 |
+
"class": "production",
|
| 1188 |
+
"bendPointPositions": [],
|
| 1189 |
+
"language": "PD",
|
| 1190 |
+
"line-color": "#a8a8a8",
|
| 1191 |
+
"width": 1.25,
|
| 1192 |
+
"cardinality": 0,
|
| 1193 |
+
"source": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 1194 |
+
"target": "nwtN_88c73829-9d76-4b03-ab27-335fd9581531",
|
| 1195 |
+
"portsource": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 1196 |
+
"porttarget": "nwtN_88c73829-9d76-4b03-ab27-335fd9581531"
|
| 1197 |
+
},
|
| 1198 |
+
"position": {},
|
| 1199 |
+
"group": "edges",
|
| 1200 |
+
"removed": false,
|
| 1201 |
+
"selected": false,
|
| 1202 |
+
"selectable": true,
|
| 1203 |
+
"locked": false,
|
| 1204 |
+
"grabbable": true,
|
| 1205 |
+
"classes": ""
|
| 1206 |
+
}
|
| 1207 |
+
]
|
| 1208 |
+
},
|
| 1209 |
+
"style": [
|
| 1210 |
+
{
|
| 1211 |
+
"selector": "node",
|
| 1212 |
+
"style": {
|
| 1213 |
+
"shape": "rectangle",
|
| 1214 |
+
"text-halign": "center",
|
| 1215 |
+
"text-valign": "center",
|
| 1216 |
+
"background-color": "#ffffff",
|
| 1217 |
+
"opacity": "1",
|
| 1218 |
+
"border-color": "#555555"
|
| 1219 |
+
}
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"selector": "node[class = 'simple chemical']",
|
| 1223 |
+
"style": {
|
| 1224 |
+
"shape": "ellipse",
|
| 1225 |
+
"background-color": "#c7eae5"
|
| 1226 |
+
}
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"selector": "node[class = 'macromolecule']",
|
| 1230 |
+
"style": {
|
| 1231 |
+
"shape": "roundrectangle",
|
| 1232 |
+
"background-color": "#dfc27d"
|
| 1233 |
+
}
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"selector": "node[class = 'unspecified entity']",
|
| 1237 |
+
"style": {
|
| 1238 |
+
"shape": "ellipse",
|
| 1239 |
+
"background-color": "#f5f5f5"
|
| 1240 |
+
}
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"selector": ":parent",
|
| 1244 |
+
"style": {
|
| 1245 |
+
"background-opacity": "0.333",
|
| 1246 |
+
"text-valign": "bottom",
|
| 1247 |
+
"shape": "barrel",
|
| 1248 |
+
"text-margin-y": "2px",
|
| 1249 |
+
"font-weight" : "bold",
|
| 1250 |
+
"border-color": "#555555"
|
| 1251 |
+
}
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"selector": "node:selected",
|
| 1255 |
+
"style": {
|
| 1256 |
+
"background-color": "#33ff00",
|
| 1257 |
+
"border-color": "#22ee00"
|
| 1258 |
+
}
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"selector": "edge",
|
| 1262 |
+
"style": {
|
| 1263 |
+
"curve-style": "bezier",
|
| 1264 |
+
"width": "2px",
|
| 1265 |
+
"line-color": "rgb(58,126,207)",
|
| 1266 |
+
"opacity": "1",
|
| 1267 |
+
"target-arrow-shape": "triangle",
|
| 1268 |
+
"target-arrow-color": "rgb(58,126,207)",
|
| 1269 |
+
}
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"selector": "edge:selected",
|
| 1273 |
+
"style": {
|
| 1274 |
+
"line-color": "#33ff00",
|
| 1275 |
+
"font-size": "13px",
|
| 1276 |
+
"text-opacity": "1",
|
| 1277 |
+
"text-rotation": "autorotate",
|
| 1278 |
+
"color": "#33ff00",
|
| 1279 |
+
"font-weight": "bold",
|
| 1280 |
+
"text-background-shape": "roundrectangle",
|
| 1281 |
+
"text-background-opacity": "1",
|
| 1282 |
+
"text-background-padding": "2px",
|
| 1283 |
+
"target-arrow-color": "#33ff00",
|
| 1284 |
+
"target-arrow-shape": "triangle",
|
| 1285 |
+
}
|
| 1286 |
+
}
|
| 1287 |
+
],
|
| 1288 |
+
"zoomingEnabled": true,
|
| 1289 |
+
"userZoomingEnabled": true,
|
| 1290 |
+
"zoom": 1.7784699371350863,
|
| 1291 |
+
"minZoom": 0.125,
|
| 1292 |
+
"maxZoom": 16,
|
| 1293 |
+
"panningEnabled": true,
|
| 1294 |
+
"userPanningEnabled": true,
|
| 1295 |
+
"pan": {
|
| 1296 |
+
"x": -246.2736846361503,
|
| 1297 |
+
"y": -69.57913264371261
|
| 1298 |
+
},
|
| 1299 |
+
"boxSelectionEnabled": true,
|
| 1300 |
+
"renderer": {
|
| 1301 |
+
"name": "canvas"
|
| 1302 |
+
},
|
| 1303 |
+
"wheelSensitivity": 0.1,
|
| 1304 |
+
"motionBlur": true
|
| 1305 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/chalk_constraints.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
chalk_constraints = {
|
| 2 |
+
"alignmentConstraint": {
|
| 3 |
+
"vertical": [
|
| 4 |
+
[
|
| 5 |
+
"nwtN_c152aeef-01df-49fc-9539-9e022e8d4c64",
|
| 6 |
+
"nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 7 |
+
"nwtN_6442ea6c-8a74-4948-ab60-2a2fc6b904f7",
|
| 8 |
+
"nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607"
|
| 9 |
+
],
|
| 10 |
+
[
|
| 11 |
+
"nwtN_fc4a5aa8-171f-41bd-8ab3-5eee343c4f9f",
|
| 12 |
+
"nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 13 |
+
"nwtN_88c73829-9d76-4b03-ab27-335fd9581531"
|
| 14 |
+
],
|
| 15 |
+
[
|
| 16 |
+
"nwtN_23452b85-7855-413f-a03d-26412ed87bfc",
|
| 17 |
+
"nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059"
|
| 18 |
+
]
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"relativePlacementConstraint": [
|
| 22 |
+
{
|
| 23 |
+
"left": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 24 |
+
"right": "nwtN_c152aeef-01df-49fc-9539-9e022e8d4c64",
|
| 25 |
+
"gap": 180
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"left": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 29 |
+
"right": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 30 |
+
"gap": 180
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"left": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 34 |
+
"right": "nwtN_6442ea6c-8a74-4948-ab60-2a2fc6b904f7",
|
| 35 |
+
"gap": 180
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"left": "nwtN_6ffc1fdf-602f-4395-89b5-666b383a5059",
|
| 39 |
+
"right": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 40 |
+
"gap": 180
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"left": "nwtN_fa99aac7-9500-4ead-82c3-90c72e9837f3",
|
| 44 |
+
"right": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 45 |
+
"gap": 120
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"left": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 49 |
+
"right": "nwtN_fc4a5aa8-171f-41bd-8ab3-5eee343c4f9f",
|
| 50 |
+
"gap": 120
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"left": "nwtN_395e3fed-fcd4-427a-909a-c01a7fc94607",
|
| 54 |
+
"right": "nwtN_88c73829-9d76-4b03-ab27-335fd9581531",
|
| 55 |
+
"gap": 120
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"left": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 59 |
+
"right": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 60 |
+
"gap": 100
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"left": "nwtN_10cd6cfc-6d2a-48b1-82e1-29d16dadd069",
|
| 64 |
+
"right": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 65 |
+
"gap": 120
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"left": "nwtN_ec240627-f567-42b4-a9c6-4564450e9946",
|
| 69 |
+
"right": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 70 |
+
"gap": 120
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"left": "nwtN_da2a2f8c-a185-4ffd-b577-f2c5a7680a37",
|
| 74 |
+
"right": "nwtN_2f088c82-aac6-4e48-8fde-8574a3390d24",
|
| 75 |
+
"gap": 120
|
| 76 |
+
}
|
| 77 |
+
]
|
| 78 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/unix.js
ADDED
|
@@ -0,0 +1,2868 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
unix = {
|
| 2 |
+
"elements": {
|
| 3 |
+
"nodes": [
|
| 4 |
+
{
|
| 5 |
+
"data": {
|
| 6 |
+
"id": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 7 |
+
"bbox": {
|
| 8 |
+
"x": 745.4608860015869,
|
| 9 |
+
"y": 224.05675506591797,
|
| 10 |
+
"w": 61.9814453125,
|
| 11 |
+
"h": 25
|
| 12 |
+
},
|
| 13 |
+
"class": "unspecified entity",
|
| 14 |
+
"label": "5th Edition",
|
| 15 |
+
"statesandinfos": [],
|
| 16 |
+
"language": "PD",
|
| 17 |
+
"border-width": 1.25,
|
| 18 |
+
"border-color": "#555555",
|
| 19 |
+
"background-color": "#b2dfee",
|
| 20 |
+
"background-opacity": 1,
|
| 21 |
+
"background-image-opacity": 1,
|
| 22 |
+
"text-wrap": "wrap",
|
| 23 |
+
"font-size": 11,
|
| 24 |
+
"font-family": "Helvetica",
|
| 25 |
+
"font-style": "normal",
|
| 26 |
+
"font-weight": "normal",
|
| 27 |
+
"color": "#000",
|
| 28 |
+
"ports": [],
|
| 29 |
+
"infoboxCalculated": true,
|
| 30 |
+
"auxunitlayouts": {}
|
| 31 |
+
},
|
| 32 |
+
"position": {
|
| 33 |
+
"x": 745.4608860015869,
|
| 34 |
+
"y": 224.05675506591797
|
| 35 |
+
},
|
| 36 |
+
"group": "nodes",
|
| 37 |
+
"removed": false,
|
| 38 |
+
"selected": false,
|
| 39 |
+
"selectable": true,
|
| 40 |
+
"locked": false,
|
| 41 |
+
"grabbable": true,
|
| 42 |
+
"classes": ""
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"data": {
|
| 46 |
+
"id": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 47 |
+
"bbox": {
|
| 48 |
+
"x": 873.3539436491809,
|
| 49 |
+
"y": 263.5835504727236,
|
| 50 |
+
"w": 53.40380859375,
|
| 51 |
+
"h": 25
|
| 52 |
+
},
|
| 53 |
+
"class": "unspecified entity",
|
| 54 |
+
"label": "PWB 1.0",
|
| 55 |
+
"statesandinfos": [],
|
| 56 |
+
"language": "PD",
|
| 57 |
+
"border-width": 1.25,
|
| 58 |
+
"border-color": "#555555",
|
| 59 |
+
"background-color": "#b2dfee",
|
| 60 |
+
"background-opacity": 1,
|
| 61 |
+
"background-image-opacity": 1,
|
| 62 |
+
"text-wrap": "wrap",
|
| 63 |
+
"font-size": 11,
|
| 64 |
+
"font-family": "Helvetica",
|
| 65 |
+
"font-style": "normal",
|
| 66 |
+
"font-weight": "normal",
|
| 67 |
+
"color": "#000",
|
| 68 |
+
"ports": [],
|
| 69 |
+
"infoboxCalculated": true,
|
| 70 |
+
"auxunitlayouts": {}
|
| 71 |
+
},
|
| 72 |
+
"position": {
|
| 73 |
+
"x": 873.3539436491809,
|
| 74 |
+
"y": 263.5835504727236
|
| 75 |
+
},
|
| 76 |
+
"group": "nodes",
|
| 77 |
+
"removed": false,
|
| 78 |
+
"selected": false,
|
| 79 |
+
"selectable": true,
|
| 80 |
+
"locked": false,
|
| 81 |
+
"grabbable": true,
|
| 82 |
+
"classes": ""
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"data": {
|
| 86 |
+
"id": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 87 |
+
"bbox": {
|
| 88 |
+
"x": 614.9885135227565,
|
| 89 |
+
"y": 265.72104900772746,
|
| 90 |
+
"w": 61.9814453125,
|
| 91 |
+
"h": 25
|
| 92 |
+
},
|
| 93 |
+
"class": "unspecified entity",
|
| 94 |
+
"label": "6th Edition",
|
| 95 |
+
"statesandinfos": [],
|
| 96 |
+
"language": "PD",
|
| 97 |
+
"border-width": 1.25,
|
| 98 |
+
"border-color": "#555555",
|
| 99 |
+
"background-color": "#b2dfee",
|
| 100 |
+
"background-opacity": 1,
|
| 101 |
+
"background-image-opacity": 1,
|
| 102 |
+
"text-wrap": "wrap",
|
| 103 |
+
"font-size": 11,
|
| 104 |
+
"font-family": "Helvetica",
|
| 105 |
+
"font-style": "normal",
|
| 106 |
+
"font-weight": "normal",
|
| 107 |
+
"color": "#000",
|
| 108 |
+
"ports": [],
|
| 109 |
+
"infoboxCalculated": true,
|
| 110 |
+
"auxunitlayouts": {}
|
| 111 |
+
},
|
| 112 |
+
"position": {
|
| 113 |
+
"x": 614.9885135227565,
|
| 114 |
+
"y": 265.72104900772746
|
| 115 |
+
},
|
| 116 |
+
"group": "nodes",
|
| 117 |
+
"removed": false,
|
| 118 |
+
"selected": false,
|
| 119 |
+
"selectable": true,
|
| 120 |
+
"locked": false,
|
| 121 |
+
"grabbable": true,
|
| 122 |
+
"classes": ""
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"data": {
|
| 126 |
+
"id": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 127 |
+
"bbox": {
|
| 128 |
+
"x": 480.36757192398835,
|
| 129 |
+
"y": 363.24391403339195,
|
| 130 |
+
"w": 41.79150390625,
|
| 131 |
+
"h": 25
|
| 132 |
+
},
|
| 133 |
+
"class": "unspecified entity",
|
| 134 |
+
"label": "1 BSD",
|
| 135 |
+
"statesandinfos": [],
|
| 136 |
+
"language": "PD",
|
| 137 |
+
"border-width": 1.25,
|
| 138 |
+
"border-color": "#555555",
|
| 139 |
+
"background-color": "#b2dfee",
|
| 140 |
+
"background-opacity": 1,
|
| 141 |
+
"background-image-opacity": 1,
|
| 142 |
+
"text-wrap": "wrap",
|
| 143 |
+
"font-size": 11,
|
| 144 |
+
"font-family": "Helvetica",
|
| 145 |
+
"font-style": "normal",
|
| 146 |
+
"font-weight": "normal",
|
| 147 |
+
"color": "#000",
|
| 148 |
+
"ports": [],
|
| 149 |
+
"infoboxCalculated": true,
|
| 150 |
+
"auxunitlayouts": {}
|
| 151 |
+
},
|
| 152 |
+
"position": {
|
| 153 |
+
"x": 480.36757192398835,
|
| 154 |
+
"y": 363.24391403339195
|
| 155 |
+
},
|
| 156 |
+
"group": "nodes",
|
| 157 |
+
"removed": false,
|
| 158 |
+
"selected": false,
|
| 159 |
+
"selectable": true,
|
| 160 |
+
"locked": false,
|
| 161 |
+
"grabbable": true,
|
| 162 |
+
"classes": ""
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"data": {
|
| 166 |
+
"id": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 167 |
+
"bbox": {
|
| 168 |
+
"x": 570.464197497224,
|
| 169 |
+
"y": 359.0206347096466,
|
| 170 |
+
"w": 53.419921875,
|
| 171 |
+
"h": 25
|
| 172 |
+
},
|
| 173 |
+
"class": "unspecified entity",
|
| 174 |
+
"label": "Interdata",
|
| 175 |
+
"statesandinfos": [],
|
| 176 |
+
"language": "PD",
|
| 177 |
+
"border-width": 1.25,
|
| 178 |
+
"border-color": "#555555",
|
| 179 |
+
"background-color": "#b2dfee",
|
| 180 |
+
"background-opacity": 1,
|
| 181 |
+
"background-image-opacity": 1,
|
| 182 |
+
"text-wrap": "wrap",
|
| 183 |
+
"font-size": 11,
|
| 184 |
+
"font-family": "Helvetica",
|
| 185 |
+
"font-style": "normal",
|
| 186 |
+
"font-weight": "normal",
|
| 187 |
+
"color": "#000",
|
| 188 |
+
"ports": [],
|
| 189 |
+
"infoboxCalculated": true,
|
| 190 |
+
"auxunitlayouts": {}
|
| 191 |
+
},
|
| 192 |
+
"position": {
|
| 193 |
+
"x": 570.464197497224,
|
| 194 |
+
"y": 359.0206347096466
|
| 195 |
+
},
|
| 196 |
+
"group": "nodes",
|
| 197 |
+
"removed": false,
|
| 198 |
+
"selected": false,
|
| 199 |
+
"selectable": true,
|
| 200 |
+
"locked": false,
|
| 201 |
+
"grabbable": true,
|
| 202 |
+
"classes": ""
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"data": {
|
| 206 |
+
"id": "nwtN_3f3b6234-e449-44bb-9ba8-059d1f843c98",
|
| 207 |
+
"bbox": {
|
| 208 |
+
"x": 675.1503958677858,
|
| 209 |
+
"y": 361.09076288085635,
|
| 210 |
+
"w": 55.22998046875,
|
| 211 |
+
"h": 25
|
| 212 |
+
},
|
| 213 |
+
"class": "unspecified entity",
|
| 214 |
+
"label": "Mini Unix",
|
| 215 |
+
"statesandinfos": [],
|
| 216 |
+
"language": "PD",
|
| 217 |
+
"border-width": 1.25,
|
| 218 |
+
"border-color": "#555555",
|
| 219 |
+
"background-color": "#b2dfee",
|
| 220 |
+
"background-opacity": 1,
|
| 221 |
+
"background-image-opacity": 1,
|
| 222 |
+
"text-wrap": "wrap",
|
| 223 |
+
"font-size": 11,
|
| 224 |
+
"font-family": "Helvetica",
|
| 225 |
+
"font-style": "normal",
|
| 226 |
+
"font-weight": "normal",
|
| 227 |
+
"color": "#000",
|
| 228 |
+
"ports": [],
|
| 229 |
+
"infoboxCalculated": true,
|
| 230 |
+
"auxunitlayouts": {}
|
| 231 |
+
},
|
| 232 |
+
"position": {
|
| 233 |
+
"x": 675.1503958677858,
|
| 234 |
+
"y": 361.09076288085635
|
| 235 |
+
},
|
| 236 |
+
"group": "nodes",
|
| 237 |
+
"removed": false,
|
| 238 |
+
"selected": false,
|
| 239 |
+
"selectable": true,
|
| 240 |
+
"locked": false,
|
| 241 |
+
"grabbable": true,
|
| 242 |
+
"classes": ""
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"data": {
|
| 246 |
+
"id": "nwtN_d7bbe746-9028-4268-a642-70544788d687",
|
| 247 |
+
"bbox": {
|
| 248 |
+
"x": 754.5642886596697,
|
| 249 |
+
"y": 359.6830031062747,
|
| 250 |
+
"w": 67.89501953125,
|
| 251 |
+
"h": 25
|
| 252 |
+
},
|
| 253 |
+
"class": "unspecified entity",
|
| 254 |
+
"label": "Wollongong",
|
| 255 |
+
"statesandinfos": [],
|
| 256 |
+
"language": "PD",
|
| 257 |
+
"border-width": 1.25,
|
| 258 |
+
"border-color": "#555555",
|
| 259 |
+
"background-color": "#b2dfee",
|
| 260 |
+
"background-opacity": 1,
|
| 261 |
+
"background-image-opacity": 1,
|
| 262 |
+
"text-wrap": "wrap",
|
| 263 |
+
"font-size": 11,
|
| 264 |
+
"font-family": "Helvetica",
|
| 265 |
+
"font-style": "normal",
|
| 266 |
+
"font-weight": "normal",
|
| 267 |
+
"color": "#000",
|
| 268 |
+
"ports": [],
|
| 269 |
+
"infoboxCalculated": true,
|
| 270 |
+
"auxunitlayouts": {}
|
| 271 |
+
},
|
| 272 |
+
"position": {
|
| 273 |
+
"x": 754.5642886596697,
|
| 274 |
+
"y": 359.6830031062747
|
| 275 |
+
},
|
| 276 |
+
"group": "nodes",
|
| 277 |
+
"removed": false,
|
| 278 |
+
"selected": false,
|
| 279 |
+
"selectable": true,
|
| 280 |
+
"locked": false,
|
| 281 |
+
"grabbable": true,
|
| 282 |
+
"classes": ""
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"data": {
|
| 286 |
+
"id": "nwtN_5bb0a938-c7ee-42d8-85c8-17bdc1ff0ade",
|
| 287 |
+
"bbox": {
|
| 288 |
+
"x": 830.680176631967,
|
| 289 |
+
"y": 356.14976650626585,
|
| 290 |
+
"w": 30.79150390625,
|
| 291 |
+
"h": 25
|
| 292 |
+
},
|
| 293 |
+
"class": "unspecified entity",
|
| 294 |
+
"label": "LSX",
|
| 295 |
+
"statesandinfos": [],
|
| 296 |
+
"language": "PD",
|
| 297 |
+
"border-width": 1.25,
|
| 298 |
+
"border-color": "#555555",
|
| 299 |
+
"background-color": "#b2dfee",
|
| 300 |
+
"background-opacity": 1,
|
| 301 |
+
"background-image-opacity": 1,
|
| 302 |
+
"text-wrap": "wrap",
|
| 303 |
+
"font-size": 11,
|
| 304 |
+
"font-family": "Helvetica",
|
| 305 |
+
"font-style": "normal",
|
| 306 |
+
"font-weight": "normal",
|
| 307 |
+
"color": "#000",
|
| 308 |
+
"ports": [],
|
| 309 |
+
"infoboxCalculated": true,
|
| 310 |
+
"auxunitlayouts": {}
|
| 311 |
+
},
|
| 312 |
+
"position": {
|
| 313 |
+
"x": 830.680176631967,
|
| 314 |
+
"y": 356.14976650626585
|
| 315 |
+
},
|
| 316 |
+
"group": "nodes",
|
| 317 |
+
"removed": false,
|
| 318 |
+
"selected": false,
|
| 319 |
+
"selectable": true,
|
| 320 |
+
"locked": false,
|
| 321 |
+
"grabbable": true,
|
| 322 |
+
"classes": ""
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"data": {
|
| 326 |
+
"id": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 327 |
+
"bbox": {
|
| 328 |
+
"x": 897.0524434906262,
|
| 329 |
+
"y": 351.8849756918575,
|
| 330 |
+
"w": 53.40380859375,
|
| 331 |
+
"h": 25
|
| 332 |
+
},
|
| 333 |
+
"class": "unspecified entity",
|
| 334 |
+
"label": "PWB 1.2",
|
| 335 |
+
"statesandinfos": [],
|
| 336 |
+
"language": "PD",
|
| 337 |
+
"border-width": 1.25,
|
| 338 |
+
"border-color": "#555555",
|
| 339 |
+
"background-color": "#b2dfee",
|
| 340 |
+
"background-opacity": 1,
|
| 341 |
+
"background-image-opacity": 1,
|
| 342 |
+
"text-wrap": "wrap",
|
| 343 |
+
"font-size": 11,
|
| 344 |
+
"font-family": "Helvetica",
|
| 345 |
+
"font-style": "normal",
|
| 346 |
+
"font-weight": "normal",
|
| 347 |
+
"color": "#000",
|
| 348 |
+
"ports": [],
|
| 349 |
+
"infoboxCalculated": true,
|
| 350 |
+
"auxunitlayouts": {}
|
| 351 |
+
},
|
| 352 |
+
"position": {
|
| 353 |
+
"x": 897.0524434906262,
|
| 354 |
+
"y": 351.8849756918575
|
| 355 |
+
},
|
| 356 |
+
"group": "nodes",
|
| 357 |
+
"removed": false,
|
| 358 |
+
"selected": false,
|
| 359 |
+
"selectable": true,
|
| 360 |
+
"locked": false,
|
| 361 |
+
"grabbable": true,
|
| 362 |
+
"classes": ""
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"data": {
|
| 366 |
+
"id": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 367 |
+
"bbox": {
|
| 368 |
+
"x": 975.1139251621452,
|
| 369 |
+
"y": 363.24391403339195,
|
| 370 |
+
"w": 52.1845703125,
|
| 371 |
+
"h": 25
|
| 372 |
+
},
|
| 373 |
+
"class": "unspecified entity",
|
| 374 |
+
"label": "USG 1.0",
|
| 375 |
+
"statesandinfos": [],
|
| 376 |
+
"language": "PD",
|
| 377 |
+
"border-width": 1.25,
|
| 378 |
+
"border-color": "#555555",
|
| 379 |
+
"background-color": "#b2dfee",
|
| 380 |
+
"background-opacity": 1,
|
| 381 |
+
"background-image-opacity": 1,
|
| 382 |
+
"text-wrap": "wrap",
|
| 383 |
+
"font-size": 11,
|
| 384 |
+
"font-family": "Helvetica",
|
| 385 |
+
"font-style": "normal",
|
| 386 |
+
"font-weight": "normal",
|
| 387 |
+
"color": "#000",
|
| 388 |
+
"ports": [],
|
| 389 |
+
"infoboxCalculated": true,
|
| 390 |
+
"auxunitlayouts": {}
|
| 391 |
+
},
|
| 392 |
+
"position": {
|
| 393 |
+
"x": 975.1139251621452,
|
| 394 |
+
"y": 363.24391403339195
|
| 395 |
+
},
|
| 396 |
+
"group": "nodes",
|
| 397 |
+
"removed": false,
|
| 398 |
+
"selected": false,
|
| 399 |
+
"selectable": true,
|
| 400 |
+
"locked": false,
|
| 401 |
+
"grabbable": true,
|
| 402 |
+
"classes": ""
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"data": {
|
| 406 |
+
"id": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 407 |
+
"bbox": {
|
| 408 |
+
"x": 575.2306358130835,
|
| 409 |
+
"y": 432.33043568527285,
|
| 410 |
+
"w": 61.9814453125,
|
| 411 |
+
"h": 25
|
| 412 |
+
},
|
| 413 |
+
"class": "unspecified entity",
|
| 414 |
+
"label": "7th Edition",
|
| 415 |
+
"statesandinfos": [],
|
| 416 |
+
"language": "PD",
|
| 417 |
+
"border-width": 1.25,
|
| 418 |
+
"border-color": "#555555",
|
| 419 |
+
"background-color": "#b2dfee",
|
| 420 |
+
"background-opacity": 1,
|
| 421 |
+
"background-image-opacity": 1,
|
| 422 |
+
"text-wrap": "wrap",
|
| 423 |
+
"font-size": 11,
|
| 424 |
+
"font-family": "Helvetica",
|
| 425 |
+
"font-style": "normal",
|
| 426 |
+
"font-weight": "normal",
|
| 427 |
+
"color": "#000",
|
| 428 |
+
"ports": [],
|
| 429 |
+
"infoboxCalculated": true,
|
| 430 |
+
"auxunitlayouts": {}
|
| 431 |
+
},
|
| 432 |
+
"position": {
|
| 433 |
+
"x": 575.2306358130835,
|
| 434 |
+
"y": 432.33043568527285
|
| 435 |
+
},
|
| 436 |
+
"group": "nodes",
|
| 437 |
+
"removed": false,
|
| 438 |
+
"selected": false,
|
| 439 |
+
"selectable": true,
|
| 440 |
+
"locked": false,
|
| 441 |
+
"grabbable": true,
|
| 442 |
+
"classes": ""
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"data": {
|
| 446 |
+
"id": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 447 |
+
"bbox": {
|
| 448 |
+
"x": 714.3514898595155,
|
| 449 |
+
"y": 437.0837204997799,
|
| 450 |
+
"w": 53.40380859375,
|
| 451 |
+
"h": 25
|
| 452 |
+
},
|
| 453 |
+
"class": "unspecified entity",
|
| 454 |
+
"label": "PWB 2.0",
|
| 455 |
+
"statesandinfos": [],
|
| 456 |
+
"language": "PD",
|
| 457 |
+
"border-width": 1.25,
|
| 458 |
+
"border-color": "#555555",
|
| 459 |
+
"background-color": "#b2dfee",
|
| 460 |
+
"background-opacity": 1,
|
| 461 |
+
"background-image-opacity": 1,
|
| 462 |
+
"text-wrap": "wrap",
|
| 463 |
+
"font-size": 11,
|
| 464 |
+
"font-family": "Helvetica",
|
| 465 |
+
"font-style": "normal",
|
| 466 |
+
"font-weight": "normal",
|
| 467 |
+
"color": "#000",
|
| 468 |
+
"ports": [],
|
| 469 |
+
"infoboxCalculated": true,
|
| 470 |
+
"auxunitlayouts": {}
|
| 471 |
+
},
|
| 472 |
+
"position": {
|
| 473 |
+
"x": 714.3514898595155,
|
| 474 |
+
"y": 437.0837204997799
|
| 475 |
+
},
|
| 476 |
+
"group": "nodes",
|
| 477 |
+
"removed": false,
|
| 478 |
+
"selected": false,
|
| 479 |
+
"selectable": true,
|
| 480 |
+
"locked": false,
|
| 481 |
+
"grabbable": true,
|
| 482 |
+
"classes": ""
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"data": {
|
| 486 |
+
"id": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 487 |
+
"bbox": {
|
| 488 |
+
"x": 830.1394421526015,
|
| 489 |
+
"y": 445.43869045232054,
|
| 490 |
+
"w": 52.1845703125,
|
| 491 |
+
"h": 25
|
| 492 |
+
},
|
| 493 |
+
"class": "unspecified entity",
|
| 494 |
+
"label": "USG 2.0",
|
| 495 |
+
"statesandinfos": [],
|
| 496 |
+
"language": "PD",
|
| 497 |
+
"border-width": 1.25,
|
| 498 |
+
"border-color": "#555555",
|
| 499 |
+
"background-color": "#b2dfee",
|
| 500 |
+
"background-opacity": 1,
|
| 501 |
+
"background-image-opacity": 1,
|
| 502 |
+
"text-wrap": "wrap",
|
| 503 |
+
"font-size": 11,
|
| 504 |
+
"font-family": "Helvetica",
|
| 505 |
+
"font-style": "normal",
|
| 506 |
+
"font-weight": "normal",
|
| 507 |
+
"color": "#000",
|
| 508 |
+
"ports": [],
|
| 509 |
+
"infoboxCalculated": true,
|
| 510 |
+
"auxunitlayouts": {}
|
| 511 |
+
},
|
| 512 |
+
"position": {
|
| 513 |
+
"x": 830.1394421526015,
|
| 514 |
+
"y": 445.43869045232054
|
| 515 |
+
},
|
| 516 |
+
"group": "nodes",
|
| 517 |
+
"removed": false,
|
| 518 |
+
"selected": false,
|
| 519 |
+
"selectable": true,
|
| 520 |
+
"locked": false,
|
| 521 |
+
"grabbable": true,
|
| 522 |
+
"classes": ""
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"data": {
|
| 526 |
+
"id": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 527 |
+
"bbox": {
|
| 528 |
+
"x": 971.488441986689,
|
| 529 |
+
"y": 450.36938877369727,
|
| 530 |
+
"w": 59.51611328125,
|
| 531 |
+
"h": 25
|
| 532 |
+
},
|
| 533 |
+
"class": "unspecified entity",
|
| 534 |
+
"label": "CB Unix 1",
|
| 535 |
+
"statesandinfos": [],
|
| 536 |
+
"language": "PD",
|
| 537 |
+
"border-width": 1.25,
|
| 538 |
+
"border-color": "#555555",
|
| 539 |
+
"background-color": "#b2dfee",
|
| 540 |
+
"background-opacity": 1,
|
| 541 |
+
"background-image-opacity": 1,
|
| 542 |
+
"text-wrap": "wrap",
|
| 543 |
+
"font-size": 11,
|
| 544 |
+
"font-family": "Helvetica",
|
| 545 |
+
"font-style": "normal",
|
| 546 |
+
"font-weight": "normal",
|
| 547 |
+
"color": "#000",
|
| 548 |
+
"ports": [],
|
| 549 |
+
"infoboxCalculated": true,
|
| 550 |
+
"auxunitlayouts": {}
|
| 551 |
+
},
|
| 552 |
+
"position": {
|
| 553 |
+
"x": 971.488441986689,
|
| 554 |
+
"y": 450.36938877369727
|
| 555 |
+
},
|
| 556 |
+
"group": "nodes",
|
| 557 |
+
"removed": false,
|
| 558 |
+
"selected": false,
|
| 559 |
+
"selectable": true,
|
| 560 |
+
"locked": false,
|
| 561 |
+
"grabbable": true,
|
| 562 |
+
"classes": ""
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"data": {
|
| 566 |
+
"id": "nwtN_2d9c1f24-1482-46fb-a0f4-f963ba454710",
|
| 567 |
+
"bbox": {
|
| 568 |
+
"x": 489.09801948657775,
|
| 569 |
+
"y": 530.0434239414329,
|
| 570 |
+
"w": 37.51611328125,
|
| 571 |
+
"h": 25
|
| 572 |
+
},
|
| 573 |
+
"class": "unspecified entity",
|
| 574 |
+
"label": "Xenix",
|
| 575 |
+
"statesandinfos": [],
|
| 576 |
+
"language": "PD",
|
| 577 |
+
"border-width": 1.25,
|
| 578 |
+
"border-color": "#555555",
|
| 579 |
+
"background-color": "#b2dfee",
|
| 580 |
+
"background-opacity": 1,
|
| 581 |
+
"background-image-opacity": 1,
|
| 582 |
+
"text-wrap": "wrap",
|
| 583 |
+
"font-size": 11,
|
| 584 |
+
"font-family": "Helvetica",
|
| 585 |
+
"font-style": "normal",
|
| 586 |
+
"font-weight": "normal",
|
| 587 |
+
"color": "#000",
|
| 588 |
+
"ports": [],
|
| 589 |
+
"infoboxCalculated": true,
|
| 590 |
+
"auxunitlayouts": {}
|
| 591 |
+
},
|
| 592 |
+
"position": {
|
| 593 |
+
"x": 489.09801948657775,
|
| 594 |
+
"y": 530.0434239414329
|
| 595 |
+
},
|
| 596 |
+
"group": "nodes",
|
| 597 |
+
"removed": false,
|
| 598 |
+
"selected": false,
|
| 599 |
+
"selectable": true,
|
| 600 |
+
"locked": false,
|
| 601 |
+
"grabbable": true,
|
| 602 |
+
"classes": ""
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"data": {
|
| 606 |
+
"id": "nwtN_15fb1e74-6b08-4914-95ac-ee4ecb1b7f17",
|
| 607 |
+
"bbox": {
|
| 608 |
+
"x": 605.5402906403156,
|
| 609 |
+
"y": 534.3179790370807,
|
| 610 |
+
"w": 54.32763671875,
|
| 611 |
+
"h": 25
|
| 612 |
+
},
|
| 613 |
+
"class": "unspecified entity",
|
| 614 |
+
"label": "UniPlus+",
|
| 615 |
+
"statesandinfos": [],
|
| 616 |
+
"language": "PD",
|
| 617 |
+
"border-width": 1.25,
|
| 618 |
+
"border-color": "#555555",
|
| 619 |
+
"background-color": "#b2dfee",
|
| 620 |
+
"background-opacity": 1,
|
| 621 |
+
"background-image-opacity": 1,
|
| 622 |
+
"text-wrap": "wrap",
|
| 623 |
+
"font-size": 11,
|
| 624 |
+
"font-family": "Helvetica",
|
| 625 |
+
"font-style": "normal",
|
| 626 |
+
"font-weight": "normal",
|
| 627 |
+
"color": "#000",
|
| 628 |
+
"ports": [],
|
| 629 |
+
"infoboxCalculated": true,
|
| 630 |
+
"auxunitlayouts": {}
|
| 631 |
+
},
|
| 632 |
+
"position": {
|
| 633 |
+
"x": 605.5402906403156,
|
| 634 |
+
"y": 534.3179790370807
|
| 635 |
+
},
|
| 636 |
+
"group": "nodes",
|
| 637 |
+
"removed": false,
|
| 638 |
+
"selected": false,
|
| 639 |
+
"selectable": true,
|
| 640 |
+
"locked": false,
|
| 641 |
+
"grabbable": true,
|
| 642 |
+
"classes": ""
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"data": {
|
| 646 |
+
"id": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 647 |
+
"bbox": {
|
| 648 |
+
"x": 722.9845503897996,
|
| 649 |
+
"y": 534.3179790370807,
|
| 650 |
+
"w": 30,
|
| 651 |
+
"h": 25
|
| 652 |
+
},
|
| 653 |
+
"class": "unspecified entity",
|
| 654 |
+
"label": "32V",
|
| 655 |
+
"statesandinfos": [],
|
| 656 |
+
"language": "PD",
|
| 657 |
+
"border-width": 1.25,
|
| 658 |
+
"border-color": "#555555",
|
| 659 |
+
"background-color": "#b2dfee",
|
| 660 |
+
"background-opacity": 1,
|
| 661 |
+
"background-image-opacity": 1,
|
| 662 |
+
"text-wrap": "wrap",
|
| 663 |
+
"font-size": 11,
|
| 664 |
+
"font-family": "Helvetica",
|
| 665 |
+
"font-style": "normal",
|
| 666 |
+
"font-weight": "normal",
|
| 667 |
+
"color": "#000",
|
| 668 |
+
"ports": [],
|
| 669 |
+
"infoboxCalculated": true,
|
| 670 |
+
"auxunitlayouts": {}
|
| 671 |
+
},
|
| 672 |
+
"position": {
|
| 673 |
+
"x": 722.9845503897996,
|
| 674 |
+
"y": 534.3179790370807
|
| 675 |
+
},
|
| 676 |
+
"group": "nodes",
|
| 677 |
+
"removed": false,
|
| 678 |
+
"selected": false,
|
| 679 |
+
"selectable": true,
|
| 680 |
+
"locked": false,
|
| 681 |
+
"grabbable": true,
|
| 682 |
+
"classes": ""
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"data": {
|
| 686 |
+
"id": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 687 |
+
"bbox": {
|
| 688 |
+
"x": 819.9650376071766,
|
| 689 |
+
"y": 534.3179790370807,
|
| 690 |
+
"w": 52.1845703125,
|
| 691 |
+
"h": 25
|
| 692 |
+
},
|
| 693 |
+
"class": "unspecified entity",
|
| 694 |
+
"label": "USG 3.0",
|
| 695 |
+
"statesandinfos": [],
|
| 696 |
+
"language": "PD",
|
| 697 |
+
"border-width": 1.25,
|
| 698 |
+
"border-color": "#555555",
|
| 699 |
+
"background-color": "#b2dfee",
|
| 700 |
+
"background-opacity": 1,
|
| 701 |
+
"background-image-opacity": 1,
|
| 702 |
+
"text-wrap": "wrap",
|
| 703 |
+
"font-size": 11,
|
| 704 |
+
"font-family": "Helvetica",
|
| 705 |
+
"font-style": "normal",
|
| 706 |
+
"font-weight": "normal",
|
| 707 |
+
"color": "#000",
|
| 708 |
+
"ports": [],
|
| 709 |
+
"infoboxCalculated": true,
|
| 710 |
+
"auxunitlayouts": {}
|
| 711 |
+
},
|
| 712 |
+
"position": {
|
| 713 |
+
"x": 819.9650376071766,
|
| 714 |
+
"y": 534.3179790370807
|
| 715 |
+
},
|
| 716 |
+
"group": "nodes",
|
| 717 |
+
"removed": false,
|
| 718 |
+
"selected": false,
|
| 719 |
+
"selectable": true,
|
| 720 |
+
"locked": false,
|
| 721 |
+
"grabbable": true,
|
| 722 |
+
"classes": ""
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"data": {
|
| 726 |
+
"id": "nwtN_cc15f875-f4dd-4df8-a09e-a4f2e6c8a3f5",
|
| 727 |
+
"bbox": {
|
| 728 |
+
"x": 901.8201277356048,
|
| 729 |
+
"y": 534.3179790370807,
|
| 730 |
+
"w": 67.46533203125,
|
| 731 |
+
"h": 25
|
| 732 |
+
},
|
| 733 |
+
"class": "unspecified entity",
|
| 734 |
+
"label": "Unix/TS 1.0",
|
| 735 |
+
"statesandinfos": [],
|
| 736 |
+
"language": "PD",
|
| 737 |
+
"border-width": 1.25,
|
| 738 |
+
"border-color": "#555555",
|
| 739 |
+
"background-color": "#b2dfee",
|
| 740 |
+
"background-opacity": 1,
|
| 741 |
+
"background-image-opacity": 1,
|
| 742 |
+
"text-wrap": "wrap",
|
| 743 |
+
"font-size": 11,
|
| 744 |
+
"font-family": "Helvetica",
|
| 745 |
+
"font-style": "normal",
|
| 746 |
+
"font-weight": "normal",
|
| 747 |
+
"color": "#000",
|
| 748 |
+
"ports": [],
|
| 749 |
+
"infoboxCalculated": true,
|
| 750 |
+
"auxunitlayouts": {}
|
| 751 |
+
},
|
| 752 |
+
"position": {
|
| 753 |
+
"x": 901.8201277356048,
|
| 754 |
+
"y": 534.3179790370807
|
| 755 |
+
},
|
| 756 |
+
"group": "nodes",
|
| 757 |
+
"removed": false,
|
| 758 |
+
"selected": false,
|
| 759 |
+
"selectable": true,
|
| 760 |
+
"locked": false,
|
| 761 |
+
"grabbable": true,
|
| 762 |
+
"classes": ""
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"data": {
|
| 766 |
+
"id": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 767 |
+
"bbox": {
|
| 768 |
+
"x": 978.3368424208749,
|
| 769 |
+
"y": 528.0898743533959,
|
| 770 |
+
"w": 59.51611328125,
|
| 771 |
+
"h": 25
|
| 772 |
+
},
|
| 773 |
+
"class": "unspecified entity",
|
| 774 |
+
"label": "CB Unix 2",
|
| 775 |
+
"statesandinfos": [],
|
| 776 |
+
"language": "PD",
|
| 777 |
+
"border-width": 1.25,
|
| 778 |
+
"border-color": "#555555",
|
| 779 |
+
"background-color": "#b2dfee",
|
| 780 |
+
"background-opacity": 1,
|
| 781 |
+
"background-image-opacity": 1,
|
| 782 |
+
"text-wrap": "wrap",
|
| 783 |
+
"font-size": 11,
|
| 784 |
+
"font-family": "Helvetica",
|
| 785 |
+
"font-style": "normal",
|
| 786 |
+
"font-weight": "normal",
|
| 787 |
+
"color": "#000",
|
| 788 |
+
"ports": [],
|
| 789 |
+
"infoboxCalculated": true,
|
| 790 |
+
"auxunitlayouts": {}
|
| 791 |
+
},
|
| 792 |
+
"position": {
|
| 793 |
+
"x": 978.3368424208749,
|
| 794 |
+
"y": 528.0898743533959
|
| 795 |
+
},
|
| 796 |
+
"group": "nodes",
|
| 797 |
+
"removed": false,
|
| 798 |
+
"selected": false,
|
| 799 |
+
"selectable": true,
|
| 800 |
+
"locked": false,
|
| 801 |
+
"grabbable": true,
|
| 802 |
+
"classes": ""
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"data": {
|
| 806 |
+
"id": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 807 |
+
"bbox": {
|
| 808 |
+
"x": 528.1338467145192,
|
| 809 |
+
"y": 609.9449644818243,
|
| 810 |
+
"w": 32.61767578125,
|
| 811 |
+
"h": 25
|
| 812 |
+
},
|
| 813 |
+
"class": "unspecified entity",
|
| 814 |
+
"label": "V7M",
|
| 815 |
+
"statesandinfos": [],
|
| 816 |
+
"language": "PD",
|
| 817 |
+
"border-width": 1.25,
|
| 818 |
+
"border-color": "#555555",
|
| 819 |
+
"background-color": "#b2dfee",
|
| 820 |
+
"background-opacity": 1,
|
| 821 |
+
"background-image-opacity": 1,
|
| 822 |
+
"text-wrap": "wrap",
|
| 823 |
+
"font-size": 11,
|
| 824 |
+
"font-family": "Helvetica",
|
| 825 |
+
"font-style": "normal",
|
| 826 |
+
"font-weight": "normal",
|
| 827 |
+
"color": "#000",
|
| 828 |
+
"ports": [],
|
| 829 |
+
"infoboxCalculated": true,
|
| 830 |
+
"auxunitlayouts": {}
|
| 831 |
+
},
|
| 832 |
+
"position": {
|
| 833 |
+
"x": 528.1338467145192,
|
| 834 |
+
"y": 609.9449644818243
|
| 835 |
+
},
|
| 836 |
+
"group": "nodes",
|
| 837 |
+
"removed": false,
|
| 838 |
+
"selected": false,
|
| 839 |
+
"selectable": true,
|
| 840 |
+
"locked": false,
|
| 841 |
+
"grabbable": true,
|
| 842 |
+
"classes": ""
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"data": {
|
| 846 |
+
"id": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 847 |
+
"bbox": {
|
| 848 |
+
"x": 623.3348754508435,
|
| 849 |
+
"y": 607.2757767602452,
|
| 850 |
+
"w": 41.79150390625,
|
| 851 |
+
"h": 25
|
| 852 |
+
},
|
| 853 |
+
"class": "unspecified entity",
|
| 854 |
+
"label": "3 BSD",
|
| 855 |
+
"statesandinfos": [],
|
| 856 |
+
"language": "PD",
|
| 857 |
+
"border-width": 1.25,
|
| 858 |
+
"border-color": "#555555",
|
| 859 |
+
"background-color": "#b2dfee",
|
| 860 |
+
"background-opacity": 1,
|
| 861 |
+
"background-image-opacity": 1,
|
| 862 |
+
"text-wrap": "wrap",
|
| 863 |
+
"font-size": 11,
|
| 864 |
+
"font-family": "Helvetica",
|
| 865 |
+
"font-style": "normal",
|
| 866 |
+
"font-weight": "normal",
|
| 867 |
+
"color": "#000",
|
| 868 |
+
"ports": [],
|
| 869 |
+
"infoboxCalculated": true,
|
| 870 |
+
"auxunitlayouts": {}
|
| 871 |
+
},
|
| 872 |
+
"position": {
|
| 873 |
+
"x": 623.3348754508435,
|
| 874 |
+
"y": 607.2757767602452
|
| 875 |
+
},
|
| 876 |
+
"group": "nodes",
|
| 877 |
+
"removed": false,
|
| 878 |
+
"selected": false,
|
| 879 |
+
"selectable": true,
|
| 880 |
+
"locked": false,
|
| 881 |
+
"grabbable": true,
|
| 882 |
+
"classes": ""
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"data": {
|
| 886 |
+
"id": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 887 |
+
"bbox": {
|
| 888 |
+
"x": 755.9045322892762,
|
| 889 |
+
"y": 607.2757767602452,
|
| 890 |
+
"w": 67.46533203125,
|
| 891 |
+
"h": 25
|
| 892 |
+
},
|
| 893 |
+
"class": "unspecified entity",
|
| 894 |
+
"label": "Unix/TS 3.0",
|
| 895 |
+
"statesandinfos": [],
|
| 896 |
+
"language": "PD",
|
| 897 |
+
"border-width": 1.25,
|
| 898 |
+
"border-color": "#555555",
|
| 899 |
+
"background-color": "#b2dfee",
|
| 900 |
+
"background-opacity": 1,
|
| 901 |
+
"background-image-opacity": 1,
|
| 902 |
+
"text-wrap": "wrap",
|
| 903 |
+
"font-size": 11,
|
| 904 |
+
"font-family": "Helvetica",
|
| 905 |
+
"font-style": "normal",
|
| 906 |
+
"font-weight": "normal",
|
| 907 |
+
"color": "#000",
|
| 908 |
+
"ports": [],
|
| 909 |
+
"infoboxCalculated": true,
|
| 910 |
+
"auxunitlayouts": {}
|
| 911 |
+
},
|
| 912 |
+
"position": {
|
| 913 |
+
"x": 755.9045322892762,
|
| 914 |
+
"y": 607.2757767602452
|
| 915 |
+
},
|
| 916 |
+
"group": "nodes",
|
| 917 |
+
"removed": false,
|
| 918 |
+
"selected": false,
|
| 919 |
+
"selectable": true,
|
| 920 |
+
"locked": false,
|
| 921 |
+
"grabbable": true,
|
| 922 |
+
"classes": ""
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"data": {
|
| 926 |
+
"id": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 927 |
+
"bbox": {
|
| 928 |
+
"x": 891.1433768492882,
|
| 929 |
+
"y": 603.7168597981396,
|
| 930 |
+
"w": 59.51611328125,
|
| 931 |
+
"h": 25
|
| 932 |
+
},
|
| 933 |
+
"class": "unspecified entity",
|
| 934 |
+
"label": "CB Unix 3",
|
| 935 |
+
"statesandinfos": [],
|
| 936 |
+
"language": "PD",
|
| 937 |
+
"border-width": 1.25,
|
| 938 |
+
"border-color": "#555555",
|
| 939 |
+
"background-color": "#b2dfee",
|
| 940 |
+
"background-opacity": 1,
|
| 941 |
+
"background-image-opacity": 1,
|
| 942 |
+
"text-wrap": "wrap",
|
| 943 |
+
"font-size": 11,
|
| 944 |
+
"font-family": "Helvetica",
|
| 945 |
+
"font-style": "normal",
|
| 946 |
+
"font-weight": "normal",
|
| 947 |
+
"color": "#000",
|
| 948 |
+
"ports": [],
|
| 949 |
+
"infoboxCalculated": true,
|
| 950 |
+
"auxunitlayouts": {}
|
| 951 |
+
},
|
| 952 |
+
"position": {
|
| 953 |
+
"x": 891.1433768492882,
|
| 954 |
+
"y": 603.7168597981396
|
| 955 |
+
},
|
| 956 |
+
"group": "nodes",
|
| 957 |
+
"removed": false,
|
| 958 |
+
"selected": false,
|
| 959 |
+
"selectable": true,
|
| 960 |
+
"locked": false,
|
| 961 |
+
"grabbable": true,
|
| 962 |
+
"classes": ""
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"data": {
|
| 966 |
+
"id": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 967 |
+
"bbox": {
|
| 968 |
+
"x": 702.3447390464235,
|
| 969 |
+
"y": 667.8736577760533,
|
| 970 |
+
"w": 41.79150390625,
|
| 971 |
+
"h": 25
|
| 972 |
+
},
|
| 973 |
+
"class": "unspecified entity",
|
| 974 |
+
"label": "4 BSD",
|
| 975 |
+
"statesandinfos": [],
|
| 976 |
+
"language": "PD",
|
| 977 |
+
"border-width": 1.25,
|
| 978 |
+
"border-color": "#555555",
|
| 979 |
+
"background-color": "#b2dfee",
|
| 980 |
+
"background-opacity": 1,
|
| 981 |
+
"background-image-opacity": 1,
|
| 982 |
+
"text-wrap": "wrap",
|
| 983 |
+
"font-size": 11,
|
| 984 |
+
"font-family": "Helvetica",
|
| 985 |
+
"font-style": "normal",
|
| 986 |
+
"font-weight": "normal",
|
| 987 |
+
"color": "#000",
|
| 988 |
+
"ports": [],
|
| 989 |
+
"infoboxCalculated": true,
|
| 990 |
+
"auxunitlayouts": {}
|
| 991 |
+
},
|
| 992 |
+
"position": {
|
| 993 |
+
"x": 702.3447390464235,
|
| 994 |
+
"y": 667.8736577760533
|
| 995 |
+
},
|
| 996 |
+
"group": "nodes",
|
| 997 |
+
"removed": false,
|
| 998 |
+
"selected": false,
|
| 999 |
+
"selectable": true,
|
| 1000 |
+
"locked": false,
|
| 1001 |
+
"grabbable": true,
|
| 1002 |
+
"classes": ""
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"data": {
|
| 1006 |
+
"id": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 1007 |
+
"bbox": {
|
| 1008 |
+
"x": 795.6906426110786,
|
| 1009 |
+
"y": 666.7490083355151,
|
| 1010 |
+
"w": 61.96533203125,
|
| 1011 |
+
"h": 25
|
| 1012 |
+
},
|
| 1013 |
+
"class": "unspecified entity",
|
| 1014 |
+
"label": "Unix/TS++",
|
| 1015 |
+
"statesandinfos": [],
|
| 1016 |
+
"language": "PD",
|
| 1017 |
+
"border-width": 1.25,
|
| 1018 |
+
"border-color": "#555555",
|
| 1019 |
+
"background-color": "#b2dfee",
|
| 1020 |
+
"background-opacity": 1,
|
| 1021 |
+
"background-image-opacity": 1,
|
| 1022 |
+
"text-wrap": "wrap",
|
| 1023 |
+
"font-size": 11,
|
| 1024 |
+
"font-family": "Helvetica",
|
| 1025 |
+
"font-style": "normal",
|
| 1026 |
+
"font-weight": "normal",
|
| 1027 |
+
"color": "#000",
|
| 1028 |
+
"ports": [],
|
| 1029 |
+
"infoboxCalculated": true,
|
| 1030 |
+
"auxunitlayouts": {}
|
| 1031 |
+
},
|
| 1032 |
+
"position": {
|
| 1033 |
+
"x": 795.6906426110786,
|
| 1034 |
+
"y": 666.7490083355151
|
| 1035 |
+
},
|
| 1036 |
+
"group": "nodes",
|
| 1037 |
+
"removed": false,
|
| 1038 |
+
"selected": false,
|
| 1039 |
+
"selectable": true,
|
| 1040 |
+
"locked": false,
|
| 1041 |
+
"grabbable": true,
|
| 1042 |
+
"classes": ""
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"data": {
|
| 1046 |
+
"id": "nwtN_e55d29c7-89bc-4aa0-b599-3637e141f17f",
|
| 1047 |
+
"bbox": {
|
| 1048 |
+
"x": 934.0225237972543,
|
| 1049 |
+
"y": 664.4997094544391,
|
| 1050 |
+
"w": 79.48583984375,
|
| 1051 |
+
"h": 25
|
| 1052 |
+
},
|
| 1053 |
+
"class": "unspecified entity",
|
| 1054 |
+
"label": "PDP-11 Sys V",
|
| 1055 |
+
"statesandinfos": [],
|
| 1056 |
+
"language": "PD",
|
| 1057 |
+
"border-width": 1.25,
|
| 1058 |
+
"border-color": "#555555",
|
| 1059 |
+
"background-color": "#b2dfee",
|
| 1060 |
+
"background-opacity": 1,
|
| 1061 |
+
"background-image-opacity": 1,
|
| 1062 |
+
"text-wrap": "wrap",
|
| 1063 |
+
"font-size": 11,
|
| 1064 |
+
"font-family": "Helvetica",
|
| 1065 |
+
"font-style": "normal",
|
| 1066 |
+
"font-weight": "normal",
|
| 1067 |
+
"color": "#000",
|
| 1068 |
+
"ports": [],
|
| 1069 |
+
"infoboxCalculated": true,
|
| 1070 |
+
"auxunitlayouts": {}
|
| 1071 |
+
},
|
| 1072 |
+
"position": {
|
| 1073 |
+
"x": 934.0225237972543,
|
| 1074 |
+
"y": 664.4997094544391
|
| 1075 |
+
},
|
| 1076 |
+
"group": "nodes",
|
| 1077 |
+
"removed": false,
|
| 1078 |
+
"selected": false,
|
| 1079 |
+
"selectable": true,
|
| 1080 |
+
"locked": false,
|
| 1081 |
+
"grabbable": true,
|
| 1082 |
+
"classes": ""
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"data": {
|
| 1086 |
+
"id": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 1087 |
+
"bbox": {
|
| 1088 |
+
"x": 484.16274758204827,
|
| 1089 |
+
"y": 744.3498197326381,
|
| 1090 |
+
"w": 41.79150390625,
|
| 1091 |
+
"h": 25
|
| 1092 |
+
},
|
| 1093 |
+
"class": "unspecified entity",
|
| 1094 |
+
"label": "2 BSD",
|
| 1095 |
+
"statesandinfos": [],
|
| 1096 |
+
"language": "PD",
|
| 1097 |
+
"border-width": 1.25,
|
| 1098 |
+
"border-color": "#555555",
|
| 1099 |
+
"background-color": "#b2dfee",
|
| 1100 |
+
"background-opacity": 1,
|
| 1101 |
+
"background-image-opacity": 1,
|
| 1102 |
+
"text-wrap": "wrap",
|
| 1103 |
+
"font-size": 11,
|
| 1104 |
+
"font-family": "Helvetica",
|
| 1105 |
+
"font-style": "normal",
|
| 1106 |
+
"font-weight": "normal",
|
| 1107 |
+
"color": "#000",
|
| 1108 |
+
"ports": [],
|
| 1109 |
+
"infoboxCalculated": true,
|
| 1110 |
+
"auxunitlayouts": {}
|
| 1111 |
+
},
|
| 1112 |
+
"position": {
|
| 1113 |
+
"x": 484.16274758204827,
|
| 1114 |
+
"y": 744.3498197326381
|
| 1115 |
+
},
|
| 1116 |
+
"group": "nodes",
|
| 1117 |
+
"removed": false,
|
| 1118 |
+
"selected": false,
|
| 1119 |
+
"selectable": true,
|
| 1120 |
+
"locked": false,
|
| 1121 |
+
"grabbable": true,
|
| 1122 |
+
"classes": ""
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"data": {
|
| 1126 |
+
"id": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 1127 |
+
"bbox": {
|
| 1128 |
+
"x": 606.7495366006917,
|
| 1129 |
+
"y": 739.8512219704861,
|
| 1130 |
+
"w": 50.96533203125,
|
| 1131 |
+
"h": 25
|
| 1132 |
+
},
|
| 1133 |
+
"class": "unspecified entity",
|
| 1134 |
+
"label": "4.1 BSD",
|
| 1135 |
+
"statesandinfos": [],
|
| 1136 |
+
"language": "PD",
|
| 1137 |
+
"border-width": 1.25,
|
| 1138 |
+
"border-color": "#555555",
|
| 1139 |
+
"background-color": "#b2dfee",
|
| 1140 |
+
"background-opacity": 1,
|
| 1141 |
+
"background-image-opacity": 1,
|
| 1142 |
+
"text-wrap": "wrap",
|
| 1143 |
+
"font-size": 11,
|
| 1144 |
+
"font-family": "Helvetica",
|
| 1145 |
+
"font-style": "normal",
|
| 1146 |
+
"font-weight": "normal",
|
| 1147 |
+
"color": "#000",
|
| 1148 |
+
"ports": [],
|
| 1149 |
+
"infoboxCalculated": true,
|
| 1150 |
+
"auxunitlayouts": {}
|
| 1151 |
+
},
|
| 1152 |
+
"position": {
|
| 1153 |
+
"x": 606.7495366006917,
|
| 1154 |
+
"y": 739.8512219704861
|
| 1155 |
+
},
|
| 1156 |
+
"group": "nodes",
|
| 1157 |
+
"removed": false,
|
| 1158 |
+
"selected": false,
|
| 1159 |
+
"selectable": true,
|
| 1160 |
+
"locked": false,
|
| 1161 |
+
"grabbable": true,
|
| 1162 |
+
"classes": ""
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"data": {
|
| 1166 |
+
"id": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 1167 |
+
"bbox": {
|
| 1168 |
+
"x": 795.6906426110781,
|
| 1169 |
+
"y": 735.3526242083341,
|
| 1170 |
+
"w": 42.40380859375,
|
| 1171 |
+
"h": 25
|
| 1172 |
+
},
|
| 1173 |
+
"class": "unspecified entity",
|
| 1174 |
+
"label": "TS 4.0",
|
| 1175 |
+
"statesandinfos": [],
|
| 1176 |
+
"language": "PD",
|
| 1177 |
+
"border-width": 1.25,
|
| 1178 |
+
"border-color": "#555555",
|
| 1179 |
+
"background-color": "#b2dfee",
|
| 1180 |
+
"background-opacity": 1,
|
| 1181 |
+
"background-image-opacity": 1,
|
| 1182 |
+
"text-wrap": "wrap",
|
| 1183 |
+
"font-size": 11,
|
| 1184 |
+
"font-family": "Helvetica",
|
| 1185 |
+
"font-style": "normal",
|
| 1186 |
+
"font-weight": "normal",
|
| 1187 |
+
"color": "#000",
|
| 1188 |
+
"ports": [],
|
| 1189 |
+
"infoboxCalculated": true,
|
| 1190 |
+
"auxunitlayouts": {}
|
| 1191 |
+
},
|
| 1192 |
+
"position": {
|
| 1193 |
+
"x": 795.6906426110781,
|
| 1194 |
+
"y": 735.3526242083341
|
| 1195 |
+
},
|
| 1196 |
+
"group": "nodes",
|
| 1197 |
+
"removed": false,
|
| 1198 |
+
"selected": false,
|
| 1199 |
+
"selectable": true,
|
| 1200 |
+
"locked": false,
|
| 1201 |
+
"grabbable": true,
|
| 1202 |
+
"classes": ""
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"data": {
|
| 1206 |
+
"id": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 1207 |
+
"bbox": {
|
| 1208 |
+
"x": 589.8797949926216,
|
| 1209 |
+
"y": 806.2055389622288,
|
| 1210 |
+
"w": 50.96533203125,
|
| 1211 |
+
"h": 25
|
| 1212 |
+
},
|
| 1213 |
+
"class": "unspecified entity",
|
| 1214 |
+
"label": "2.8 BSD",
|
| 1215 |
+
"statesandinfos": [],
|
| 1216 |
+
"language": "PD",
|
| 1217 |
+
"border-width": 1.25,
|
| 1218 |
+
"border-color": "#555555",
|
| 1219 |
+
"background-color": "#b2dfee",
|
| 1220 |
+
"background-opacity": 1,
|
| 1221 |
+
"background-image-opacity": 1,
|
| 1222 |
+
"text-wrap": "wrap",
|
| 1223 |
+
"font-size": 11,
|
| 1224 |
+
"font-family": "Helvetica",
|
| 1225 |
+
"font-style": "normal",
|
| 1226 |
+
"font-weight": "normal",
|
| 1227 |
+
"color": "#000",
|
| 1228 |
+
"ports": [],
|
| 1229 |
+
"infoboxCalculated": true,
|
| 1230 |
+
"auxunitlayouts": {}
|
| 1231 |
+
},
|
| 1232 |
+
"position": {
|
| 1233 |
+
"x": 589.8797949926216,
|
| 1234 |
+
"y": 806.2055389622288
|
| 1235 |
+
},
|
| 1236 |
+
"group": "nodes",
|
| 1237 |
+
"removed": false,
|
| 1238 |
+
"selected": false,
|
| 1239 |
+
"selectable": true,
|
| 1240 |
+
"locked": false,
|
| 1241 |
+
"grabbable": true,
|
| 1242 |
+
"classes": ""
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"data": {
|
| 1246 |
+
"id": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 1247 |
+
"bbox": {
|
| 1248 |
+
"x": 713.5912334518031,
|
| 1249 |
+
"y": 805.0808895216909,
|
| 1250 |
+
"w": 50.96533203125,
|
| 1251 |
+
"h": 25
|
| 1252 |
+
},
|
| 1253 |
+
"class": "unspecified entity",
|
| 1254 |
+
"label": "4.2 BSD",
|
| 1255 |
+
"statesandinfos": [],
|
| 1256 |
+
"language": "PD",
|
| 1257 |
+
"border-width": 1.25,
|
| 1258 |
+
"border-color": "#555555",
|
| 1259 |
+
"background-color": "#b2dfee",
|
| 1260 |
+
"background-opacity": 1,
|
| 1261 |
+
"background-image-opacity": 1,
|
| 1262 |
+
"text-wrap": "wrap",
|
| 1263 |
+
"font-size": 11,
|
| 1264 |
+
"font-family": "Helvetica",
|
| 1265 |
+
"font-style": "normal",
|
| 1266 |
+
"font-weight": "normal",
|
| 1267 |
+
"color": "#000",
|
| 1268 |
+
"ports": [],
|
| 1269 |
+
"infoboxCalculated": true,
|
| 1270 |
+
"auxunitlayouts": {}
|
| 1271 |
+
},
|
| 1272 |
+
"position": {
|
| 1273 |
+
"x": 713.5912334518031,
|
| 1274 |
+
"y": 805.0808895216909
|
| 1275 |
+
},
|
| 1276 |
+
"group": "nodes",
|
| 1277 |
+
"removed": false,
|
| 1278 |
+
"selected": false,
|
| 1279 |
+
"selectable": true,
|
| 1280 |
+
"locked": false,
|
| 1281 |
+
"grabbable": true,
|
| 1282 |
+
"classes": ""
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"data": {
|
| 1286 |
+
"id": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 1287 |
+
"bbox": {
|
| 1288 |
+
"x": 811.4357347786103,
|
| 1289 |
+
"y": 803.9562400811528,
|
| 1290 |
+
"w": 61.9814453125,
|
| 1291 |
+
"h": 25
|
| 1292 |
+
},
|
| 1293 |
+
"class": "unspecified entity",
|
| 1294 |
+
"label": "8th Edition",
|
| 1295 |
+
"statesandinfos": [],
|
| 1296 |
+
"language": "PD",
|
| 1297 |
+
"border-width": 1.25,
|
| 1298 |
+
"border-color": "#555555",
|
| 1299 |
+
"background-color": "#b2dfee",
|
| 1300 |
+
"background-opacity": 1,
|
| 1301 |
+
"background-image-opacity": 1,
|
| 1302 |
+
"text-wrap": "wrap",
|
| 1303 |
+
"font-size": 11,
|
| 1304 |
+
"font-family": "Helvetica",
|
| 1305 |
+
"font-style": "normal",
|
| 1306 |
+
"font-weight": "normal",
|
| 1307 |
+
"color": "#000",
|
| 1308 |
+
"ports": [],
|
| 1309 |
+
"infoboxCalculated": true,
|
| 1310 |
+
"auxunitlayouts": {}
|
| 1311 |
+
},
|
| 1312 |
+
"position": {
|
| 1313 |
+
"x": 811.4357347786103,
|
| 1314 |
+
"y": 803.9562400811528
|
| 1315 |
+
},
|
| 1316 |
+
"group": "nodes",
|
| 1317 |
+
"removed": false,
|
| 1318 |
+
"selected": false,
|
| 1319 |
+
"selectable": true,
|
| 1320 |
+
"locked": false,
|
| 1321 |
+
"grabbable": true,
|
| 1322 |
+
"classes": ""
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"data": {
|
| 1326 |
+
"id": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 1327 |
+
"bbox": {
|
| 1328 |
+
"x": 962.138759810704,
|
| 1329 |
+
"y": 801.7069412000769,
|
| 1330 |
+
"w": 65.23095703125,
|
| 1331 |
+
"h": 25
|
| 1332 |
+
},
|
| 1333 |
+
"class": "unspecified entity",
|
| 1334 |
+
"label": "System V.0",
|
| 1335 |
+
"statesandinfos": [],
|
| 1336 |
+
"language": "PD",
|
| 1337 |
+
"border-width": 1.25,
|
| 1338 |
+
"border-color": "#555555",
|
| 1339 |
+
"background-color": "#b2dfee",
|
| 1340 |
+
"background-opacity": 1,
|
| 1341 |
+
"background-image-opacity": 1,
|
| 1342 |
+
"text-wrap": "wrap",
|
| 1343 |
+
"font-size": 11,
|
| 1344 |
+
"font-family": "Helvetica",
|
| 1345 |
+
"font-style": "normal",
|
| 1346 |
+
"font-weight": "normal",
|
| 1347 |
+
"color": "#000",
|
| 1348 |
+
"ports": [],
|
| 1349 |
+
"infoboxCalculated": true,
|
| 1350 |
+
"auxunitlayouts": {}
|
| 1351 |
+
},
|
| 1352 |
+
"position": {
|
| 1353 |
+
"x": 962.138759810704,
|
| 1354 |
+
"y": 801.7069412000769
|
| 1355 |
+
},
|
| 1356 |
+
"group": "nodes",
|
| 1357 |
+
"removed": false,
|
| 1358 |
+
"selected": false,
|
| 1359 |
+
"selectable": true,
|
| 1360 |
+
"locked": false,
|
| 1361 |
+
"grabbable": true,
|
| 1362 |
+
"classes": ""
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"data": {
|
| 1366 |
+
"id": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 1367 |
+
"bbox": {
|
| 1368 |
+
"x": 553.5602026296802,
|
| 1369 |
+
"y": 881.6602158726629,
|
| 1370 |
+
"w": 50.1328125,
|
| 1371 |
+
"h": 25
|
| 1372 |
+
},
|
| 1373 |
+
"class": "unspecified entity",
|
| 1374 |
+
"label": "Ultrix-11",
|
| 1375 |
+
"statesandinfos": [],
|
| 1376 |
+
"language": "PD",
|
| 1377 |
+
"border-width": 1.25,
|
| 1378 |
+
"border-color": "#555555",
|
| 1379 |
+
"background-color": "#b2dfee",
|
| 1380 |
+
"background-opacity": 1,
|
| 1381 |
+
"background-image-opacity": 1,
|
| 1382 |
+
"text-wrap": "wrap",
|
| 1383 |
+
"font-size": 11,
|
| 1384 |
+
"font-family": "Helvetica",
|
| 1385 |
+
"font-style": "normal",
|
| 1386 |
+
"font-weight": "normal",
|
| 1387 |
+
"color": "#000",
|
| 1388 |
+
"ports": [],
|
| 1389 |
+
"infoboxCalculated": true,
|
| 1390 |
+
"auxunitlayouts": {}
|
| 1391 |
+
},
|
| 1392 |
+
"position": {
|
| 1393 |
+
"x": 553.5602026296802,
|
| 1394 |
+
"y": 881.6602158726629
|
| 1395 |
+
},
|
| 1396 |
+
"group": "nodes",
|
| 1397 |
+
"removed": false,
|
| 1398 |
+
"selected": false,
|
| 1399 |
+
"selectable": true,
|
| 1400 |
+
"locked": false,
|
| 1401 |
+
"grabbable": true,
|
| 1402 |
+
"classes": ""
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"data": {
|
| 1406 |
+
"id": "nwtN_8489a816-b7af-452f-a722-04d06226341c",
|
| 1407 |
+
"bbox": {
|
| 1408 |
+
"x": 677.1635290742751,
|
| 1409 |
+
"y": 881.6602158726629,
|
| 1410 |
+
"w": 50.96533203125,
|
| 1411 |
+
"h": 25
|
| 1412 |
+
},
|
| 1413 |
+
"class": "unspecified entity",
|
| 1414 |
+
"label": "2.9 BSD",
|
| 1415 |
+
"statesandinfos": [],
|
| 1416 |
+
"language": "PD",
|
| 1417 |
+
"border-width": 1.25,
|
| 1418 |
+
"border-color": "#555555",
|
| 1419 |
+
"background-color": "#b2dfee",
|
| 1420 |
+
"background-opacity": 1,
|
| 1421 |
+
"background-image-opacity": 1,
|
| 1422 |
+
"text-wrap": "wrap",
|
| 1423 |
+
"font-size": 11,
|
| 1424 |
+
"font-family": "Helvetica",
|
| 1425 |
+
"font-style": "normal",
|
| 1426 |
+
"font-weight": "normal",
|
| 1427 |
+
"color": "#000",
|
| 1428 |
+
"ports": [],
|
| 1429 |
+
"infoboxCalculated": true,
|
| 1430 |
+
"auxunitlayouts": {}
|
| 1431 |
+
},
|
| 1432 |
+
"position": {
|
| 1433 |
+
"x": 677.1635290742751,
|
| 1434 |
+
"y": 881.6602158726629
|
| 1435 |
+
},
|
| 1436 |
+
"group": "nodes",
|
| 1437 |
+
"removed": false,
|
| 1438 |
+
"selected": false,
|
| 1439 |
+
"selectable": true,
|
| 1440 |
+
"locked": false,
|
| 1441 |
+
"grabbable": true,
|
| 1442 |
+
"classes": ""
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"data": {
|
| 1446 |
+
"id": "nwtN_d4bf8470-416d-4387-a563-3c9cccf55079",
|
| 1447 |
+
"bbox": {
|
| 1448 |
+
"x": 785.6932791231874,
|
| 1449 |
+
"y": 881.6602158726629,
|
| 1450 |
+
"w": 50.94921875,
|
| 1451 |
+
"h": 25
|
| 1452 |
+
},
|
| 1453 |
+
"class": "unspecified entity",
|
| 1454 |
+
"label": "Ultrix-32",
|
| 1455 |
+
"statesandinfos": [],
|
| 1456 |
+
"language": "PD",
|
| 1457 |
+
"border-width": 1.25,
|
| 1458 |
+
"border-color": "#555555",
|
| 1459 |
+
"background-color": "#b2dfee",
|
| 1460 |
+
"background-opacity": 1,
|
| 1461 |
+
"background-image-opacity": 1,
|
| 1462 |
+
"text-wrap": "wrap",
|
| 1463 |
+
"font-size": 11,
|
| 1464 |
+
"font-family": "Helvetica",
|
| 1465 |
+
"font-style": "normal",
|
| 1466 |
+
"font-weight": "normal",
|
| 1467 |
+
"color": "#000",
|
| 1468 |
+
"ports": [],
|
| 1469 |
+
"infoboxCalculated": true,
|
| 1470 |
+
"auxunitlayouts": {}
|
| 1471 |
+
},
|
| 1472 |
+
"position": {
|
| 1473 |
+
"x": 785.6932791231874,
|
| 1474 |
+
"y": 881.6602158726629
|
| 1475 |
+
},
|
| 1476 |
+
"group": "nodes",
|
| 1477 |
+
"removed": false,
|
| 1478 |
+
"selected": false,
|
| 1479 |
+
"selectable": true,
|
| 1480 |
+
"locked": false,
|
| 1481 |
+
"grabbable": true,
|
| 1482 |
+
"classes": ""
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"data": {
|
| 1486 |
+
"id": "nwtN_e48d9732-8ee0-4714-8b62-8de8238ec9c2",
|
| 1487 |
+
"bbox": {
|
| 1488 |
+
"x": 867.0905916598717,
|
| 1489 |
+
"y": 880.1528582330947,
|
| 1490 |
+
"w": 50.96533203125,
|
| 1491 |
+
"h": 25
|
| 1492 |
+
},
|
| 1493 |
+
"class": "unspecified entity",
|
| 1494 |
+
"label": "4.3 BSD",
|
| 1495 |
+
"statesandinfos": [],
|
| 1496 |
+
"language": "PD",
|
| 1497 |
+
"border-width": 1.25,
|
| 1498 |
+
"border-color": "#555555",
|
| 1499 |
+
"background-color": "#b2dfee",
|
| 1500 |
+
"background-opacity": 1,
|
| 1501 |
+
"background-image-opacity": 1,
|
| 1502 |
+
"text-wrap": "wrap",
|
| 1503 |
+
"font-size": 11,
|
| 1504 |
+
"font-family": "Helvetica",
|
| 1505 |
+
"font-style": "normal",
|
| 1506 |
+
"font-weight": "normal",
|
| 1507 |
+
"color": "#000",
|
| 1508 |
+
"ports": [],
|
| 1509 |
+
"infoboxCalculated": true,
|
| 1510 |
+
"auxunitlayouts": {}
|
| 1511 |
+
},
|
| 1512 |
+
"position": {
|
| 1513 |
+
"x": 867.0905916598717,
|
| 1514 |
+
"y": 880.1528582330947
|
| 1515 |
+
},
|
| 1516 |
+
"group": "nodes",
|
| 1517 |
+
"removed": false,
|
| 1518 |
+
"selected": false,
|
| 1519 |
+
"selectable": true,
|
| 1520 |
+
"locked": false,
|
| 1521 |
+
"grabbable": true,
|
| 1522 |
+
"classes": ""
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"data": {
|
| 1526 |
+
"id": "nwtN_103a9105-ef50-47a4-b501-840a431fcbdd",
|
| 1527 |
+
"bbox": {
|
| 1528 |
+
"x": 986.1718451857619,
|
| 1529 |
+
"y": 877.1381429539582,
|
| 1530 |
+
"w": 61.9814453125,
|
| 1531 |
+
"h": 25
|
| 1532 |
+
},
|
| 1533 |
+
"class": "unspecified entity",
|
| 1534 |
+
"label": "9th Edition",
|
| 1535 |
+
"statesandinfos": [],
|
| 1536 |
+
"language": "PD",
|
| 1537 |
+
"border-width": 1.25,
|
| 1538 |
+
"border-color": "#555555",
|
| 1539 |
+
"background-color": "#b2dfee",
|
| 1540 |
+
"background-opacity": 1,
|
| 1541 |
+
"background-image-opacity": 1,
|
| 1542 |
+
"text-wrap": "wrap",
|
| 1543 |
+
"font-size": 11,
|
| 1544 |
+
"font-family": "Helvetica",
|
| 1545 |
+
"font-style": "normal",
|
| 1546 |
+
"font-weight": "normal",
|
| 1547 |
+
"color": "#000",
|
| 1548 |
+
"ports": [],
|
| 1549 |
+
"infoboxCalculated": true,
|
| 1550 |
+
"auxunitlayouts": {}
|
| 1551 |
+
},
|
| 1552 |
+
"position": {
|
| 1553 |
+
"x": 986.1718451857619,
|
| 1554 |
+
"y": 877.1381429539582
|
| 1555 |
+
},
|
| 1556 |
+
"group": "nodes",
|
| 1557 |
+
"removed": false,
|
| 1558 |
+
"selected": false,
|
| 1559 |
+
"selectable": true,
|
| 1560 |
+
"locked": false,
|
| 1561 |
+
"grabbable": true,
|
| 1562 |
+
"classes": ""
|
| 1563 |
+
},
|
| 1564 |
+
{
|
| 1565 |
+
"data": {
|
| 1566 |
+
"id": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 1567 |
+
"bbox": {
|
| 1568 |
+
"x": 1075.1059459202875,
|
| 1569 |
+
"y": 875.6307853143899,
|
| 1570 |
+
"w": 65.23095703125,
|
| 1571 |
+
"h": 25
|
| 1572 |
+
},
|
| 1573 |
+
"class": "unspecified entity",
|
| 1574 |
+
"label": "System V.2",
|
| 1575 |
+
"statesandinfos": [],
|
| 1576 |
+
"language": "PD",
|
| 1577 |
+
"border-width": 1.25,
|
| 1578 |
+
"border-color": "#555555",
|
| 1579 |
+
"background-color": "#b2dfee",
|
| 1580 |
+
"background-opacity": 1,
|
| 1581 |
+
"background-image-opacity": 1,
|
| 1582 |
+
"text-wrap": "wrap",
|
| 1583 |
+
"font-size": 11,
|
| 1584 |
+
"font-family": "Helvetica",
|
| 1585 |
+
"font-style": "normal",
|
| 1586 |
+
"font-weight": "normal",
|
| 1587 |
+
"color": "#000",
|
| 1588 |
+
"ports": [],
|
| 1589 |
+
"infoboxCalculated": true,
|
| 1590 |
+
"auxunitlayouts": {}
|
| 1591 |
+
},
|
| 1592 |
+
"position": {
|
| 1593 |
+
"x": 1075.1059459202875,
|
| 1594 |
+
"y": 875.6307853143899
|
| 1595 |
+
},
|
| 1596 |
+
"group": "nodes",
|
| 1597 |
+
"removed": false,
|
| 1598 |
+
"selected": false,
|
| 1599 |
+
"selectable": true,
|
| 1600 |
+
"locked": false,
|
| 1601 |
+
"grabbable": true,
|
| 1602 |
+
"classes": ""
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"data": {
|
| 1606 |
+
"id": "nwtN_88e20782-9221-4b12-9b62-6a6c7116a70f",
|
| 1607 |
+
"bbox": {
|
| 1608 |
+
"x": 948.4879041965561,
|
| 1609 |
+
"y": 935.925090897119,
|
| 1610 |
+
"w": 65.23095703125,
|
| 1611 |
+
"h": 25
|
| 1612 |
+
},
|
| 1613 |
+
"class": "unspecified entity",
|
| 1614 |
+
"label": "System V.3",
|
| 1615 |
+
"statesandinfos": [],
|
| 1616 |
+
"language": "PD",
|
| 1617 |
+
"border-width": 1.25,
|
| 1618 |
+
"border-color": "#555555",
|
| 1619 |
+
"background-color": "#b2dfee",
|
| 1620 |
+
"background-opacity": 1,
|
| 1621 |
+
"background-image-opacity": 1,
|
| 1622 |
+
"text-wrap": "wrap",
|
| 1623 |
+
"font-size": 11,
|
| 1624 |
+
"font-family": "Helvetica",
|
| 1625 |
+
"font-style": "normal",
|
| 1626 |
+
"font-weight": "normal",
|
| 1627 |
+
"color": "#000",
|
| 1628 |
+
"ports": [],
|
| 1629 |
+
"infoboxCalculated": true,
|
| 1630 |
+
"auxunitlayouts": {}
|
| 1631 |
+
},
|
| 1632 |
+
"position": {
|
| 1633 |
+
"x": 948.4879041965561,
|
| 1634 |
+
"y": 935.925090897119
|
| 1635 |
+
},
|
| 1636 |
+
"group": "nodes",
|
| 1637 |
+
"removed": false,
|
| 1638 |
+
"selected": false,
|
| 1639 |
+
"selectable": true,
|
| 1640 |
+
"locked": false,
|
| 1641 |
+
"grabbable": true,
|
| 1642 |
+
"classes": ""
|
| 1643 |
+
}
|
| 1644 |
+
],
|
| 1645 |
+
"edges": [
|
| 1646 |
+
{
|
| 1647 |
+
"data": {
|
| 1648 |
+
"id": "nwtE_d28e1f77-50d0-4dd8-83cc-9aa7753ec703",
|
| 1649 |
+
"class": "production",
|
| 1650 |
+
"bendPointPositions": [],
|
| 1651 |
+
"language": "PD",
|
| 1652 |
+
"line-color": "#555555",
|
| 1653 |
+
"width": 1.25,
|
| 1654 |
+
"cardinality": 0,
|
| 1655 |
+
"source": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 1656 |
+
"target": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1657 |
+
"portsource": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 1658 |
+
"porttarget": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a"
|
| 1659 |
+
},
|
| 1660 |
+
"position": {},
|
| 1661 |
+
"group": "edges",
|
| 1662 |
+
"removed": false,
|
| 1663 |
+
"selected": false,
|
| 1664 |
+
"selectable": true,
|
| 1665 |
+
"locked": false,
|
| 1666 |
+
"grabbable": true,
|
| 1667 |
+
"classes": ""
|
| 1668 |
+
},
|
| 1669 |
+
{
|
| 1670 |
+
"data": {
|
| 1671 |
+
"id": "nwtE_45a21af1-4dec-41c7-ba69-dafcff42a64e",
|
| 1672 |
+
"class": "production",
|
| 1673 |
+
"bendPointPositions": [],
|
| 1674 |
+
"language": "PD",
|
| 1675 |
+
"line-color": "#555555",
|
| 1676 |
+
"width": 1.25,
|
| 1677 |
+
"cardinality": 0,
|
| 1678 |
+
"source": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 1679 |
+
"target": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 1680 |
+
"portsource": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 1681 |
+
"porttarget": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda"
|
| 1682 |
+
},
|
| 1683 |
+
"position": {},
|
| 1684 |
+
"group": "edges",
|
| 1685 |
+
"removed": false,
|
| 1686 |
+
"selected": false,
|
| 1687 |
+
"selectable": true,
|
| 1688 |
+
"locked": false,
|
| 1689 |
+
"grabbable": true,
|
| 1690 |
+
"classes": ""
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"data": {
|
| 1694 |
+
"id": "nwtE_f13cb629-066b-4348-a85f-17f46f76323d",
|
| 1695 |
+
"class": "production",
|
| 1696 |
+
"bendPointPositions": [],
|
| 1697 |
+
"language": "PD",
|
| 1698 |
+
"line-color": "#555555",
|
| 1699 |
+
"width": 1.25,
|
| 1700 |
+
"cardinality": 0,
|
| 1701 |
+
"source": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1702 |
+
"target": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 1703 |
+
"portsource": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1704 |
+
"porttarget": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470"
|
| 1705 |
+
},
|
| 1706 |
+
"position": {},
|
| 1707 |
+
"group": "edges",
|
| 1708 |
+
"removed": false,
|
| 1709 |
+
"selected": false,
|
| 1710 |
+
"selectable": true,
|
| 1711 |
+
"locked": false,
|
| 1712 |
+
"grabbable": true,
|
| 1713 |
+
"classes": ""
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"data": {
|
| 1717 |
+
"id": "nwtE_4cc00776-906f-4046-b334-ef8ef88c561f",
|
| 1718 |
+
"class": "production",
|
| 1719 |
+
"bendPointPositions": [],
|
| 1720 |
+
"language": "PD",
|
| 1721 |
+
"line-color": "#555555",
|
| 1722 |
+
"width": 1.25,
|
| 1723 |
+
"cardinality": 0,
|
| 1724 |
+
"source": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1725 |
+
"target": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 1726 |
+
"portsource": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1727 |
+
"porttarget": "nwtN_c1880331-8411-443e-9218-87e78c057b22"
|
| 1728 |
+
},
|
| 1729 |
+
"position": {},
|
| 1730 |
+
"group": "edges",
|
| 1731 |
+
"removed": false,
|
| 1732 |
+
"selected": false,
|
| 1733 |
+
"selectable": true,
|
| 1734 |
+
"locked": false,
|
| 1735 |
+
"grabbable": true,
|
| 1736 |
+
"classes": ""
|
| 1737 |
+
},
|
| 1738 |
+
{
|
| 1739 |
+
"data": {
|
| 1740 |
+
"id": "nwtE_0d73b351-586f-44dd-b35a-f402831234ef",
|
| 1741 |
+
"class": "production",
|
| 1742 |
+
"bendPointPositions": [],
|
| 1743 |
+
"language": "PD",
|
| 1744 |
+
"line-color": "#555555",
|
| 1745 |
+
"width": 1.25,
|
| 1746 |
+
"cardinality": 0,
|
| 1747 |
+
"source": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1748 |
+
"target": "nwtN_3f3b6234-e449-44bb-9ba8-059d1f843c98",
|
| 1749 |
+
"portsource": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1750 |
+
"porttarget": "nwtN_3f3b6234-e449-44bb-9ba8-059d1f843c98"
|
| 1751 |
+
},
|
| 1752 |
+
"position": {},
|
| 1753 |
+
"group": "edges",
|
| 1754 |
+
"removed": false,
|
| 1755 |
+
"selected": false,
|
| 1756 |
+
"selectable": true,
|
| 1757 |
+
"locked": false,
|
| 1758 |
+
"grabbable": true,
|
| 1759 |
+
"classes": ""
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"data": {
|
| 1763 |
+
"id": "nwtE_f4b01e10-3d6f-484e-9af8-b2190fba1f76",
|
| 1764 |
+
"class": "production",
|
| 1765 |
+
"bendPointPositions": [],
|
| 1766 |
+
"language": "PD",
|
| 1767 |
+
"line-color": "#555555",
|
| 1768 |
+
"width": 1.25,
|
| 1769 |
+
"cardinality": 0,
|
| 1770 |
+
"source": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1771 |
+
"target": "nwtN_d7bbe746-9028-4268-a642-70544788d687",
|
| 1772 |
+
"portsource": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1773 |
+
"porttarget": "nwtN_d7bbe746-9028-4268-a642-70544788d687"
|
| 1774 |
+
},
|
| 1775 |
+
"position": {},
|
| 1776 |
+
"group": "edges",
|
| 1777 |
+
"removed": false,
|
| 1778 |
+
"selected": false,
|
| 1779 |
+
"selectable": true,
|
| 1780 |
+
"locked": false,
|
| 1781 |
+
"grabbable": true,
|
| 1782 |
+
"classes": ""
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"data": {
|
| 1786 |
+
"id": "nwtE_b6aef58e-28af-4c84-9cc0-9207baf031b6",
|
| 1787 |
+
"class": "production",
|
| 1788 |
+
"bendPointPositions": [],
|
| 1789 |
+
"language": "PD",
|
| 1790 |
+
"line-color": "#555555",
|
| 1791 |
+
"width": 1.25,
|
| 1792 |
+
"cardinality": 0,
|
| 1793 |
+
"source": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1794 |
+
"target": "nwtN_5bb0a938-c7ee-42d8-85c8-17bdc1ff0ade",
|
| 1795 |
+
"portsource": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 1796 |
+
"porttarget": "nwtN_5bb0a938-c7ee-42d8-85c8-17bdc1ff0ade"
|
| 1797 |
+
},
|
| 1798 |
+
"position": {},
|
| 1799 |
+
"group": "edges",
|
| 1800 |
+
"removed": false,
|
| 1801 |
+
"selected": false,
|
| 1802 |
+
"selectable": true,
|
| 1803 |
+
"locked": false,
|
| 1804 |
+
"grabbable": true,
|
| 1805 |
+
"classes": ""
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"data": {
|
| 1809 |
+
"id": "nwtE_201fa31f-cc64-4e2c-af7d-346da494f7fc",
|
| 1810 |
+
"class": "production",
|
| 1811 |
+
"bendPointPositions": [],
|
| 1812 |
+
"language": "PD",
|
| 1813 |
+
"line-color": "#555555",
|
| 1814 |
+
"width": 1.25,
|
| 1815 |
+
"cardinality": 0,
|
| 1816 |
+
"source": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 1817 |
+
"target": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 1818 |
+
"portsource": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 1819 |
+
"porttarget": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f"
|
| 1820 |
+
},
|
| 1821 |
+
"position": {},
|
| 1822 |
+
"group": "edges",
|
| 1823 |
+
"removed": false,
|
| 1824 |
+
"selected": false,
|
| 1825 |
+
"selectable": true,
|
| 1826 |
+
"locked": false,
|
| 1827 |
+
"grabbable": true,
|
| 1828 |
+
"classes": ""
|
| 1829 |
+
},
|
| 1830 |
+
{
|
| 1831 |
+
"data": {
|
| 1832 |
+
"id": "nwtE_723aa506-a82c-4aed-835f-84fa3be00e95",
|
| 1833 |
+
"class": "production",
|
| 1834 |
+
"bendPointPositions": [],
|
| 1835 |
+
"language": "PD",
|
| 1836 |
+
"line-color": "#555555",
|
| 1837 |
+
"width": 1.25,
|
| 1838 |
+
"cardinality": 0,
|
| 1839 |
+
"source": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 1840 |
+
"target": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 1841 |
+
"portsource": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 1842 |
+
"porttarget": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2"
|
| 1843 |
+
},
|
| 1844 |
+
"position": {},
|
| 1845 |
+
"group": "edges",
|
| 1846 |
+
"removed": false,
|
| 1847 |
+
"selected": false,
|
| 1848 |
+
"selectable": true,
|
| 1849 |
+
"locked": false,
|
| 1850 |
+
"grabbable": true,
|
| 1851 |
+
"classes": ""
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"data": {
|
| 1855 |
+
"id": "nwtE_2194eb93-f987-4f54-af50-8f4324deecab",
|
| 1856 |
+
"class": "production",
|
| 1857 |
+
"bendPointPositions": [],
|
| 1858 |
+
"language": "PD",
|
| 1859 |
+
"line-color": "#555555",
|
| 1860 |
+
"width": 1.25,
|
| 1861 |
+
"cardinality": 0,
|
| 1862 |
+
"source": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 1863 |
+
"target": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 1864 |
+
"portsource": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 1865 |
+
"porttarget": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c"
|
| 1866 |
+
},
|
| 1867 |
+
"position": {},
|
| 1868 |
+
"group": "edges",
|
| 1869 |
+
"removed": false,
|
| 1870 |
+
"selected": false,
|
| 1871 |
+
"selectable": true,
|
| 1872 |
+
"locked": false,
|
| 1873 |
+
"grabbable": true,
|
| 1874 |
+
"classes": ""
|
| 1875 |
+
},
|
| 1876 |
+
{
|
| 1877 |
+
"data": {
|
| 1878 |
+
"id": "nwtE_3b3ed0dd-5dd6-4b90-8bdb-6096cd66bc8c",
|
| 1879 |
+
"class": "production",
|
| 1880 |
+
"bendPointPositions": [],
|
| 1881 |
+
"language": "PD",
|
| 1882 |
+
"line-color": "#555555",
|
| 1883 |
+
"width": 1.25,
|
| 1884 |
+
"cardinality": 0,
|
| 1885 |
+
"source": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 1886 |
+
"target": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 1887 |
+
"portsource": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 1888 |
+
"porttarget": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a"
|
| 1889 |
+
},
|
| 1890 |
+
"position": {},
|
| 1891 |
+
"group": "edges",
|
| 1892 |
+
"removed": false,
|
| 1893 |
+
"selected": false,
|
| 1894 |
+
"selectable": true,
|
| 1895 |
+
"locked": false,
|
| 1896 |
+
"grabbable": true,
|
| 1897 |
+
"classes": ""
|
| 1898 |
+
},
|
| 1899 |
+
{
|
| 1900 |
+
"data": {
|
| 1901 |
+
"id": "nwtE_2c364c9e-3c36-4b0f-ac5a-359bc463643d",
|
| 1902 |
+
"class": "production",
|
| 1903 |
+
"bendPointPositions": [],
|
| 1904 |
+
"language": "PD",
|
| 1905 |
+
"line-color": "#555555",
|
| 1906 |
+
"width": 1.25,
|
| 1907 |
+
"cardinality": 0,
|
| 1908 |
+
"source": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 1909 |
+
"target": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 1910 |
+
"portsource": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 1911 |
+
"porttarget": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a"
|
| 1912 |
+
},
|
| 1913 |
+
"position": {},
|
| 1914 |
+
"group": "edges",
|
| 1915 |
+
"removed": false,
|
| 1916 |
+
"selected": false,
|
| 1917 |
+
"selectable": true,
|
| 1918 |
+
"locked": false,
|
| 1919 |
+
"grabbable": true,
|
| 1920 |
+
"classes": ""
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"data": {
|
| 1924 |
+
"id": "nwtE_d2f4f0c5-7301-44ac-8a63-09488b5eed93",
|
| 1925 |
+
"class": "production",
|
| 1926 |
+
"bendPointPositions": [],
|
| 1927 |
+
"language": "PD",
|
| 1928 |
+
"line-color": "#555555",
|
| 1929 |
+
"width": 1.25,
|
| 1930 |
+
"cardinality": 0,
|
| 1931 |
+
"source": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 1932 |
+
"target": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 1933 |
+
"portsource": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 1934 |
+
"porttarget": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586"
|
| 1935 |
+
},
|
| 1936 |
+
"position": {},
|
| 1937 |
+
"group": "edges",
|
| 1938 |
+
"removed": false,
|
| 1939 |
+
"selected": false,
|
| 1940 |
+
"selectable": true,
|
| 1941 |
+
"locked": false,
|
| 1942 |
+
"grabbable": true,
|
| 1943 |
+
"classes": ""
|
| 1944 |
+
},
|
| 1945 |
+
{
|
| 1946 |
+
"data": {
|
| 1947 |
+
"id": "nwtE_a9a4c0b1-f8be-4215-9f5e-0eb70fe30552",
|
| 1948 |
+
"class": "production",
|
| 1949 |
+
"bendPointPositions": [],
|
| 1950 |
+
"language": "PD",
|
| 1951 |
+
"line-color": "#555555",
|
| 1952 |
+
"width": 1.25,
|
| 1953 |
+
"cardinality": 0,
|
| 1954 |
+
"source": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 1955 |
+
"target": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 1956 |
+
"portsource": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 1957 |
+
"porttarget": "nwtN_26c73172-708d-45cc-8ba5-f29671089767"
|
| 1958 |
+
},
|
| 1959 |
+
"position": {},
|
| 1960 |
+
"group": "edges",
|
| 1961 |
+
"removed": false,
|
| 1962 |
+
"selected": false,
|
| 1963 |
+
"selectable": true,
|
| 1964 |
+
"locked": false,
|
| 1965 |
+
"grabbable": true,
|
| 1966 |
+
"classes": ""
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"data": {
|
| 1970 |
+
"id": "nwtE_383d100e-2e81-4ecd-9f3f-6d89b49ebb5e",
|
| 1971 |
+
"class": "production",
|
| 1972 |
+
"bendPointPositions": [],
|
| 1973 |
+
"language": "PD",
|
| 1974 |
+
"line-color": "#555555",
|
| 1975 |
+
"width": 1.25,
|
| 1976 |
+
"cardinality": 0,
|
| 1977 |
+
"source": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 1978 |
+
"target": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 1979 |
+
"portsource": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 1980 |
+
"porttarget": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1"
|
| 1981 |
+
},
|
| 1982 |
+
"position": {},
|
| 1983 |
+
"group": "edges",
|
| 1984 |
+
"removed": false,
|
| 1985 |
+
"selected": false,
|
| 1986 |
+
"selectable": true,
|
| 1987 |
+
"locked": false,
|
| 1988 |
+
"grabbable": true,
|
| 1989 |
+
"classes": ""
|
| 1990 |
+
},
|
| 1991 |
+
{
|
| 1992 |
+
"data": {
|
| 1993 |
+
"id": "nwtE_417a4c87-3c4c-4edd-aed0-6d5f31454e74",
|
| 1994 |
+
"class": "production",
|
| 1995 |
+
"bendPointPositions": [],
|
| 1996 |
+
"language": "PD",
|
| 1997 |
+
"line-color": "#555555",
|
| 1998 |
+
"width": 1.25,
|
| 1999 |
+
"cardinality": 0,
|
| 2000 |
+
"source": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 2001 |
+
"target": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2002 |
+
"portsource": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 2003 |
+
"porttarget": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447"
|
| 2004 |
+
},
|
| 2005 |
+
"position": {},
|
| 2006 |
+
"group": "edges",
|
| 2007 |
+
"removed": false,
|
| 2008 |
+
"selected": false,
|
| 2009 |
+
"selectable": true,
|
| 2010 |
+
"locked": false,
|
| 2011 |
+
"grabbable": true,
|
| 2012 |
+
"classes": ""
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"data": {
|
| 2016 |
+
"id": "nwtE_99ccd06d-3749-4f8d-9708-c6f68f4efeb2",
|
| 2017 |
+
"class": "production",
|
| 2018 |
+
"bendPointPositions": [],
|
| 2019 |
+
"language": "PD",
|
| 2020 |
+
"line-color": "#555555",
|
| 2021 |
+
"width": 1.25,
|
| 2022 |
+
"cardinality": 0,
|
| 2023 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2024 |
+
"target": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 2025 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2026 |
+
"porttarget": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78"
|
| 2027 |
+
},
|
| 2028 |
+
"position": {},
|
| 2029 |
+
"group": "edges",
|
| 2030 |
+
"removed": false,
|
| 2031 |
+
"selected": false,
|
| 2032 |
+
"selectable": true,
|
| 2033 |
+
"locked": false,
|
| 2034 |
+
"grabbable": true,
|
| 2035 |
+
"classes": ""
|
| 2036 |
+
},
|
| 2037 |
+
{
|
| 2038 |
+
"data": {
|
| 2039 |
+
"id": "nwtE_7c66928a-9c8d-47f2-9eaa-a5c9ba7c3da2",
|
| 2040 |
+
"class": "production",
|
| 2041 |
+
"bendPointPositions": [],
|
| 2042 |
+
"language": "PD",
|
| 2043 |
+
"line-color": "#555555",
|
| 2044 |
+
"width": 1.25,
|
| 2045 |
+
"cardinality": 0,
|
| 2046 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2047 |
+
"target": "nwtN_2d9c1f24-1482-46fb-a0f4-f963ba454710",
|
| 2048 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2049 |
+
"porttarget": "nwtN_2d9c1f24-1482-46fb-a0f4-f963ba454710"
|
| 2050 |
+
},
|
| 2051 |
+
"position": {},
|
| 2052 |
+
"group": "edges",
|
| 2053 |
+
"removed": false,
|
| 2054 |
+
"selected": false,
|
| 2055 |
+
"selectable": true,
|
| 2056 |
+
"locked": false,
|
| 2057 |
+
"grabbable": true,
|
| 2058 |
+
"classes": ""
|
| 2059 |
+
},
|
| 2060 |
+
{
|
| 2061 |
+
"data": {
|
| 2062 |
+
"id": "nwtE_46f1e73b-7bc3-4971-ac8c-62bb1941feed",
|
| 2063 |
+
"class": "production",
|
| 2064 |
+
"bendPointPositions": [],
|
| 2065 |
+
"language": "PD",
|
| 2066 |
+
"line-color": "#555555",
|
| 2067 |
+
"width": 1.25,
|
| 2068 |
+
"cardinality": 0,
|
| 2069 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2070 |
+
"target": "nwtN_15fb1e74-6b08-4914-95ac-ee4ecb1b7f17",
|
| 2071 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2072 |
+
"porttarget": "nwtN_15fb1e74-6b08-4914-95ac-ee4ecb1b7f17"
|
| 2073 |
+
},
|
| 2074 |
+
"position": {},
|
| 2075 |
+
"group": "edges",
|
| 2076 |
+
"removed": false,
|
| 2077 |
+
"selected": false,
|
| 2078 |
+
"selectable": true,
|
| 2079 |
+
"locked": false,
|
| 2080 |
+
"grabbable": true,
|
| 2081 |
+
"classes": ""
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"data": {
|
| 2085 |
+
"id": "nwtE_7611ab43-2d00-4a76-a079-265d6c61f492",
|
| 2086 |
+
"class": "production",
|
| 2087 |
+
"bendPointPositions": [],
|
| 2088 |
+
"language": "PD",
|
| 2089 |
+
"line-color": "#555555",
|
| 2090 |
+
"width": 1.25,
|
| 2091 |
+
"cardinality": 0,
|
| 2092 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2093 |
+
"target": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 2094 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2095 |
+
"porttarget": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef"
|
| 2096 |
+
},
|
| 2097 |
+
"position": {},
|
| 2098 |
+
"group": "edges",
|
| 2099 |
+
"removed": false,
|
| 2100 |
+
"selected": false,
|
| 2101 |
+
"selectable": true,
|
| 2102 |
+
"locked": false,
|
| 2103 |
+
"grabbable": true,
|
| 2104 |
+
"classes": ""
|
| 2105 |
+
},
|
| 2106 |
+
{
|
| 2107 |
+
"data": {
|
| 2108 |
+
"id": "nwtE_d2c109ec-1629-4dee-9558-36a6eb048d03",
|
| 2109 |
+
"class": "production",
|
| 2110 |
+
"bendPointPositions": [],
|
| 2111 |
+
"language": "PD",
|
| 2112 |
+
"line-color": "#555555",
|
| 2113 |
+
"width": 1.25,
|
| 2114 |
+
"cardinality": 0,
|
| 2115 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2116 |
+
"target": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 2117 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2118 |
+
"porttarget": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6"
|
| 2119 |
+
},
|
| 2120 |
+
"position": {},
|
| 2121 |
+
"group": "edges",
|
| 2122 |
+
"removed": false,
|
| 2123 |
+
"selected": false,
|
| 2124 |
+
"selectable": true,
|
| 2125 |
+
"locked": false,
|
| 2126 |
+
"grabbable": true,
|
| 2127 |
+
"classes": ""
|
| 2128 |
+
},
|
| 2129 |
+
{
|
| 2130 |
+
"data": {
|
| 2131 |
+
"id": "nwtE_79e002ad-b447-47db-b5d4-813b991d5b25",
|
| 2132 |
+
"class": "production",
|
| 2133 |
+
"bendPointPositions": [],
|
| 2134 |
+
"language": "PD",
|
| 2135 |
+
"line-color": "#555555",
|
| 2136 |
+
"width": 1.25,
|
| 2137 |
+
"cardinality": 0,
|
| 2138 |
+
"source": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2139 |
+
"target": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 2140 |
+
"portsource": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 2141 |
+
"porttarget": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70"
|
| 2142 |
+
},
|
| 2143 |
+
"position": {},
|
| 2144 |
+
"group": "edges",
|
| 2145 |
+
"removed": false,
|
| 2146 |
+
"selected": false,
|
| 2147 |
+
"selectable": true,
|
| 2148 |
+
"locked": false,
|
| 2149 |
+
"grabbable": true,
|
| 2150 |
+
"classes": ""
|
| 2151 |
+
},
|
| 2152 |
+
{
|
| 2153 |
+
"data": {
|
| 2154 |
+
"id": "nwtE_2c2e8c31-e1de-4d37-bdef-bd87bae7ba3c",
|
| 2155 |
+
"class": "production",
|
| 2156 |
+
"bendPointPositions": [],
|
| 2157 |
+
"language": "PD",
|
| 2158 |
+
"line-color": "#555555",
|
| 2159 |
+
"width": 1.25,
|
| 2160 |
+
"cardinality": 0,
|
| 2161 |
+
"source": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 2162 |
+
"target": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2163 |
+
"portsource": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 2164 |
+
"porttarget": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447"
|
| 2165 |
+
},
|
| 2166 |
+
"position": {},
|
| 2167 |
+
"group": "edges",
|
| 2168 |
+
"removed": false,
|
| 2169 |
+
"selected": false,
|
| 2170 |
+
"selectable": true,
|
| 2171 |
+
"locked": false,
|
| 2172 |
+
"grabbable": true,
|
| 2173 |
+
"classes": ""
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"data": {
|
| 2177 |
+
"id": "nwtE_a075ae00-35d6-45a9-a1ea-83155e04cb60",
|
| 2178 |
+
"class": "production",
|
| 2179 |
+
"bendPointPositions": [],
|
| 2180 |
+
"language": "PD",
|
| 2181 |
+
"line-color": "#555555",
|
| 2182 |
+
"width": 1.25,
|
| 2183 |
+
"cardinality": 0,
|
| 2184 |
+
"source": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 2185 |
+
"target": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 2186 |
+
"portsource": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 2187 |
+
"porttarget": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52"
|
| 2188 |
+
},
|
| 2189 |
+
"position": {},
|
| 2190 |
+
"group": "edges",
|
| 2191 |
+
"removed": false,
|
| 2192 |
+
"selected": false,
|
| 2193 |
+
"selectable": true,
|
| 2194 |
+
"locked": false,
|
| 2195 |
+
"grabbable": true,
|
| 2196 |
+
"classes": ""
|
| 2197 |
+
},
|
| 2198 |
+
{
|
| 2199 |
+
"data": {
|
| 2200 |
+
"id": "nwtE_7fa9dabf-6d40-403c-9b90-114047190327",
|
| 2201 |
+
"class": "production",
|
| 2202 |
+
"bendPointPositions": [],
|
| 2203 |
+
"language": "PD",
|
| 2204 |
+
"line-color": "#555555",
|
| 2205 |
+
"width": 1.25,
|
| 2206 |
+
"cardinality": 0,
|
| 2207 |
+
"source": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 2208 |
+
"target": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 2209 |
+
"portsource": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 2210 |
+
"porttarget": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718"
|
| 2211 |
+
},
|
| 2212 |
+
"position": {},
|
| 2213 |
+
"group": "edges",
|
| 2214 |
+
"removed": false,
|
| 2215 |
+
"selected": false,
|
| 2216 |
+
"selectable": true,
|
| 2217 |
+
"locked": false,
|
| 2218 |
+
"grabbable": true,
|
| 2219 |
+
"classes": ""
|
| 2220 |
+
},
|
| 2221 |
+
{
|
| 2222 |
+
"data": {
|
| 2223 |
+
"id": "nwtE_e2edca17-82fd-4b4d-84ff-e4207e6c8e3a",
|
| 2224 |
+
"class": "production",
|
| 2225 |
+
"bendPointPositions": [],
|
| 2226 |
+
"language": "PD",
|
| 2227 |
+
"line-color": "#555555",
|
| 2228 |
+
"width": 1.25,
|
| 2229 |
+
"cardinality": 0,
|
| 2230 |
+
"source": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 2231 |
+
"target": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 2232 |
+
"portsource": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 2233 |
+
"porttarget": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf"
|
| 2234 |
+
},
|
| 2235 |
+
"position": {},
|
| 2236 |
+
"group": "edges",
|
| 2237 |
+
"removed": false,
|
| 2238 |
+
"selected": false,
|
| 2239 |
+
"selectable": true,
|
| 2240 |
+
"locked": false,
|
| 2241 |
+
"grabbable": true,
|
| 2242 |
+
"classes": ""
|
| 2243 |
+
},
|
| 2244 |
+
{
|
| 2245 |
+
"data": {
|
| 2246 |
+
"id": "nwtE_d3627874-c499-40ea-b0e1-27412c1371f7",
|
| 2247 |
+
"class": "production",
|
| 2248 |
+
"bendPointPositions": [],
|
| 2249 |
+
"language": "PD",
|
| 2250 |
+
"line-color": "#555555",
|
| 2251 |
+
"width": 1.25,
|
| 2252 |
+
"cardinality": 0,
|
| 2253 |
+
"source": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 2254 |
+
"target": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2255 |
+
"portsource": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 2256 |
+
"porttarget": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447"
|
| 2257 |
+
},
|
| 2258 |
+
"position": {},
|
| 2259 |
+
"group": "edges",
|
| 2260 |
+
"removed": false,
|
| 2261 |
+
"selected": false,
|
| 2262 |
+
"selectable": true,
|
| 2263 |
+
"locked": false,
|
| 2264 |
+
"grabbable": true,
|
| 2265 |
+
"classes": ""
|
| 2266 |
+
},
|
| 2267 |
+
{
|
| 2268 |
+
"data": {
|
| 2269 |
+
"id": "nwtE_4970b017-04ed-46db-9da2-2997f72bc077",
|
| 2270 |
+
"class": "production",
|
| 2271 |
+
"bendPointPositions": [],
|
| 2272 |
+
"language": "PD",
|
| 2273 |
+
"line-color": "#555555",
|
| 2274 |
+
"width": 1.25,
|
| 2275 |
+
"cardinality": 0,
|
| 2276 |
+
"source": "nwtN_cc15f875-f4dd-4df8-a09e-a4f2e6c8a3f5",
|
| 2277 |
+
"target": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2278 |
+
"portsource": "nwtN_cc15f875-f4dd-4df8-a09e-a4f2e6c8a3f5",
|
| 2279 |
+
"porttarget": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447"
|
| 2280 |
+
},
|
| 2281 |
+
"position": {},
|
| 2282 |
+
"group": "edges",
|
| 2283 |
+
"removed": false,
|
| 2284 |
+
"selected": false,
|
| 2285 |
+
"selectable": true,
|
| 2286 |
+
"locked": false,
|
| 2287 |
+
"grabbable": true,
|
| 2288 |
+
"classes": ""
|
| 2289 |
+
},
|
| 2290 |
+
{
|
| 2291 |
+
"data": {
|
| 2292 |
+
"id": "nwtE_83dfef9b-2bb5-4dff-806c-ba14770d18ff",
|
| 2293 |
+
"class": "production",
|
| 2294 |
+
"bendPointPositions": [],
|
| 2295 |
+
"language": "PD",
|
| 2296 |
+
"line-color": "#555555",
|
| 2297 |
+
"width": 1.25,
|
| 2298 |
+
"cardinality": 0,
|
| 2299 |
+
"source": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 2300 |
+
"target": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2301 |
+
"portsource": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 2302 |
+
"porttarget": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00"
|
| 2303 |
+
},
|
| 2304 |
+
"position": {},
|
| 2305 |
+
"group": "edges",
|
| 2306 |
+
"removed": false,
|
| 2307 |
+
"selected": false,
|
| 2308 |
+
"selectable": true,
|
| 2309 |
+
"locked": false,
|
| 2310 |
+
"grabbable": true,
|
| 2311 |
+
"classes": ""
|
| 2312 |
+
},
|
| 2313 |
+
{
|
| 2314 |
+
"data": {
|
| 2315 |
+
"id": "nwtE_dccf2dd2-7e3d-4494-a350-44e93d208aca",
|
| 2316 |
+
"class": "production",
|
| 2317 |
+
"bendPointPositions": [],
|
| 2318 |
+
"language": "PD",
|
| 2319 |
+
"line-color": "#555555",
|
| 2320 |
+
"width": 1.25,
|
| 2321 |
+
"cardinality": 0,
|
| 2322 |
+
"source": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 2323 |
+
"target": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 2324 |
+
"portsource": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 2325 |
+
"porttarget": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6"
|
| 2326 |
+
},
|
| 2327 |
+
"position": {},
|
| 2328 |
+
"group": "edges",
|
| 2329 |
+
"removed": false,
|
| 2330 |
+
"selected": false,
|
| 2331 |
+
"selectable": true,
|
| 2332 |
+
"locked": false,
|
| 2333 |
+
"grabbable": true,
|
| 2334 |
+
"classes": ""
|
| 2335 |
+
},
|
| 2336 |
+
{
|
| 2337 |
+
"data": {
|
| 2338 |
+
"id": "nwtE_e73c56ef-3c0d-4204-90bd-c655f24611d8",
|
| 2339 |
+
"class": "production",
|
| 2340 |
+
"bendPointPositions": [],
|
| 2341 |
+
"language": "PD",
|
| 2342 |
+
"line-color": "#555555",
|
| 2343 |
+
"width": 1.25,
|
| 2344 |
+
"cardinality": 0,
|
| 2345 |
+
"source": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 2346 |
+
"target": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 2347 |
+
"portsource": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 2348 |
+
"porttarget": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e"
|
| 2349 |
+
},
|
| 2350 |
+
"position": {},
|
| 2351 |
+
"group": "edges",
|
| 2352 |
+
"removed": false,
|
| 2353 |
+
"selected": false,
|
| 2354 |
+
"selectable": true,
|
| 2355 |
+
"locked": false,
|
| 2356 |
+
"grabbable": true,
|
| 2357 |
+
"classes": ""
|
| 2358 |
+
},
|
| 2359 |
+
{
|
| 2360 |
+
"data": {
|
| 2361 |
+
"id": "nwtE_33545b94-a307-4857-b98a-da966e4bafea",
|
| 2362 |
+
"class": "production",
|
| 2363 |
+
"bendPointPositions": [],
|
| 2364 |
+
"language": "PD",
|
| 2365 |
+
"line-color": "#555555",
|
| 2366 |
+
"width": 1.25,
|
| 2367 |
+
"cardinality": 0,
|
| 2368 |
+
"source": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2369 |
+
"target": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 2370 |
+
"portsource": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 2371 |
+
"porttarget": "nwtN_a68571c0-2669-4894-aa53-332555f625a2"
|
| 2372 |
+
},
|
| 2373 |
+
"position": {},
|
| 2374 |
+
"group": "edges",
|
| 2375 |
+
"removed": false,
|
| 2376 |
+
"selected": false,
|
| 2377 |
+
"selectable": true,
|
| 2378 |
+
"locked": false,
|
| 2379 |
+
"grabbable": true,
|
| 2380 |
+
"classes": ""
|
| 2381 |
+
},
|
| 2382 |
+
{
|
| 2383 |
+
"data": {
|
| 2384 |
+
"id": "nwtE_5fc7ce04-7148-494b-9149-01369f6a6540",
|
| 2385 |
+
"class": "production",
|
| 2386 |
+
"bendPointPositions": [],
|
| 2387 |
+
"language": "PD",
|
| 2388 |
+
"line-color": "#555555",
|
| 2389 |
+
"width": 1.25,
|
| 2390 |
+
"cardinality": 0,
|
| 2391 |
+
"source": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2392 |
+
"target": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 2393 |
+
"portsource": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2394 |
+
"porttarget": "nwtN_a68571c0-2669-4894-aa53-332555f625a2"
|
| 2395 |
+
},
|
| 2396 |
+
"position": {},
|
| 2397 |
+
"group": "edges",
|
| 2398 |
+
"removed": false,
|
| 2399 |
+
"selected": false,
|
| 2400 |
+
"selectable": true,
|
| 2401 |
+
"locked": false,
|
| 2402 |
+
"grabbable": true,
|
| 2403 |
+
"classes": ""
|
| 2404 |
+
},
|
| 2405 |
+
{
|
| 2406 |
+
"data": {
|
| 2407 |
+
"id": "nwtE_c4634dd2-0836-4233-aac6-682115595ae0",
|
| 2408 |
+
"class": "production",
|
| 2409 |
+
"bendPointPositions": [],
|
| 2410 |
+
"language": "PD",
|
| 2411 |
+
"line-color": "#555555",
|
| 2412 |
+
"width": 1.25,
|
| 2413 |
+
"cardinality": 0,
|
| 2414 |
+
"source": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2415 |
+
"target": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 2416 |
+
"portsource": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2417 |
+
"porttarget": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1"
|
| 2418 |
+
},
|
| 2419 |
+
"position": {},
|
| 2420 |
+
"group": "edges",
|
| 2421 |
+
"removed": false,
|
| 2422 |
+
"selected": false,
|
| 2423 |
+
"selectable": true,
|
| 2424 |
+
"locked": false,
|
| 2425 |
+
"grabbable": true,
|
| 2426 |
+
"classes": ""
|
| 2427 |
+
},
|
| 2428 |
+
{
|
| 2429 |
+
"data": {
|
| 2430 |
+
"id": "nwtE_68a9509d-915d-4383-9130-7bc54ba793e1",
|
| 2431 |
+
"class": "production",
|
| 2432 |
+
"bendPointPositions": [],
|
| 2433 |
+
"language": "PD",
|
| 2434 |
+
"line-color": "#555555",
|
| 2435 |
+
"width": 1.25,
|
| 2436 |
+
"cardinality": 0,
|
| 2437 |
+
"source": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2438 |
+
"target": "nwtN_e55d29c7-89bc-4aa0-b599-3637e141f17f",
|
| 2439 |
+
"portsource": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 2440 |
+
"porttarget": "nwtN_e55d29c7-89bc-4aa0-b599-3637e141f17f"
|
| 2441 |
+
},
|
| 2442 |
+
"position": {},
|
| 2443 |
+
"group": "edges",
|
| 2444 |
+
"removed": false,
|
| 2445 |
+
"selected": false,
|
| 2446 |
+
"selectable": true,
|
| 2447 |
+
"locked": false,
|
| 2448 |
+
"grabbable": true,
|
| 2449 |
+
"classes": ""
|
| 2450 |
+
},
|
| 2451 |
+
{
|
| 2452 |
+
"data": {
|
| 2453 |
+
"id": "nwtE_92776f19-3134-4507-9e3e-25ee1f13ed31",
|
| 2454 |
+
"class": "production",
|
| 2455 |
+
"bendPointPositions": [],
|
| 2456 |
+
"language": "PD",
|
| 2457 |
+
"line-color": "#555555",
|
| 2458 |
+
"width": 1.25,
|
| 2459 |
+
"cardinality": 0,
|
| 2460 |
+
"source": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 2461 |
+
"target": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 2462 |
+
"portsource": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 2463 |
+
"porttarget": "nwtN_a68571c0-2669-4894-aa53-332555f625a2"
|
| 2464 |
+
},
|
| 2465 |
+
"position": {},
|
| 2466 |
+
"group": "edges",
|
| 2467 |
+
"removed": false,
|
| 2468 |
+
"selected": false,
|
| 2469 |
+
"selectable": true,
|
| 2470 |
+
"locked": false,
|
| 2471 |
+
"grabbable": true,
|
| 2472 |
+
"classes": ""
|
| 2473 |
+
},
|
| 2474 |
+
{
|
| 2475 |
+
"data": {
|
| 2476 |
+
"id": "nwtE_ad40e7b6-663f-47fd-bd71-9f62a69e150f",
|
| 2477 |
+
"class": "production",
|
| 2478 |
+
"bendPointPositions": [],
|
| 2479 |
+
"language": "PD",
|
| 2480 |
+
"line-color": "#555555",
|
| 2481 |
+
"width": 1.25,
|
| 2482 |
+
"cardinality": 0,
|
| 2483 |
+
"source": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 2484 |
+
"target": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2485 |
+
"portsource": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 2486 |
+
"porttarget": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6"
|
| 2487 |
+
},
|
| 2488 |
+
"position": {},
|
| 2489 |
+
"group": "edges",
|
| 2490 |
+
"removed": false,
|
| 2491 |
+
"selected": false,
|
| 2492 |
+
"selectable": true,
|
| 2493 |
+
"locked": false,
|
| 2494 |
+
"grabbable": true,
|
| 2495 |
+
"classes": ""
|
| 2496 |
+
},
|
| 2497 |
+
{
|
| 2498 |
+
"data": {
|
| 2499 |
+
"id": "nwtE_53912bce-3324-4ebc-b546-811274f6241b",
|
| 2500 |
+
"class": "production",
|
| 2501 |
+
"bendPointPositions": [],
|
| 2502 |
+
"language": "PD",
|
| 2503 |
+
"line-color": "#555555",
|
| 2504 |
+
"width": 1.25,
|
| 2505 |
+
"cardinality": 0,
|
| 2506 |
+
"source": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 2507 |
+
"target": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2508 |
+
"portsource": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 2509 |
+
"porttarget": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4"
|
| 2510 |
+
},
|
| 2511 |
+
"position": {},
|
| 2512 |
+
"group": "edges",
|
| 2513 |
+
"removed": false,
|
| 2514 |
+
"selected": false,
|
| 2515 |
+
"selectable": true,
|
| 2516 |
+
"locked": false,
|
| 2517 |
+
"grabbable": true,
|
| 2518 |
+
"classes": ""
|
| 2519 |
+
},
|
| 2520 |
+
{
|
| 2521 |
+
"data": {
|
| 2522 |
+
"id": "nwtE_6f66b3a9-e004-44c0-a4c7-181bf848f589",
|
| 2523 |
+
"class": "production",
|
| 2524 |
+
"bendPointPositions": [],
|
| 2525 |
+
"language": "PD",
|
| 2526 |
+
"line-color": "#555555",
|
| 2527 |
+
"width": 1.25,
|
| 2528 |
+
"cardinality": 0,
|
| 2529 |
+
"source": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2530 |
+
"target": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2531 |
+
"portsource": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2532 |
+
"porttarget": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4"
|
| 2533 |
+
},
|
| 2534 |
+
"position": {},
|
| 2535 |
+
"group": "edges",
|
| 2536 |
+
"removed": false,
|
| 2537 |
+
"selected": false,
|
| 2538 |
+
"selectable": true,
|
| 2539 |
+
"locked": false,
|
| 2540 |
+
"grabbable": true,
|
| 2541 |
+
"classes": ""
|
| 2542 |
+
},
|
| 2543 |
+
{
|
| 2544 |
+
"data": {
|
| 2545 |
+
"id": "nwtE_34095a70-144b-4a4f-a4e2-af92648e3232",
|
| 2546 |
+
"class": "production",
|
| 2547 |
+
"bendPointPositions": [],
|
| 2548 |
+
"language": "PD",
|
| 2549 |
+
"line-color": "#555555",
|
| 2550 |
+
"width": 1.25,
|
| 2551 |
+
"cardinality": 0,
|
| 2552 |
+
"source": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2553 |
+
"target": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 2554 |
+
"portsource": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2555 |
+
"porttarget": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c"
|
| 2556 |
+
},
|
| 2557 |
+
"position": {},
|
| 2558 |
+
"group": "edges",
|
| 2559 |
+
"removed": false,
|
| 2560 |
+
"selected": false,
|
| 2561 |
+
"selectable": true,
|
| 2562 |
+
"locked": false,
|
| 2563 |
+
"grabbable": true,
|
| 2564 |
+
"classes": ""
|
| 2565 |
+
},
|
| 2566 |
+
{
|
| 2567 |
+
"data": {
|
| 2568 |
+
"id": "nwtE_f3b6782d-688f-4109-b46f-02a81c999820",
|
| 2569 |
+
"class": "production",
|
| 2570 |
+
"bendPointPositions": [],
|
| 2571 |
+
"language": "PD",
|
| 2572 |
+
"line-color": "#555555",
|
| 2573 |
+
"width": 1.25,
|
| 2574 |
+
"cardinality": 0,
|
| 2575 |
+
"source": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2576 |
+
"target": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 2577 |
+
"portsource": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 2578 |
+
"porttarget": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70"
|
| 2579 |
+
},
|
| 2580 |
+
"position": {},
|
| 2581 |
+
"group": "edges",
|
| 2582 |
+
"removed": false,
|
| 2583 |
+
"selected": false,
|
| 2584 |
+
"selectable": true,
|
| 2585 |
+
"locked": false,
|
| 2586 |
+
"grabbable": true,
|
| 2587 |
+
"classes": ""
|
| 2588 |
+
},
|
| 2589 |
+
{
|
| 2590 |
+
"data": {
|
| 2591 |
+
"id": "nwtE_b0eb5b9b-e0be-46a1-a449-42fb67bfb0bd",
|
| 2592 |
+
"class": "production",
|
| 2593 |
+
"bendPointPositions": [],
|
| 2594 |
+
"language": "PD",
|
| 2595 |
+
"line-color": "#555555",
|
| 2596 |
+
"width": 1.25,
|
| 2597 |
+
"cardinality": 0,
|
| 2598 |
+
"source": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 2599 |
+
"target": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 2600 |
+
"portsource": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 2601 |
+
"porttarget": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c"
|
| 2602 |
+
},
|
| 2603 |
+
"position": {},
|
| 2604 |
+
"group": "edges",
|
| 2605 |
+
"removed": false,
|
| 2606 |
+
"selected": false,
|
| 2607 |
+
"selectable": true,
|
| 2608 |
+
"locked": false,
|
| 2609 |
+
"grabbable": true,
|
| 2610 |
+
"classes": ""
|
| 2611 |
+
},
|
| 2612 |
+
{
|
| 2613 |
+
"data": {
|
| 2614 |
+
"id": "nwtE_94d8d0fa-0a5e-4c77-95f1-fb220cc0a2c0",
|
| 2615 |
+
"class": "production",
|
| 2616 |
+
"bendPointPositions": [],
|
| 2617 |
+
"language": "PD",
|
| 2618 |
+
"line-color": "#555555",
|
| 2619 |
+
"width": 1.25,
|
| 2620 |
+
"cardinality": 0,
|
| 2621 |
+
"source": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2622 |
+
"target": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 2623 |
+
"portsource": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2624 |
+
"porttarget": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6"
|
| 2625 |
+
},
|
| 2626 |
+
"position": {},
|
| 2627 |
+
"group": "edges",
|
| 2628 |
+
"removed": false,
|
| 2629 |
+
"selected": false,
|
| 2630 |
+
"selectable": true,
|
| 2631 |
+
"locked": false,
|
| 2632 |
+
"grabbable": true,
|
| 2633 |
+
"classes": ""
|
| 2634 |
+
},
|
| 2635 |
+
{
|
| 2636 |
+
"data": {
|
| 2637 |
+
"id": "nwtE_220574ce-1557-4fd7-991b-7fb957d4dc23",
|
| 2638 |
+
"class": "production",
|
| 2639 |
+
"bendPointPositions": [],
|
| 2640 |
+
"language": "PD",
|
| 2641 |
+
"line-color": "#555555",
|
| 2642 |
+
"width": 1.25,
|
| 2643 |
+
"cardinality": 0,
|
| 2644 |
+
"source": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2645 |
+
"target": "nwtN_8489a816-b7af-452f-a722-04d06226341c",
|
| 2646 |
+
"portsource": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 2647 |
+
"porttarget": "nwtN_8489a816-b7af-452f-a722-04d06226341c"
|
| 2648 |
+
},
|
| 2649 |
+
"position": {},
|
| 2650 |
+
"group": "edges",
|
| 2651 |
+
"removed": false,
|
| 2652 |
+
"selected": false,
|
| 2653 |
+
"selectable": true,
|
| 2654 |
+
"locked": false,
|
| 2655 |
+
"grabbable": true,
|
| 2656 |
+
"classes": ""
|
| 2657 |
+
},
|
| 2658 |
+
{
|
| 2659 |
+
"data": {
|
| 2660 |
+
"id": "nwtE_ea01de09-12e1-4d7f-9199-c5d500e03156",
|
| 2661 |
+
"class": "production",
|
| 2662 |
+
"bendPointPositions": [],
|
| 2663 |
+
"language": "PD",
|
| 2664 |
+
"line-color": "#555555",
|
| 2665 |
+
"width": 1.25,
|
| 2666 |
+
"cardinality": 0,
|
| 2667 |
+
"source": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 2668 |
+
"target": "nwtN_d4bf8470-416d-4387-a563-3c9cccf55079",
|
| 2669 |
+
"portsource": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 2670 |
+
"porttarget": "nwtN_d4bf8470-416d-4387-a563-3c9cccf55079"
|
| 2671 |
+
},
|
| 2672 |
+
"position": {},
|
| 2673 |
+
"group": "edges",
|
| 2674 |
+
"removed": false,
|
| 2675 |
+
"selected": false,
|
| 2676 |
+
"selectable": true,
|
| 2677 |
+
"locked": false,
|
| 2678 |
+
"grabbable": true,
|
| 2679 |
+
"classes": ""
|
| 2680 |
+
},
|
| 2681 |
+
{
|
| 2682 |
+
"data": {
|
| 2683 |
+
"id": "nwtE_ae8ff556-7256-4524-aaa7-544077572cd4",
|
| 2684 |
+
"class": "production",
|
| 2685 |
+
"bendPointPositions": [],
|
| 2686 |
+
"language": "PD",
|
| 2687 |
+
"line-color": "#555555",
|
| 2688 |
+
"width": 1.25,
|
| 2689 |
+
"cardinality": 0,
|
| 2690 |
+
"source": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 2691 |
+
"target": "nwtN_e48d9732-8ee0-4714-8b62-8de8238ec9c2",
|
| 2692 |
+
"portsource": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 2693 |
+
"porttarget": "nwtN_e48d9732-8ee0-4714-8b62-8de8238ec9c2"
|
| 2694 |
+
},
|
| 2695 |
+
"position": {},
|
| 2696 |
+
"group": "edges",
|
| 2697 |
+
"removed": false,
|
| 2698 |
+
"selected": false,
|
| 2699 |
+
"selectable": true,
|
| 2700 |
+
"locked": false,
|
| 2701 |
+
"grabbable": true,
|
| 2702 |
+
"classes": ""
|
| 2703 |
+
},
|
| 2704 |
+
{
|
| 2705 |
+
"data": {
|
| 2706 |
+
"id": "nwtE_94b09aad-22ef-42a3-ae0e-58dde4cae4ee",
|
| 2707 |
+
"class": "production",
|
| 2708 |
+
"bendPointPositions": [],
|
| 2709 |
+
"language": "PD",
|
| 2710 |
+
"line-color": "#555555",
|
| 2711 |
+
"width": 1.25,
|
| 2712 |
+
"cardinality": 0,
|
| 2713 |
+
"source": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 2714 |
+
"target": "nwtN_103a9105-ef50-47a4-b501-840a431fcbdd",
|
| 2715 |
+
"portsource": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 2716 |
+
"porttarget": "nwtN_103a9105-ef50-47a4-b501-840a431fcbdd"
|
| 2717 |
+
},
|
| 2718 |
+
"position": {},
|
| 2719 |
+
"group": "edges",
|
| 2720 |
+
"removed": false,
|
| 2721 |
+
"selected": false,
|
| 2722 |
+
"selectable": true,
|
| 2723 |
+
"locked": false,
|
| 2724 |
+
"grabbable": true,
|
| 2725 |
+
"classes": ""
|
| 2726 |
+
},
|
| 2727 |
+
{
|
| 2728 |
+
"data": {
|
| 2729 |
+
"id": "nwtE_80ab6732-05f6-498b-8ce0-6502661e49b0",
|
| 2730 |
+
"class": "production",
|
| 2731 |
+
"bendPointPositions": [],
|
| 2732 |
+
"language": "PD",
|
| 2733 |
+
"line-color": "#555555",
|
| 2734 |
+
"width": 1.25,
|
| 2735 |
+
"cardinality": 0,
|
| 2736 |
+
"source": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 2737 |
+
"target": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 2738 |
+
"portsource": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 2739 |
+
"porttarget": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42"
|
| 2740 |
+
},
|
| 2741 |
+
"position": {},
|
| 2742 |
+
"group": "edges",
|
| 2743 |
+
"removed": false,
|
| 2744 |
+
"selected": false,
|
| 2745 |
+
"selectable": true,
|
| 2746 |
+
"locked": false,
|
| 2747 |
+
"grabbable": true,
|
| 2748 |
+
"classes": ""
|
| 2749 |
+
},
|
| 2750 |
+
{
|
| 2751 |
+
"data": {
|
| 2752 |
+
"id": "nwtE_1b3ef389-19ea-4bf6-b664-ec393b397649",
|
| 2753 |
+
"class": "production",
|
| 2754 |
+
"bendPointPositions": [],
|
| 2755 |
+
"language": "PD",
|
| 2756 |
+
"line-color": "#555555",
|
| 2757 |
+
"width": 1.25,
|
| 2758 |
+
"cardinality": 0,
|
| 2759 |
+
"source": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 2760 |
+
"target": "nwtN_88e20782-9221-4b12-9b62-6a6c7116a70f",
|
| 2761 |
+
"portsource": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 2762 |
+
"porttarget": "nwtN_88e20782-9221-4b12-9b62-6a6c7116a70f"
|
| 2763 |
+
},
|
| 2764 |
+
"position": {},
|
| 2765 |
+
"group": "edges",
|
| 2766 |
+
"removed": false,
|
| 2767 |
+
"selected": false,
|
| 2768 |
+
"selectable": true,
|
| 2769 |
+
"locked": false,
|
| 2770 |
+
"grabbable": true,
|
| 2771 |
+
"classes": ""
|
| 2772 |
+
}
|
| 2773 |
+
]
|
| 2774 |
+
},
|
| 2775 |
+
"style": [
|
| 2776 |
+
{
|
| 2777 |
+
"selector": "node",
|
| 2778 |
+
"style": {
|
| 2779 |
+
"shape": "rectangle",
|
| 2780 |
+
"text-halign": "center",
|
| 2781 |
+
"text-valign": "center",
|
| 2782 |
+
"background-color": "#b2dfee",
|
| 2783 |
+
"opacity": "1",
|
| 2784 |
+
"border-color": "#555555"
|
| 2785 |
+
}
|
| 2786 |
+
},
|
| 2787 |
+
{
|
| 2788 |
+
"selector": "node[class = 'simple chemical']",
|
| 2789 |
+
"style": {
|
| 2790 |
+
"shape": "ellipse"
|
| 2791 |
+
}
|
| 2792 |
+
},
|
| 2793 |
+
{
|
| 2794 |
+
"selector": "node[class = 'macromolecule']",
|
| 2795 |
+
"style": {
|
| 2796 |
+
"shape": "roundrectangle"
|
| 2797 |
+
}
|
| 2798 |
+
},
|
| 2799 |
+
{
|
| 2800 |
+
"selector": "node[class = 'unspecified entity']",
|
| 2801 |
+
"style": {
|
| 2802 |
+
"shape": "ellipse"
|
| 2803 |
+
}
|
| 2804 |
+
},
|
| 2805 |
+
{
|
| 2806 |
+
"selector": ":parent",
|
| 2807 |
+
"style": {
|
| 2808 |
+
"background-opacity": "0.333",
|
| 2809 |
+
"text-valign": "bottom",
|
| 2810 |
+
"shape": "barrel",
|
| 2811 |
+
"text-margin-y": "2px",
|
| 2812 |
+
"font-weight" : "bold",
|
| 2813 |
+
"border-color": "#555555"
|
| 2814 |
+
}
|
| 2815 |
+
},
|
| 2816 |
+
{
|
| 2817 |
+
"selector": "node:selected",
|
| 2818 |
+
"style": {
|
| 2819 |
+
"background-color": "#33ff00",
|
| 2820 |
+
"border-color": "#22ee00"
|
| 2821 |
+
}
|
| 2822 |
+
},
|
| 2823 |
+
{
|
| 2824 |
+
"selector": "edge",
|
| 2825 |
+
"style": {
|
| 2826 |
+
"curve-style": "bezier",
|
| 2827 |
+
"width": "2px",
|
| 2828 |
+
"line-color": "rgb(58,126,207)",
|
| 2829 |
+
"opacity": "1",
|
| 2830 |
+
"target-arrow-shape": "triangle",
|
| 2831 |
+
"target-arrow-color": "rgb(58,126,207)"
|
| 2832 |
+
}
|
| 2833 |
+
},
|
| 2834 |
+
{
|
| 2835 |
+
"selector": "edge:selected",
|
| 2836 |
+
"style": {
|
| 2837 |
+
"line-color": "#33ff00",
|
| 2838 |
+
"font-size": "13px",
|
| 2839 |
+
"text-opacity": "1",
|
| 2840 |
+
"text-rotation": "autorotate",
|
| 2841 |
+
"color": "#33ff00",
|
| 2842 |
+
"font-weight": "bold",
|
| 2843 |
+
"text-background-shape": "roundrectangle",
|
| 2844 |
+
"text-background-opacity": "1",
|
| 2845 |
+
"text-background-padding": "2px",
|
| 2846 |
+
"target-arrow-shape": "triangle",
|
| 2847 |
+
"target-arrow-color": "#33ff00"
|
| 2848 |
+
}
|
| 2849 |
+
}
|
| 2850 |
+
],
|
| 2851 |
+
"zoomingEnabled": true,
|
| 2852 |
+
"userZoomingEnabled": true,
|
| 2853 |
+
"zoom": 0.8336504719979256,
|
| 2854 |
+
"minZoom": 0.125,
|
| 2855 |
+
"maxZoom": 16,
|
| 2856 |
+
"panningEnabled": true,
|
| 2857 |
+
"userPanningEnabled": true,
|
| 2858 |
+
"pan": {
|
| 2859 |
+
"x": -17.245693955834554,
|
| 2860 |
+
"y": -155.00970669805537
|
| 2861 |
+
},
|
| 2862 |
+
"boxSelectionEnabled": true,
|
| 2863 |
+
"renderer": {
|
| 2864 |
+
"name": "canvas"
|
| 2865 |
+
},
|
| 2866 |
+
"wheelSensitivity": 0.1,
|
| 2867 |
+
"motionBlur": true
|
| 2868 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/unix_constraints.js
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
"top": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 5 |
+
"bottom": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 6 |
+
"gap": 76.25
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"top": "nwtN_4451c335-4668-4f8d-9f71-274aa2e6ab06",
|
| 10 |
+
"bottom": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 11 |
+
"gap": 76.25
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"top": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 15 |
+
"bottom": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 16 |
+
"gap": 76.25
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"top": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 20 |
+
"bottom": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 21 |
+
"gap": 76.25
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"top": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 25 |
+
"bottom": "nwtN_3f3b6234-e449-44bb-9ba8-059d1f843c98",
|
| 26 |
+
"gap": 76.25
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"top": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 30 |
+
"bottom": "nwtN_d7bbe746-9028-4268-a642-70544788d687",
|
| 31 |
+
"gap": 76.25
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"top": "nwtN_8d99e7af-1b2f-4605-a381-ce3127b6199a",
|
| 35 |
+
"bottom": "nwtN_5bb0a938-c7ee-42d8-85c8-17bdc1ff0ade",
|
| 36 |
+
"gap": 76.25
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"top": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 40 |
+
"bottom": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 41 |
+
"gap": 76.25
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"top": "nwtN_37220ed2-0cbe-4d1f-9cac-07dfb11d6eda",
|
| 45 |
+
"bottom": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 46 |
+
"gap": 76.25
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"top": "nwtN_020b84b2-717f-4465-b716-7520e5c9c470",
|
| 50 |
+
"bottom": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 51 |
+
"gap": 76.25
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"top": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 55 |
+
"bottom": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 56 |
+
"gap": 76.25
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"top": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 60 |
+
"bottom": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 61 |
+
"gap": 76.25
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"top": "nwtN_c1880331-8411-443e-9218-87e78c057b22",
|
| 65 |
+
"bottom": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 66 |
+
"gap": 76.25
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"top": "nwtN_8227939a-5dc0-433e-8c4d-987ec44a1f8f",
|
| 70 |
+
"bottom": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 71 |
+
"gap": 76.25
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"top": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 75 |
+
"bottom": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 76 |
+
"gap": 76.25
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"top": "nwtN_3f7d61be-a016-4383-9b8d-8c1db26192f2",
|
| 80 |
+
"bottom": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 81 |
+
"gap": 76.25
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 85 |
+
"bottom": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 86 |
+
"gap": 76.25
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 90 |
+
"bottom": "nwtN_2d9c1f24-1482-46fb-a0f4-f963ba454710",
|
| 91 |
+
"gap": 76.25
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 95 |
+
"bottom": "nwtN_15fb1e74-6b08-4914-95ac-ee4ecb1b7f17",
|
| 96 |
+
"gap": 76.25
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 100 |
+
"bottom": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 101 |
+
"gap": 76.25
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 105 |
+
"bottom": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 106 |
+
"gap": 76.25
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"top": "nwtN_9dfde51e-a410-4e3b-a472-9061ae4fae7a",
|
| 110 |
+
"bottom": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 111 |
+
"gap": 76.25
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"top": "nwtN_a186f2a4-524e-4a84-95c0-66d41dbda586",
|
| 115 |
+
"bottom": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 116 |
+
"gap": 76.25
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"top": "nwtN_26c73172-708d-45cc-8ba5-f29671089767",
|
| 120 |
+
"bottom": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 121 |
+
"gap": 76.25
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"top": "nwtN_a2bfb9bd-8b13-43a5-87a5-d88b0137bd78",
|
| 125 |
+
"bottom": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 126 |
+
"gap": 76.25
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"top": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 130 |
+
"bottom": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 131 |
+
"gap": 76.25
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"top": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 135 |
+
"bottom": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 136 |
+
"gap": 76.25
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"top": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 140 |
+
"bottom": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 141 |
+
"gap": 76.25
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"top": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 145 |
+
"bottom": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 146 |
+
"gap": 76.25
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"top": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 150 |
+
"bottom": "nwtN_e55d29c7-89bc-4aa0-b599-3637e141f17f",
|
| 151 |
+
"gap": 76.25
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"top": "nwtN_c261ca93-6060-49c1-8286-2a98900c3b9e",
|
| 155 |
+
"bottom": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 156 |
+
"gap": 76.25
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"top": "nwtN_2f175f07-154a-4873-98cc-bc4e4d6d13a1",
|
| 160 |
+
"bottom": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 161 |
+
"gap": 76.25
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"top": "nwtN_166d8364-fd55-499e-9098-0a48db6615c1",
|
| 165 |
+
"bottom": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 166 |
+
"gap": 76.25
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"top": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 170 |
+
"bottom": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 171 |
+
"gap": 76.25
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"top": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 175 |
+
"bottom": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 176 |
+
"gap": 76.25
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"top": "nwtN_02a50d8b-3939-492a-ac5b-1f356cd514f6",
|
| 180 |
+
"bottom": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 181 |
+
"gap": 76.25
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"top": "nwtN_a68571c0-2669-4894-aa53-332555f625a2",
|
| 185 |
+
"bottom": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 186 |
+
"gap": 76.25
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"top": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 190 |
+
"bottom": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 191 |
+
"gap": 76.25
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"top": "nwtN_205680d2-dc98-4faf-baf4-21e27e8585e4",
|
| 195 |
+
"bottom": "nwtN_8489a816-b7af-452f-a722-04d06226341c",
|
| 196 |
+
"gap": 76.25
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"top": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 200 |
+
"bottom": "nwtN_d4bf8470-416d-4387-a563-3c9cccf55079",
|
| 201 |
+
"gap": 76.25
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"top": "nwtN_75318a95-e179-40fc-b6e1-e01fcd66cd8c",
|
| 205 |
+
"bottom": "nwtN_e48d9732-8ee0-4714-8b62-8de8238ec9c2",
|
| 206 |
+
"gap": 76.25
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"top": "nwtN_bce869d1-7c58-4489-81aa-e87e9418ab70",
|
| 210 |
+
"bottom": "nwtN_103a9105-ef50-47a4-b501-840a431fcbdd",
|
| 211 |
+
"gap": 76.25
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"top": "nwtN_8ed84db0-02da-43c6-847c-6b33f657f52c",
|
| 215 |
+
"bottom": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 216 |
+
"gap": 76.25
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"top": "nwtN_6385f491-0d09-4d53-a34c-781a861e8b42",
|
| 220 |
+
"bottom": "nwtN_88e20782-9221-4b12-9b62-6a6c7116a70f",
|
| 221 |
+
"gap": 76.25
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"top": "nwtN_167a075d-9d93-49d0-b5be-446efebec06c",
|
| 225 |
+
"bottom": "nwtN_be8097dc-4a84-4d3f-ade9-e80221f86dd6",
|
| 226 |
+
"gap": 76.25
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"top": "nwtN_485d980b-dc42-48ca-9ada-3c1b754cc2ef",
|
| 230 |
+
"bottom": "nwtN_d53ea35c-4609-4051-917a-8a183e5976cf",
|
| 231 |
+
"gap": 76.25
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"top": "nwtN_2cf0c5aa-67eb-4394-85e3-dc84f4b1cd52",
|
| 235 |
+
"bottom": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 236 |
+
"gap": 76.25
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"top": "nwtN_cc15f875-f4dd-4df8-a09e-a4f2e6c8a3f5",
|
| 240 |
+
"bottom": "nwtN_db35fc70-2b89-4857-acb2-9dd545e61447",
|
| 241 |
+
"gap": 76.25
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"top": "nwtN_2b6ef682-26c7-48d7-9fd8-09fa76c7b718",
|
| 245 |
+
"bottom": "nwtN_eed8fc62-a21d-4677-85f2-f1244e3abf00",
|
| 246 |
+
"gap": 76.25
|
| 247 |
+
}
|
| 248 |
+
]
|
| 249 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/uwsn.js
ADDED
|
@@ -0,0 +1,2303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
uwsn = {
|
| 2 |
+
"elements": {
|
| 3 |
+
"nodes": [
|
| 4 |
+
{
|
| 5 |
+
"data": {
|
| 6 |
+
"id": "nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 7 |
+
"bbox": {
|
| 8 |
+
"x": 155.38677910343796,
|
| 9 |
+
"y": 230.06625595029607,
|
| 10 |
+
"w": 140,
|
| 11 |
+
"h": 75
|
| 12 |
+
},
|
| 13 |
+
"class": "nucleic acid feature",
|
| 14 |
+
"label": "Surface\nBuoy 1",
|
| 15 |
+
"statesandinfos": [],
|
| 16 |
+
"language": "PD",
|
| 17 |
+
"border-width": 1.25,
|
| 18 |
+
"border-color": "#555555",
|
| 19 |
+
"background-color": "#f4a582",
|
| 20 |
+
"background-opacity": 1,
|
| 21 |
+
"background-image-opacity": 1,
|
| 22 |
+
"text-wrap": "wrap",
|
| 23 |
+
"font-size": 26,
|
| 24 |
+
"font-family": "Helvetica",
|
| 25 |
+
"font-style": "normal",
|
| 26 |
+
"font-weight": "normal",
|
| 27 |
+
"color": "#000000",
|
| 28 |
+
"background-image": "",
|
| 29 |
+
"ports": [],
|
| 30 |
+
"infoboxCalculated": true,
|
| 31 |
+
"auxunitlayouts": {}
|
| 32 |
+
},
|
| 33 |
+
"position": {
|
| 34 |
+
"x": 155.38677910343796,
|
| 35 |
+
"y": 230.06625595029607
|
| 36 |
+
},
|
| 37 |
+
"group": "nodes",
|
| 38 |
+
"removed": false,
|
| 39 |
+
"selected": false,
|
| 40 |
+
"selectable": true,
|
| 41 |
+
"locked": false,
|
| 42 |
+
"grabbable": true,
|
| 43 |
+
"classes": ""
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"data": {
|
| 47 |
+
"id": "nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 48 |
+
"bbox": {
|
| 49 |
+
"x": 584.0229153054016,
|
| 50 |
+
"y": 223.74407633970037,
|
| 51 |
+
"w": 140,
|
| 52 |
+
"h": 75
|
| 53 |
+
},
|
| 54 |
+
"class": "nucleic acid feature",
|
| 55 |
+
"label": "Surface\nBuoy 2",
|
| 56 |
+
"statesandinfos": [],
|
| 57 |
+
"language": "PD",
|
| 58 |
+
"border-width": 1.25,
|
| 59 |
+
"border-color": "#555555",
|
| 60 |
+
"background-color": "#f4a582",
|
| 61 |
+
"background-opacity": 1,
|
| 62 |
+
"background-image-opacity": 1,
|
| 63 |
+
"text-wrap": "wrap",
|
| 64 |
+
"font-size": 26,
|
| 65 |
+
"font-family": "Helvetica",
|
| 66 |
+
"font-style": "normal",
|
| 67 |
+
"font-weight": "normal",
|
| 68 |
+
"color": "#000000",
|
| 69 |
+
"background-image": "",
|
| 70 |
+
"ports": [],
|
| 71 |
+
"infoboxCalculated": true,
|
| 72 |
+
"auxunitlayouts": {}
|
| 73 |
+
},
|
| 74 |
+
"position": {
|
| 75 |
+
"x": 584.0229153054016,
|
| 76 |
+
"y": 223.74407633970037
|
| 77 |
+
},
|
| 78 |
+
"group": "nodes",
|
| 79 |
+
"removed": false,
|
| 80 |
+
"selected": false,
|
| 81 |
+
"selectable": true,
|
| 82 |
+
"locked": false,
|
| 83 |
+
"grabbable": true,
|
| 84 |
+
"classes": ""
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"data": {
|
| 88 |
+
"id": "nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 89 |
+
"bbox": {
|
| 90 |
+
"x": 964.8261492755391,
|
| 91 |
+
"y": 225.00851226181948,
|
| 92 |
+
"w": 140,
|
| 93 |
+
"h": 75
|
| 94 |
+
},
|
| 95 |
+
"class": "nucleic acid feature",
|
| 96 |
+
"label": "Surface\nBuoy 3",
|
| 97 |
+
"statesandinfos": [],
|
| 98 |
+
"language": "PD",
|
| 99 |
+
"border-width": 1.25,
|
| 100 |
+
"border-color": "#555555",
|
| 101 |
+
"background-color": "#f4a582",
|
| 102 |
+
"background-opacity": 1,
|
| 103 |
+
"background-image-opacity": 1,
|
| 104 |
+
"text-wrap": "wrap",
|
| 105 |
+
"font-size": 26,
|
| 106 |
+
"font-family": "Helvetica",
|
| 107 |
+
"font-style": "normal",
|
| 108 |
+
"font-weight": "normal",
|
| 109 |
+
"color": "#000000",
|
| 110 |
+
"background-image": "",
|
| 111 |
+
"ports": [],
|
| 112 |
+
"infoboxCalculated": true,
|
| 113 |
+
"auxunitlayouts": {}
|
| 114 |
+
},
|
| 115 |
+
"position": {
|
| 116 |
+
"x": 964.8261492755391,
|
| 117 |
+
"y": 225.00851226181948
|
| 118 |
+
},
|
| 119 |
+
"group": "nodes",
|
| 120 |
+
"removed": false,
|
| 121 |
+
"selected": false,
|
| 122 |
+
"selectable": true,
|
| 123 |
+
"locked": false,
|
| 124 |
+
"grabbable": true,
|
| 125 |
+
"classes": ""
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"data": {
|
| 129 |
+
"id": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 130 |
+
"bbox": {
|
| 131 |
+
"x": 149.1895292305374,
|
| 132 |
+
"y": 445.5622580973788,
|
| 133 |
+
"w": 140,
|
| 134 |
+
"h": 75
|
| 135 |
+
},
|
| 136 |
+
"class": "unspecified entity",
|
| 137 |
+
"label": "UW Sink 1",
|
| 138 |
+
"statesandinfos": [],
|
| 139 |
+
"language": "PD",
|
| 140 |
+
"border-width": 1.25,
|
| 141 |
+
"border-color": "#555555",
|
| 142 |
+
"background-color": "#f7f7f7",
|
| 143 |
+
"background-opacity": 1,
|
| 144 |
+
"background-image-opacity": 1,
|
| 145 |
+
"text-wrap": "wrap",
|
| 146 |
+
"font-size": 26,
|
| 147 |
+
"font-family": "Helvetica",
|
| 148 |
+
"font-style": "normal",
|
| 149 |
+
"font-weight": "normal",
|
| 150 |
+
"color": "#000000",
|
| 151 |
+
"background-image": "",
|
| 152 |
+
"ports": [],
|
| 153 |
+
"infoboxCalculated": true,
|
| 154 |
+
"auxunitlayouts": {}
|
| 155 |
+
},
|
| 156 |
+
"position": {
|
| 157 |
+
"x": 149.1895292305374,
|
| 158 |
+
"y": 445.5622580973788
|
| 159 |
+
},
|
| 160 |
+
"group": "nodes",
|
| 161 |
+
"removed": false,
|
| 162 |
+
"selected": false,
|
| 163 |
+
"selectable": true,
|
| 164 |
+
"locked": false,
|
| 165 |
+
"grabbable": true,
|
| 166 |
+
"classes": ""
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"data": {
|
| 170 |
+
"id": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 171 |
+
"bbox": {
|
| 172 |
+
"x": 586.7621909195482,
|
| 173 |
+
"y": 383.25228042246914,
|
| 174 |
+
"w": 140,
|
| 175 |
+
"h": 75
|
| 176 |
+
},
|
| 177 |
+
"class": "unspecified entity",
|
| 178 |
+
"label": "UW Sink 2",
|
| 179 |
+
"statesandinfos": [],
|
| 180 |
+
"language": "PD",
|
| 181 |
+
"border-width": 1.25,
|
| 182 |
+
"border-color": "#555555",
|
| 183 |
+
"background-color": "#f7f7f7",
|
| 184 |
+
"background-opacity": 1,
|
| 185 |
+
"background-image-opacity": 1,
|
| 186 |
+
"text-wrap": "wrap",
|
| 187 |
+
"font-size": 26,
|
| 188 |
+
"font-family": "Helvetica",
|
| 189 |
+
"font-style": "normal",
|
| 190 |
+
"font-weight": "normal",
|
| 191 |
+
"color": "#000000",
|
| 192 |
+
"background-image": "",
|
| 193 |
+
"ports": [],
|
| 194 |
+
"infoboxCalculated": true,
|
| 195 |
+
"auxunitlayouts": {}
|
| 196 |
+
},
|
| 197 |
+
"position": {
|
| 198 |
+
"x": 586.7621909195482,
|
| 199 |
+
"y": 383.25228042246914
|
| 200 |
+
},
|
| 201 |
+
"group": "nodes",
|
| 202 |
+
"removed": false,
|
| 203 |
+
"selected": false,
|
| 204 |
+
"selectable": true,
|
| 205 |
+
"locked": false,
|
| 206 |
+
"grabbable": true,
|
| 207 |
+
"classes": ""
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"data": {
|
| 211 |
+
"id": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 212 |
+
"bbox": {
|
| 213 |
+
"x": 966.963391645274,
|
| 214 |
+
"y": 484.473671607378,
|
| 215 |
+
"w": 140,
|
| 216 |
+
"h": 75
|
| 217 |
+
},
|
| 218 |
+
"class": "unspecified entity",
|
| 219 |
+
"label": "UW Sink 3",
|
| 220 |
+
"statesandinfos": [],
|
| 221 |
+
"language": "PD",
|
| 222 |
+
"border-width": 1.25,
|
| 223 |
+
"border-color": "#555555",
|
| 224 |
+
"background-color": "#f7f7f7",
|
| 225 |
+
"background-opacity": 1,
|
| 226 |
+
"background-image-opacity": 1,
|
| 227 |
+
"text-wrap": "wrap",
|
| 228 |
+
"font-size": 26,
|
| 229 |
+
"font-family": "Helvetica",
|
| 230 |
+
"font-style": "normal",
|
| 231 |
+
"font-weight": "normal",
|
| 232 |
+
"color": "#000000",
|
| 233 |
+
"background-image": "",
|
| 234 |
+
"ports": [],
|
| 235 |
+
"infoboxCalculated": true,
|
| 236 |
+
"auxunitlayouts": {}
|
| 237 |
+
},
|
| 238 |
+
"position": {
|
| 239 |
+
"x": 966.963391645274,
|
| 240 |
+
"y": 484.473671607378
|
| 241 |
+
},
|
| 242 |
+
"group": "nodes",
|
| 243 |
+
"removed": false,
|
| 244 |
+
"selected": false,
|
| 245 |
+
"selectable": true,
|
| 246 |
+
"locked": false,
|
| 247 |
+
"grabbable": true,
|
| 248 |
+
"classes": ""
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"data": {
|
| 252 |
+
"id": "nwtN_9ad406e1-da86-489d-84aa-627c8f5898e6",
|
| 253 |
+
"bbox": {
|
| 254 |
+
"x": -18.820589676794867,
|
| 255 |
+
"y": 580.4283573759083,
|
| 256 |
+
"w": 172.45719865368562,
|
| 257 |
+
"h": 192.7296338070105
|
| 258 |
+
},
|
| 259 |
+
"originalW": 200.45719865368562,
|
| 260 |
+
"originalH": 220.7296338070105,
|
| 261 |
+
"class": "submap",
|
| 262 |
+
"statesandinfos": [],
|
| 263 |
+
"language": "PD",
|
| 264 |
+
"border-width": 2.25,
|
| 265 |
+
"border-color": "#555555",
|
| 266 |
+
"background-color": "#f7f7f7",
|
| 267 |
+
"background-opacity": 0.5,
|
| 268 |
+
"background-image-opacity": 1,
|
| 269 |
+
"text-wrap": "wrap",
|
| 270 |
+
"font-size": 14,
|
| 271 |
+
"font-family": "Helvetica",
|
| 272 |
+
"font-style": "normal",
|
| 273 |
+
"font-weight": "normal",
|
| 274 |
+
"color": "#000",
|
| 275 |
+
"background-image": "",
|
| 276 |
+
"ports": [],
|
| 277 |
+
"infoboxCalculated": true,
|
| 278 |
+
"auxunitlayouts": {}
|
| 279 |
+
},
|
| 280 |
+
"position": {
|
| 281 |
+
"x": -18.82058967679486,
|
| 282 |
+
"y": 580.4283573759083
|
| 283 |
+
},
|
| 284 |
+
"group": "nodes",
|
| 285 |
+
"removed": false,
|
| 286 |
+
"selected": false,
|
| 287 |
+
"selectable": true,
|
| 288 |
+
"locked": false,
|
| 289 |
+
"grabbable": true,
|
| 290 |
+
"classes": ""
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"data": {
|
| 294 |
+
"id": "nwtN_cbc5909d-c0a3-4be5-9c36-988ca48a9d30",
|
| 295 |
+
"bbox": {
|
| 296 |
+
"x": -65.92418900363768,
|
| 297 |
+
"y": 613.8182505696195,
|
| 298 |
+
"w": 75,
|
| 299 |
+
"h": 75
|
| 300 |
+
},
|
| 301 |
+
"class": "simple chemical",
|
| 302 |
+
"label": "s3",
|
| 303 |
+
"statesandinfos": [],
|
| 304 |
+
"parent": "nwtN_9ad406e1-da86-489d-84aa-627c8f5898e6",
|
| 305 |
+
"language": "PD",
|
| 306 |
+
"border-width": 1.25,
|
| 307 |
+
"border-color": "#555555",
|
| 308 |
+
"background-color": "#fddbc7",
|
| 309 |
+
"background-opacity": 1,
|
| 310 |
+
"background-image-opacity": 1,
|
| 311 |
+
"text-wrap": "wrap",
|
| 312 |
+
"font-size": 26,
|
| 313 |
+
"font-family": "Helvetica",
|
| 314 |
+
"font-style": "normal",
|
| 315 |
+
"font-weight": "bold",
|
| 316 |
+
"color": "#000000",
|
| 317 |
+
"background-image": "",
|
| 318 |
+
"ports": [],
|
| 319 |
+
"infoboxCalculated": true,
|
| 320 |
+
"auxunitlayouts": {}
|
| 321 |
+
},
|
| 322 |
+
"position": {
|
| 323 |
+
"x": -65.92418900363768,
|
| 324 |
+
"y": 613.8182505696195
|
| 325 |
+
},
|
| 326 |
+
"group": "nodes",
|
| 327 |
+
"removed": false,
|
| 328 |
+
"selected": false,
|
| 329 |
+
"selectable": true,
|
| 330 |
+
"locked": false,
|
| 331 |
+
"grabbable": true,
|
| 332 |
+
"classes": ""
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"data": {
|
| 336 |
+
"id": "nwtN_4a12169f-f588-4c76-bc39-2ae07f77d7c4",
|
| 337 |
+
"bbox": {
|
| 338 |
+
"x": -30.1493034389469,
|
| 339 |
+
"y": 523.188540472403,
|
| 340 |
+
"w": 75,
|
| 341 |
+
"h": 75
|
| 342 |
+
},
|
| 343 |
+
"class": "simple chemical",
|
| 344 |
+
"label": "s2",
|
| 345 |
+
"statesandinfos": [],
|
| 346 |
+
"parent": "nwtN_9ad406e1-da86-489d-84aa-627c8f5898e6",
|
| 347 |
+
"language": "PD",
|
| 348 |
+
"border-width": 1.25,
|
| 349 |
+
"border-color": "#555555",
|
| 350 |
+
"background-color": "#fddbc7",
|
| 351 |
+
"background-opacity": 1,
|
| 352 |
+
"background-image-opacity": 1,
|
| 353 |
+
"text-wrap": "wrap",
|
| 354 |
+
"font-size": 26,
|
| 355 |
+
"font-family": "Helvetica",
|
| 356 |
+
"font-style": "normal",
|
| 357 |
+
"font-weight": "bold",
|
| 358 |
+
"color": "#000000",
|
| 359 |
+
"background-image": "",
|
| 360 |
+
"ports": [],
|
| 361 |
+
"infoboxCalculated": true,
|
| 362 |
+
"auxunitlayouts": {}
|
| 363 |
+
},
|
| 364 |
+
"position": {
|
| 365 |
+
"x": -30.1493034389469,
|
| 366 |
+
"y": 523.188540472403
|
| 367 |
+
},
|
| 368 |
+
"group": "nodes",
|
| 369 |
+
"removed": false,
|
| 370 |
+
"selected": false,
|
| 371 |
+
"selectable": true,
|
| 372 |
+
"locked": false,
|
| 373 |
+
"grabbable": true,
|
| 374 |
+
"classes": ""
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"data": {
|
| 378 |
+
"id": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 379 |
+
"bbox": {
|
| 380 |
+
"x": -8.684372100132464,
|
| 381 |
+
"y": 578.043365004929,
|
| 382 |
+
"w": 75,
|
| 383 |
+
"h": 75
|
| 384 |
+
},
|
| 385 |
+
"class": "simple chemical",
|
| 386 |
+
"label": "s1",
|
| 387 |
+
"statesandinfos": [],
|
| 388 |
+
"parent": "nwtN_9ad406e1-da86-489d-84aa-627c8f5898e6",
|
| 389 |
+
"language": "PD",
|
| 390 |
+
"border-width": 1.25,
|
| 391 |
+
"border-color": "#555555",
|
| 392 |
+
"background-color": "#fddbc7",
|
| 393 |
+
"background-opacity": 1,
|
| 394 |
+
"background-image-opacity": 1,
|
| 395 |
+
"text-wrap": "wrap",
|
| 396 |
+
"font-size": 26,
|
| 397 |
+
"font-family": "Helvetica",
|
| 398 |
+
"font-style": "normal",
|
| 399 |
+
"font-weight": "bold",
|
| 400 |
+
"color": "#000000",
|
| 401 |
+
"background-image": "",
|
| 402 |
+
"ports": [],
|
| 403 |
+
"infoboxCalculated": true,
|
| 404 |
+
"auxunitlayouts": {}
|
| 405 |
+
},
|
| 406 |
+
"position": {
|
| 407 |
+
"x": -8.684372100132464,
|
| 408 |
+
"y": 578.043365004929
|
| 409 |
+
},
|
| 410 |
+
"group": "nodes",
|
| 411 |
+
"removed": false,
|
| 412 |
+
"selected": false,
|
| 413 |
+
"selectable": true,
|
| 414 |
+
"locked": false,
|
| 415 |
+
"grabbable": true,
|
| 416 |
+
"classes": ""
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"data": {
|
| 420 |
+
"id": "nwtN_48d663f4-edd0-4706-a5ca-5a87f77edf8e",
|
| 421 |
+
"bbox": {
|
| 422 |
+
"x": 28.28300965004796,
|
| 423 |
+
"y": 637.6681742794135,
|
| 424 |
+
"w": 75,
|
| 425 |
+
"h": 75
|
| 426 |
+
},
|
| 427 |
+
"class": "simple chemical",
|
| 428 |
+
"label": "s4",
|
| 429 |
+
"statesandinfos": [],
|
| 430 |
+
"parent": "nwtN_9ad406e1-da86-489d-84aa-627c8f5898e6",
|
| 431 |
+
"language": "PD",
|
| 432 |
+
"border-width": 1.25,
|
| 433 |
+
"border-color": "#555555",
|
| 434 |
+
"background-color": "#fddbc7",
|
| 435 |
+
"background-opacity": 1,
|
| 436 |
+
"background-image-opacity": 1,
|
| 437 |
+
"text-wrap": "wrap",
|
| 438 |
+
"font-size": 26,
|
| 439 |
+
"font-family": "Helvetica",
|
| 440 |
+
"font-style": "normal",
|
| 441 |
+
"font-weight": "bold",
|
| 442 |
+
"color": "#000000",
|
| 443 |
+
"background-image": "",
|
| 444 |
+
"ports": [],
|
| 445 |
+
"infoboxCalculated": true,
|
| 446 |
+
"auxunitlayouts": {}
|
| 447 |
+
},
|
| 448 |
+
"position": {
|
| 449 |
+
"x": 28.28300965004796,
|
| 450 |
+
"y": 637.6681742794135
|
| 451 |
+
},
|
| 452 |
+
"group": "nodes",
|
| 453 |
+
"removed": false,
|
| 454 |
+
"selected": false,
|
| 455 |
+
"selectable": true,
|
| 456 |
+
"locked": false,
|
| 457 |
+
"grabbable": true,
|
| 458 |
+
"classes": ""
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"data": {
|
| 462 |
+
"id": "nwtN_a892743e-a23c-48b7-8d64-c6e77ca26bbe",
|
| 463 |
+
"bbox": {
|
| 464 |
+
"x": 211.78152237753034,
|
| 465 |
+
"y": 586.7225735218967,
|
| 466 |
+
"w": 186.76715287956208,
|
| 467 |
+
"h": 162.91722916976835
|
| 468 |
+
},
|
| 469 |
+
"originalW": 214.76715287956208,
|
| 470 |
+
"originalH": 190.91722916976835,
|
| 471 |
+
"class": "submap",
|
| 472 |
+
"statesandinfos": [],
|
| 473 |
+
"language": "PD",
|
| 474 |
+
"border-width": 2.25,
|
| 475 |
+
"border-color": "#555555",
|
| 476 |
+
"background-color": "#f7f7f7",
|
| 477 |
+
"background-opacity": 0.5,
|
| 478 |
+
"background-image-opacity": 1,
|
| 479 |
+
"text-wrap": "wrap",
|
| 480 |
+
"font-size": 14,
|
| 481 |
+
"font-family": "Helvetica",
|
| 482 |
+
"font-style": "normal",
|
| 483 |
+
"font-weight": "normal",
|
| 484 |
+
"color": "#000",
|
| 485 |
+
"background-image": "",
|
| 486 |
+
"ports": [],
|
| 487 |
+
"infoboxCalculated": true,
|
| 488 |
+
"auxunitlayouts": {}
|
| 489 |
+
},
|
| 490 |
+
"position": {
|
| 491 |
+
"x": 211.78152237753034,
|
| 492 |
+
"y": 586.7225735218967
|
| 493 |
+
},
|
| 494 |
+
"group": "nodes",
|
| 495 |
+
"removed": false,
|
| 496 |
+
"selected": false,
|
| 497 |
+
"selectable": true,
|
| 498 |
+
"locked": false,
|
| 499 |
+
"grabbable": true,
|
| 500 |
+
"classes": ""
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"data": {
|
| 504 |
+
"id": "nwtN_2ecfaa1e-8dd3-4008-ac3d-6d4207f518b4",
|
| 505 |
+
"bbox": {
|
| 506 |
+
"x": 157.5229459377493,
|
| 507 |
+
"y": 544.3889589370125,
|
| 508 |
+
"w": 75,
|
| 509 |
+
"h": 75
|
| 510 |
+
},
|
| 511 |
+
"class": "simple chemical",
|
| 512 |
+
"label": "s7",
|
| 513 |
+
"statesandinfos": [],
|
| 514 |
+
"parent": "nwtN_a892743e-a23c-48b7-8d64-c6e77ca26bbe",
|
| 515 |
+
"language": "PD",
|
| 516 |
+
"border-width": 1.25,
|
| 517 |
+
"border-color": "#555555",
|
| 518 |
+
"background-color": "#fddbc7",
|
| 519 |
+
"background-opacity": 1,
|
| 520 |
+
"background-image-opacity": 1,
|
| 521 |
+
"text-wrap": "wrap",
|
| 522 |
+
"font-size": 26,
|
| 523 |
+
"font-family": "Helvetica",
|
| 524 |
+
"font-style": "normal",
|
| 525 |
+
"font-weight": "bold",
|
| 526 |
+
"color": "#000000",
|
| 527 |
+
"background-image": "",
|
| 528 |
+
"ports": [],
|
| 529 |
+
"infoboxCalculated": true,
|
| 530 |
+
"auxunitlayouts": {}
|
| 531 |
+
},
|
| 532 |
+
"position": {
|
| 533 |
+
"x": 157.5229459377493,
|
| 534 |
+
"y": 544.3889589370125
|
| 535 |
+
},
|
| 536 |
+
"group": "nodes",
|
| 537 |
+
"removed": false,
|
| 538 |
+
"selected": false,
|
| 539 |
+
"selectable": true,
|
| 540 |
+
"locked": false,
|
| 541 |
+
"grabbable": true,
|
| 542 |
+
"classes": ""
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"data": {
|
| 546 |
+
"id": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 547 |
+
"bbox": {
|
| 548 |
+
"x": 209.99277809929575,
|
| 549 |
+
"y": 568.2388826468066,
|
| 550 |
+
"w": 75,
|
| 551 |
+
"h": 75
|
| 552 |
+
},
|
| 553 |
+
"class": "simple chemical",
|
| 554 |
+
"label": "s5",
|
| 555 |
+
"statesandinfos": [],
|
| 556 |
+
"parent": "nwtN_a892743e-a23c-48b7-8d64-c6e77ca26bbe",
|
| 557 |
+
"language": "PD",
|
| 558 |
+
"border-width": 1.25,
|
| 559 |
+
"border-color": "#555555",
|
| 560 |
+
"background-color": "#fddbc7",
|
| 561 |
+
"background-opacity": 1,
|
| 562 |
+
"background-image-opacity": 1,
|
| 563 |
+
"text-wrap": "wrap",
|
| 564 |
+
"font-size": 26,
|
| 565 |
+
"font-family": "Helvetica",
|
| 566 |
+
"font-style": "normal",
|
| 567 |
+
"font-weight": "bold",
|
| 568 |
+
"color": "#000000",
|
| 569 |
+
"background-image": "",
|
| 570 |
+
"ports": [],
|
| 571 |
+
"infoboxCalculated": true,
|
| 572 |
+
"auxunitlayouts": {}
|
| 573 |
+
},
|
| 574 |
+
"position": {
|
| 575 |
+
"x": 209.99277809929575,
|
| 576 |
+
"y": 568.2388826468066
|
| 577 |
+
},
|
| 578 |
+
"group": "nodes",
|
| 579 |
+
"removed": false,
|
| 580 |
+
"selected": false,
|
| 581 |
+
"selectable": true,
|
| 582 |
+
"locked": false,
|
| 583 |
+
"grabbable": true,
|
| 584 |
+
"classes": ""
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"data": {
|
| 588 |
+
"id": "nwtN_1c41d32b-42f9-4e9f-a609-91c2eebbf28a",
|
| 589 |
+
"bbox": {
|
| 590 |
+
"x": 266.0400988173114,
|
| 591 |
+
"y": 550.3514398644611,
|
| 592 |
+
"w": 75,
|
| 593 |
+
"h": 75
|
| 594 |
+
},
|
| 595 |
+
"class": "simple chemical",
|
| 596 |
+
"label": "s6",
|
| 597 |
+
"statesandinfos": [],
|
| 598 |
+
"parent": "nwtN_a892743e-a23c-48b7-8d64-c6e77ca26bbe",
|
| 599 |
+
"language": "PD",
|
| 600 |
+
"border-width": 1.25,
|
| 601 |
+
"border-color": "#555555",
|
| 602 |
+
"background-color": "#fddbc7",
|
| 603 |
+
"background-opacity": 1,
|
| 604 |
+
"background-image-opacity": 1,
|
| 605 |
+
"text-wrap": "wrap",
|
| 606 |
+
"font-size": 26,
|
| 607 |
+
"font-family": "Helvetica",
|
| 608 |
+
"font-style": "normal",
|
| 609 |
+
"font-weight": "bold",
|
| 610 |
+
"color": "#000000",
|
| 611 |
+
"background-image": "",
|
| 612 |
+
"ports": [],
|
| 613 |
+
"infoboxCalculated": true,
|
| 614 |
+
"auxunitlayouts": {}
|
| 615 |
+
},
|
| 616 |
+
"position": {
|
| 617 |
+
"x": 266.0400988173114,
|
| 618 |
+
"y": 550.3514398644611
|
| 619 |
+
},
|
| 620 |
+
"group": "nodes",
|
| 621 |
+
"removed": false,
|
| 622 |
+
"selected": false,
|
| 623 |
+
"selectable": true,
|
| 624 |
+
"locked": false,
|
| 625 |
+
"grabbable": true,
|
| 626 |
+
"classes": ""
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"data": {
|
| 630 |
+
"id": "nwtN_8af34100-fdea-4636-a978-fe75c7a38fb1",
|
| 631 |
+
"bbox": {
|
| 632 |
+
"x": 198.0678162443988,
|
| 633 |
+
"y": 629.0561881067808,
|
| 634 |
+
"w": 75,
|
| 635 |
+
"h": 75
|
| 636 |
+
},
|
| 637 |
+
"class": "simple chemical",
|
| 638 |
+
"label": "s8",
|
| 639 |
+
"statesandinfos": [],
|
| 640 |
+
"parent": "nwtN_a892743e-a23c-48b7-8d64-c6e77ca26bbe",
|
| 641 |
+
"language": "PD",
|
| 642 |
+
"border-width": 1.25,
|
| 643 |
+
"border-color": "#555555",
|
| 644 |
+
"background-color": "#fddbc7",
|
| 645 |
+
"background-opacity": 1,
|
| 646 |
+
"background-image-opacity": 1,
|
| 647 |
+
"text-wrap": "wrap",
|
| 648 |
+
"font-size": 26,
|
| 649 |
+
"font-family": "Helvetica",
|
| 650 |
+
"font-style": "normal",
|
| 651 |
+
"font-weight": "bold",
|
| 652 |
+
"color": "#000000",
|
| 653 |
+
"background-image": "",
|
| 654 |
+
"ports": [],
|
| 655 |
+
"infoboxCalculated": true,
|
| 656 |
+
"auxunitlayouts": {}
|
| 657 |
+
},
|
| 658 |
+
"position": {
|
| 659 |
+
"x": 198.0678162443988,
|
| 660 |
+
"y": 629.0561881067808
|
| 661 |
+
},
|
| 662 |
+
"group": "nodes",
|
| 663 |
+
"removed": false,
|
| 664 |
+
"selected": false,
|
| 665 |
+
"selectable": true,
|
| 666 |
+
"locked": false,
|
| 667 |
+
"grabbable": true,
|
| 668 |
+
"classes": ""
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"data": {
|
| 672 |
+
"id": "nwtN_7a108aac-2ff5-4012-abc4-1f8418ef91ae",
|
| 673 |
+
"bbox": {
|
| 674 |
+
"x": 463.24537734506043,
|
| 675 |
+
"y": 632.6006814534348,
|
| 676 |
+
"w": 178.41967958113423,
|
| 677 |
+
"h": 165.30222154074738
|
| 678 |
+
},
|
| 679 |
+
"originalW": 206.41967958113423,
|
| 680 |
+
"originalH": 193.30222154074738,
|
| 681 |
+
"class": "submap",
|
| 682 |
+
"statesandinfos": [],
|
| 683 |
+
"language": "PD",
|
| 684 |
+
"border-width": 2.25,
|
| 685 |
+
"border-color": "#555555",
|
| 686 |
+
"background-color": "#f7f7f7",
|
| 687 |
+
"background-opacity": 0.5,
|
| 688 |
+
"background-image-opacity": 1,
|
| 689 |
+
"text-wrap": "wrap",
|
| 690 |
+
"font-size": 14,
|
| 691 |
+
"font-family": "Helvetica",
|
| 692 |
+
"font-style": "normal",
|
| 693 |
+
"font-weight": "normal",
|
| 694 |
+
"color": "#000",
|
| 695 |
+
"background-image": "",
|
| 696 |
+
"ports": [],
|
| 697 |
+
"infoboxCalculated": true,
|
| 698 |
+
"auxunitlayouts": {}
|
| 699 |
+
},
|
| 700 |
+
"position": {
|
| 701 |
+
"x": 463.24537734506043,
|
| 702 |
+
"y": 632.6006814534348
|
| 703 |
+
},
|
| 704 |
+
"group": "nodes",
|
| 705 |
+
"removed": false,
|
| 706 |
+
"selected": false,
|
| 707 |
+
"selectable": true,
|
| 708 |
+
"locked": false,
|
| 709 |
+
"grabbable": true,
|
| 710 |
+
"classes": ""
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"data": {
|
| 714 |
+
"id": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 715 |
+
"bbox": {
|
| 716 |
+
"x": 458.47539260310174,
|
| 717 |
+
"y": 632.00443336069,
|
| 718 |
+
"w": 75,
|
| 719 |
+
"h": 75
|
| 720 |
+
},
|
| 721 |
+
"class": "simple chemical",
|
| 722 |
+
"label": "s9",
|
| 723 |
+
"statesandinfos": [],
|
| 724 |
+
"parent": "nwtN_7a108aac-2ff5-4012-abc4-1f8418ef91ae",
|
| 725 |
+
"language": "PD",
|
| 726 |
+
"border-width": 1.25,
|
| 727 |
+
"border-color": "#555555",
|
| 728 |
+
"background-color": "#fddbc7",
|
| 729 |
+
"background-opacity": 1,
|
| 730 |
+
"background-image-opacity": 1,
|
| 731 |
+
"text-wrap": "wrap",
|
| 732 |
+
"font-size": 26,
|
| 733 |
+
"font-family": "Helvetica",
|
| 734 |
+
"font-style": "normal",
|
| 735 |
+
"font-weight": "bold",
|
| 736 |
+
"color": "#000000",
|
| 737 |
+
"background-image": "",
|
| 738 |
+
"ports": [],
|
| 739 |
+
"infoboxCalculated": true,
|
| 740 |
+
"auxunitlayouts": {}
|
| 741 |
+
},
|
| 742 |
+
"position": {
|
| 743 |
+
"x": 458.47539260310174,
|
| 744 |
+
"y": 632.00443336069
|
| 745 |
+
},
|
| 746 |
+
"group": "nodes",
|
| 747 |
+
"removed": false,
|
| 748 |
+
"selected": false,
|
| 749 |
+
"selectable": true,
|
| 750 |
+
"locked": false,
|
| 751 |
+
"grabbable": true,
|
| 752 |
+
"classes": ""
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"data": {
|
| 756 |
+
"id": "nwtN_78116f70-d871-4b8e-83cf-7b3a684067a7",
|
| 757 |
+
"bbox": {
|
| 758 |
+
"x": 413.1605375544933,
|
| 759 |
+
"y": 589.0745706830611,
|
| 760 |
+
"w": 75,
|
| 761 |
+
"h": 75
|
| 762 |
+
},
|
| 763 |
+
"class": "simple chemical",
|
| 764 |
+
"label": "s11",
|
| 765 |
+
"statesandinfos": [],
|
| 766 |
+
"parent": "nwtN_7a108aac-2ff5-4012-abc4-1f8418ef91ae",
|
| 767 |
+
"language": "PD",
|
| 768 |
+
"border-width": 1.25,
|
| 769 |
+
"border-color": "#555555",
|
| 770 |
+
"background-color": "#fddbc7",
|
| 771 |
+
"background-opacity": 1,
|
| 772 |
+
"background-image-opacity": 1,
|
| 773 |
+
"text-wrap": "wrap",
|
| 774 |
+
"font-size": 26,
|
| 775 |
+
"font-family": "Helvetica",
|
| 776 |
+
"font-style": "normal",
|
| 777 |
+
"font-weight": "bold",
|
| 778 |
+
"color": "#000000",
|
| 779 |
+
"background-image": "",
|
| 780 |
+
"ports": [],
|
| 781 |
+
"infoboxCalculated": true,
|
| 782 |
+
"auxunitlayouts": {}
|
| 783 |
+
},
|
| 784 |
+
"position": {
|
| 785 |
+
"x": 413.1605375544933,
|
| 786 |
+
"y": 589.0745706830611
|
| 787 |
+
},
|
| 788 |
+
"group": "nodes",
|
| 789 |
+
"removed": false,
|
| 790 |
+
"selected": false,
|
| 791 |
+
"selectable": true,
|
| 792 |
+
"locked": false,
|
| 793 |
+
"grabbable": true,
|
| 794 |
+
"classes": ""
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"data": {
|
| 798 |
+
"id": "nwtN_348778d0-85d5-442f-b73a-9dd9f5d9f2b3",
|
| 799 |
+
"bbox": {
|
| 800 |
+
"x": 415.5455299254728,
|
| 801 |
+
"y": 676.1267922238085,
|
| 802 |
+
"w": 75,
|
| 803 |
+
"h": 75
|
| 804 |
+
},
|
| 805 |
+
"class": "simple chemical",
|
| 806 |
+
"label": "s12",
|
| 807 |
+
"statesandinfos": [],
|
| 808 |
+
"parent": "nwtN_7a108aac-2ff5-4012-abc4-1f8418ef91ae",
|
| 809 |
+
"language": "PD",
|
| 810 |
+
"border-width": 1.25,
|
| 811 |
+
"border-color": "#555555",
|
| 812 |
+
"background-color": "#fddbc7",
|
| 813 |
+
"background-opacity": 1,
|
| 814 |
+
"background-image-opacity": 1,
|
| 815 |
+
"text-wrap": "wrap",
|
| 816 |
+
"font-size": 26,
|
| 817 |
+
"font-family": "Helvetica",
|
| 818 |
+
"font-style": "normal",
|
| 819 |
+
"font-weight": "bold",
|
| 820 |
+
"color": "#000000",
|
| 821 |
+
"background-image": "",
|
| 822 |
+
"ports": [],
|
| 823 |
+
"infoboxCalculated": true,
|
| 824 |
+
"auxunitlayouts": {}
|
| 825 |
+
},
|
| 826 |
+
"position": {
|
| 827 |
+
"x": 415.5455299254728,
|
| 828 |
+
"y": 676.1267922238085
|
| 829 |
+
},
|
| 830 |
+
"group": "nodes",
|
| 831 |
+
"removed": false,
|
| 832 |
+
"selected": false,
|
| 833 |
+
"selectable": true,
|
| 834 |
+
"locked": false,
|
| 835 |
+
"grabbable": true,
|
| 836 |
+
"classes": ""
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"data": {
|
| 840 |
+
"id": "nwtN_5c29f820-d40e-4c85-b7b6-c7b8a378b49d",
|
| 841 |
+
"bbox": {
|
| 842 |
+
"x": 513.3302171356275,
|
| 843 |
+
"y": 641.5444028446076,
|
| 844 |
+
"w": 75,
|
| 845 |
+
"h": 75
|
| 846 |
+
},
|
| 847 |
+
"class": "simple chemical",
|
| 848 |
+
"label": "s10",
|
| 849 |
+
"statesandinfos": [],
|
| 850 |
+
"parent": "nwtN_7a108aac-2ff5-4012-abc4-1f8418ef91ae",
|
| 851 |
+
"language": "PD",
|
| 852 |
+
"border-width": 1.25,
|
| 853 |
+
"border-color": "#555555",
|
| 854 |
+
"background-color": "#fddbc7",
|
| 855 |
+
"background-opacity": 1,
|
| 856 |
+
"background-image-opacity": 1,
|
| 857 |
+
"text-wrap": "wrap",
|
| 858 |
+
"font-size": 26,
|
| 859 |
+
"font-family": "Helvetica",
|
| 860 |
+
"font-style": "normal",
|
| 861 |
+
"font-weight": "bold",
|
| 862 |
+
"color": "#000000",
|
| 863 |
+
"background-image": "",
|
| 864 |
+
"ports": [],
|
| 865 |
+
"infoboxCalculated": true,
|
| 866 |
+
"auxunitlayouts": {}
|
| 867 |
+
},
|
| 868 |
+
"position": {
|
| 869 |
+
"x": 513.3302171356275,
|
| 870 |
+
"y": 641.5444028446076
|
| 871 |
+
},
|
| 872 |
+
"group": "nodes",
|
| 873 |
+
"removed": false,
|
| 874 |
+
"selected": false,
|
| 875 |
+
"selectable": true,
|
| 876 |
+
"locked": false,
|
| 877 |
+
"grabbable": true,
|
| 878 |
+
"classes": ""
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"data": {
|
| 882 |
+
"id": "nwtN_13b19118-54eb-4400-a949-ca664386ec06",
|
| 883 |
+
"bbox": {
|
| 884 |
+
"x": 680.3516228408145,
|
| 885 |
+
"y": 630.668057701942,
|
| 886 |
+
"w": 185.57465669407202,
|
| 887 |
+
"h": 140.25980164546388
|
| 888 |
+
},
|
| 889 |
+
"originalW": 213.57465669407202,
|
| 890 |
+
"originalH": 168.25980164546388,
|
| 891 |
+
"class": "submap",
|
| 892 |
+
"statesandinfos": [],
|
| 893 |
+
"language": "PD",
|
| 894 |
+
"border-width": 2.25,
|
| 895 |
+
"border-color": "#555555",
|
| 896 |
+
"background-color": "#f7f7f7",
|
| 897 |
+
"background-opacity": 0.5,
|
| 898 |
+
"background-image-opacity": 1,
|
| 899 |
+
"text-wrap": "wrap",
|
| 900 |
+
"font-size": 14,
|
| 901 |
+
"font-family": "Helvetica",
|
| 902 |
+
"font-style": "normal",
|
| 903 |
+
"font-weight": "normal",
|
| 904 |
+
"color": "#000",
|
| 905 |
+
"background-image": "",
|
| 906 |
+
"ports": [],
|
| 907 |
+
"infoboxCalculated": true,
|
| 908 |
+
"auxunitlayouts": {}
|
| 909 |
+
},
|
| 910 |
+
"position": {
|
| 911 |
+
"x": 680.3516228408145,
|
| 912 |
+
"y": 630.668057701942
|
| 913 |
+
},
|
| 914 |
+
"group": "nodes",
|
| 915 |
+
"removed": false,
|
| 916 |
+
"selected": false,
|
| 917 |
+
"selectable": true,
|
| 918 |
+
"locked": false,
|
| 919 |
+
"grabbable": true,
|
| 920 |
+
"classes": ""
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"data": {
|
| 924 |
+
"id": "nwtN_c5547527-64c5-4e4d-acb8-e3f7e6b0a9a5",
|
| 925 |
+
"bbox": {
|
| 926 |
+
"x": 734.0139511878505,
|
| 927 |
+
"y": 661.6729585246738,
|
| 928 |
+
"w": 75,
|
| 929 |
+
"h": 75
|
| 930 |
+
},
|
| 931 |
+
"class": "simple chemical",
|
| 932 |
+
"label": "s15",
|
| 933 |
+
"statesandinfos": [],
|
| 934 |
+
"parent": "nwtN_13b19118-54eb-4400-a949-ca664386ec06",
|
| 935 |
+
"language": "PD",
|
| 936 |
+
"border-width": 1.25,
|
| 937 |
+
"border-color": "#555555",
|
| 938 |
+
"background-color": "#fddbc7",
|
| 939 |
+
"background-opacity": 1,
|
| 940 |
+
"background-image-opacity": 1,
|
| 941 |
+
"text-wrap": "wrap",
|
| 942 |
+
"font-size": 26,
|
| 943 |
+
"font-family": "Helvetica",
|
| 944 |
+
"font-style": "normal",
|
| 945 |
+
"font-weight": "bold",
|
| 946 |
+
"color": "#000000",
|
| 947 |
+
"background-image": "",
|
| 948 |
+
"ports": [],
|
| 949 |
+
"infoboxCalculated": true,
|
| 950 |
+
"auxunitlayouts": {}
|
| 951 |
+
},
|
| 952 |
+
"position": {
|
| 953 |
+
"x": 734.0139511878505,
|
| 954 |
+
"y": 661.6729585246738
|
| 955 |
+
},
|
| 956 |
+
"group": "nodes",
|
| 957 |
+
"removed": false,
|
| 958 |
+
"selected": false,
|
| 959 |
+
"selectable": true,
|
| 960 |
+
"locked": false,
|
| 961 |
+
"grabbable": true,
|
| 962 |
+
"classes": ""
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"data": {
|
| 966 |
+
"id": "nwtN_6bf42b3c-579e-4187-8299-cb314373c278",
|
| 967 |
+
"bbox": {
|
| 968 |
+
"x": 626.6892944937784,
|
| 969 |
+
"y": 627.0905691454727,
|
| 970 |
+
"w": 75,
|
| 971 |
+
"h": 75
|
| 972 |
+
},
|
| 973 |
+
"class": "simple chemical",
|
| 974 |
+
"label": "s16",
|
| 975 |
+
"statesandinfos": [],
|
| 976 |
+
"parent": "nwtN_13b19118-54eb-4400-a949-ca664386ec06",
|
| 977 |
+
"language": "PD",
|
| 978 |
+
"border-width": 1.25,
|
| 979 |
+
"border-color": "#555555",
|
| 980 |
+
"background-color": "#fddbc7",
|
| 981 |
+
"background-opacity": 1,
|
| 982 |
+
"background-image-opacity": 1,
|
| 983 |
+
"text-wrap": "wrap",
|
| 984 |
+
"font-size": 26,
|
| 985 |
+
"font-family": "Helvetica",
|
| 986 |
+
"font-style": "normal",
|
| 987 |
+
"font-weight": "bold",
|
| 988 |
+
"color": "#000000",
|
| 989 |
+
"background-image": "",
|
| 990 |
+
"ports": [],
|
| 991 |
+
"infoboxCalculated": true,
|
| 992 |
+
"auxunitlayouts": {}
|
| 993 |
+
},
|
| 994 |
+
"position": {
|
| 995 |
+
"x": 626.6892944937784,
|
| 996 |
+
"y": 627.0905691454727
|
| 997 |
+
},
|
| 998 |
+
"group": "nodes",
|
| 999 |
+
"removed": false,
|
| 1000 |
+
"selected": false,
|
| 1001 |
+
"selectable": true,
|
| 1002 |
+
"locked": false,
|
| 1003 |
+
"grabbable": true,
|
| 1004 |
+
"classes": ""
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"data": {
|
| 1008 |
+
"id": "nwtN_4d424656-f0bb-4154-9a51-1d15429c8f71",
|
| 1009 |
+
"bbox": {
|
| 1010 |
+
"x": 726.8589740749126,
|
| 1011 |
+
"y": 599.66315687921,
|
| 1012 |
+
"w": 75,
|
| 1013 |
+
"h": 75
|
| 1014 |
+
},
|
| 1015 |
+
"class": "simple chemical",
|
| 1016 |
+
"label": "s14",
|
| 1017 |
+
"statesandinfos": [],
|
| 1018 |
+
"parent": "nwtN_13b19118-54eb-4400-a949-ca664386ec06",
|
| 1019 |
+
"language": "PD",
|
| 1020 |
+
"border-width": 1.25,
|
| 1021 |
+
"border-color": "#555555",
|
| 1022 |
+
"background-color": "#fddbc7",
|
| 1023 |
+
"background-opacity": 1,
|
| 1024 |
+
"background-image-opacity": 1,
|
| 1025 |
+
"text-wrap": "wrap",
|
| 1026 |
+
"font-size": 26,
|
| 1027 |
+
"font-family": "Helvetica",
|
| 1028 |
+
"font-style": "normal",
|
| 1029 |
+
"font-weight": "bold",
|
| 1030 |
+
"color": "#000000",
|
| 1031 |
+
"background-image": "",
|
| 1032 |
+
"ports": [],
|
| 1033 |
+
"infoboxCalculated": true,
|
| 1034 |
+
"auxunitlayouts": {}
|
| 1035 |
+
},
|
| 1036 |
+
"position": {
|
| 1037 |
+
"x": 726.8589740749126,
|
| 1038 |
+
"y": 599.66315687921
|
| 1039 |
+
},
|
| 1040 |
+
"group": "nodes",
|
| 1041 |
+
"removed": false,
|
| 1042 |
+
"selected": false,
|
| 1043 |
+
"selectable": true,
|
| 1044 |
+
"locked": false,
|
| 1045 |
+
"grabbable": true,
|
| 1046 |
+
"classes": ""
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"data": {
|
| 1050 |
+
"id": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 1051 |
+
"bbox": {
|
| 1052 |
+
"x": 681.5441190263043,
|
| 1053 |
+
"y": 631.8605538874315,
|
| 1054 |
+
"w": 75,
|
| 1055 |
+
"h": 75
|
| 1056 |
+
},
|
| 1057 |
+
"class": "simple chemical",
|
| 1058 |
+
"label": "s13",
|
| 1059 |
+
"statesandinfos": [],
|
| 1060 |
+
"parent": "nwtN_13b19118-54eb-4400-a949-ca664386ec06",
|
| 1061 |
+
"language": "PD",
|
| 1062 |
+
"border-width": 1.25,
|
| 1063 |
+
"border-color": "#555555",
|
| 1064 |
+
"background-color": "#fddbc7",
|
| 1065 |
+
"background-opacity": 1,
|
| 1066 |
+
"background-image-opacity": 1,
|
| 1067 |
+
"text-wrap": "wrap",
|
| 1068 |
+
"font-size": 26,
|
| 1069 |
+
"font-family": "Helvetica",
|
| 1070 |
+
"font-style": "normal",
|
| 1071 |
+
"font-weight": "bold",
|
| 1072 |
+
"color": "#000000",
|
| 1073 |
+
"background-image": "",
|
| 1074 |
+
"ports": [],
|
| 1075 |
+
"infoboxCalculated": true,
|
| 1076 |
+
"auxunitlayouts": {}
|
| 1077 |
+
},
|
| 1078 |
+
"position": {
|
| 1079 |
+
"x": 681.5441190263043,
|
| 1080 |
+
"y": 631.8605538874315
|
| 1081 |
+
},
|
| 1082 |
+
"group": "nodes",
|
| 1083 |
+
"removed": false,
|
| 1084 |
+
"selected": false,
|
| 1085 |
+
"selectable": true,
|
| 1086 |
+
"locked": false,
|
| 1087 |
+
"grabbable": true,
|
| 1088 |
+
"classes": ""
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"data": {
|
| 1092 |
+
"id": "0fcd19b1-d058-1326-c349-64cc1fce6569",
|
| 1093 |
+
"bbox": {
|
| 1094 |
+
"x": 880.0889730362344,
|
| 1095 |
+
"y": 655.0860634639737,
|
| 1096 |
+
"w": 178.41967958113423,
|
| 1097 |
+
"h": 165.30222154074738
|
| 1098 |
+
},
|
| 1099 |
+
"originalW": 206.41967958113423,
|
| 1100 |
+
"originalH": 193.30222154074738,
|
| 1101 |
+
"class": "submap",
|
| 1102 |
+
"statesandinfos": [],
|
| 1103 |
+
"language": "PD",
|
| 1104 |
+
"border-width": 2.25,
|
| 1105 |
+
"border-color": "#555555",
|
| 1106 |
+
"background-color": "#f7f7f7",
|
| 1107 |
+
"background-opacity": 0.5,
|
| 1108 |
+
"background-image-opacity": 1,
|
| 1109 |
+
"text-wrap": "wrap",
|
| 1110 |
+
"font-size": 14,
|
| 1111 |
+
"font-family": "Helvetica",
|
| 1112 |
+
"font-style": "normal",
|
| 1113 |
+
"font-weight": "normal",
|
| 1114 |
+
"color": "#000",
|
| 1115 |
+
"background-image": "",
|
| 1116 |
+
"ports": [],
|
| 1117 |
+
"infoboxCalculated": true,
|
| 1118 |
+
"auxunitlayouts": {}
|
| 1119 |
+
},
|
| 1120 |
+
"position": {
|
| 1121 |
+
"x": 880.0889730362344,
|
| 1122 |
+
"y": 655.0860634639737
|
| 1123 |
+
},
|
| 1124 |
+
"group": "nodes",
|
| 1125 |
+
"removed": false,
|
| 1126 |
+
"selected": false,
|
| 1127 |
+
"selectable": true,
|
| 1128 |
+
"locked": false,
|
| 1129 |
+
"grabbable": true,
|
| 1130 |
+
"classes": ""
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"data": {
|
| 1134 |
+
"id": "3aa07735-3104-5ae3-5b94-16be7319a912",
|
| 1135 |
+
"bbox": {
|
| 1136 |
+
"x": 930.1738128268015,
|
| 1137 |
+
"y": 664.0297848551465,
|
| 1138 |
+
"w": 75,
|
| 1139 |
+
"h": 75
|
| 1140 |
+
},
|
| 1141 |
+
"class": "simple chemical",
|
| 1142 |
+
"label": "s18",
|
| 1143 |
+
"statesandinfos": [],
|
| 1144 |
+
"parent": "0fcd19b1-d058-1326-c349-64cc1fce6569",
|
| 1145 |
+
"language": "PD",
|
| 1146 |
+
"border-width": 1.25,
|
| 1147 |
+
"border-color": "#555555",
|
| 1148 |
+
"background-color": "#fddbc7",
|
| 1149 |
+
"background-opacity": 1,
|
| 1150 |
+
"background-image-opacity": 1,
|
| 1151 |
+
"text-wrap": "wrap",
|
| 1152 |
+
"font-size": 26,
|
| 1153 |
+
"font-family": "Helvetica",
|
| 1154 |
+
"font-style": "normal",
|
| 1155 |
+
"font-weight": "bold",
|
| 1156 |
+
"color": "#000000",
|
| 1157 |
+
"background-image": "",
|
| 1158 |
+
"ports": [],
|
| 1159 |
+
"infoboxCalculated": true,
|
| 1160 |
+
"auxunitlayouts": {}
|
| 1161 |
+
},
|
| 1162 |
+
"position": {
|
| 1163 |
+
"x": 930.1738128268015,
|
| 1164 |
+
"y": 664.0297848551465
|
| 1165 |
+
},
|
| 1166 |
+
"group": "nodes",
|
| 1167 |
+
"removed": false,
|
| 1168 |
+
"selected": false,
|
| 1169 |
+
"selectable": true,
|
| 1170 |
+
"locked": false,
|
| 1171 |
+
"grabbable": true,
|
| 1172 |
+
"classes": ""
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"data": {
|
| 1176 |
+
"id": "212adf44-8401-5b11-c49a-b43b67369698",
|
| 1177 |
+
"bbox": {
|
| 1178 |
+
"x": 832.3891256166468,
|
| 1179 |
+
"y": 698.6121742343474,
|
| 1180 |
+
"w": 75,
|
| 1181 |
+
"h": 75
|
| 1182 |
+
},
|
| 1183 |
+
"class": "simple chemical",
|
| 1184 |
+
"label": "s20",
|
| 1185 |
+
"statesandinfos": [],
|
| 1186 |
+
"parent": "0fcd19b1-d058-1326-c349-64cc1fce6569",
|
| 1187 |
+
"language": "PD",
|
| 1188 |
+
"border-width": 1.25,
|
| 1189 |
+
"border-color": "#555555",
|
| 1190 |
+
"background-color": "#fddbc7",
|
| 1191 |
+
"background-opacity": 1,
|
| 1192 |
+
"background-image-opacity": 1,
|
| 1193 |
+
"text-wrap": "wrap",
|
| 1194 |
+
"font-size": 26,
|
| 1195 |
+
"font-family": "Helvetica",
|
| 1196 |
+
"font-style": "normal",
|
| 1197 |
+
"font-weight": "bold",
|
| 1198 |
+
"color": "#000000",
|
| 1199 |
+
"background-image": "",
|
| 1200 |
+
"ports": [],
|
| 1201 |
+
"infoboxCalculated": true,
|
| 1202 |
+
"auxunitlayouts": {}
|
| 1203 |
+
},
|
| 1204 |
+
"position": {
|
| 1205 |
+
"x": 832.3891256166468,
|
| 1206 |
+
"y": 698.6121742343474
|
| 1207 |
+
},
|
| 1208 |
+
"group": "nodes",
|
| 1209 |
+
"removed": false,
|
| 1210 |
+
"selected": false,
|
| 1211 |
+
"selectable": true,
|
| 1212 |
+
"locked": false,
|
| 1213 |
+
"grabbable": true,
|
| 1214 |
+
"classes": ""
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"data": {
|
| 1218 |
+
"id": "4f9485a2-a66f-2cf1-cc4e-126f7889fcd0",
|
| 1219 |
+
"bbox": {
|
| 1220 |
+
"x": 830.0041332456673,
|
| 1221 |
+
"y": 611.5599526936,
|
| 1222 |
+
"w": 75,
|
| 1223 |
+
"h": 75
|
| 1224 |
+
},
|
| 1225 |
+
"class": "simple chemical",
|
| 1226 |
+
"label": "s19",
|
| 1227 |
+
"statesandinfos": [],
|
| 1228 |
+
"parent": "0fcd19b1-d058-1326-c349-64cc1fce6569",
|
| 1229 |
+
"language": "PD",
|
| 1230 |
+
"border-width": 1.25,
|
| 1231 |
+
"border-color": "#555555",
|
| 1232 |
+
"background-color": "#fddbc7",
|
| 1233 |
+
"background-opacity": 1,
|
| 1234 |
+
"background-image-opacity": 1,
|
| 1235 |
+
"text-wrap": "wrap",
|
| 1236 |
+
"font-size": 26,
|
| 1237 |
+
"font-family": "Helvetica",
|
| 1238 |
+
"font-style": "normal",
|
| 1239 |
+
"font-weight": "bold",
|
| 1240 |
+
"color": "#000000",
|
| 1241 |
+
"background-image": "",
|
| 1242 |
+
"ports": [],
|
| 1243 |
+
"infoboxCalculated": true,
|
| 1244 |
+
"auxunitlayouts": {}
|
| 1245 |
+
},
|
| 1246 |
+
"position": {
|
| 1247 |
+
"x": 830.0041332456673,
|
| 1248 |
+
"y": 611.5599526936
|
| 1249 |
+
},
|
| 1250 |
+
"group": "nodes",
|
| 1251 |
+
"removed": false,
|
| 1252 |
+
"selected": false,
|
| 1253 |
+
"selectable": true,
|
| 1254 |
+
"locked": false,
|
| 1255 |
+
"grabbable": true,
|
| 1256 |
+
"classes": ""
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"data": {
|
| 1260 |
+
"id": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 1261 |
+
"bbox": {
|
| 1262 |
+
"x": 875.3189882942758,
|
| 1263 |
+
"y": 654.4898153712289,
|
| 1264 |
+
"w": 75,
|
| 1265 |
+
"h": 75
|
| 1266 |
+
},
|
| 1267 |
+
"class": "simple chemical",
|
| 1268 |
+
"label": "s17",
|
| 1269 |
+
"statesandinfos": [],
|
| 1270 |
+
"parent": "0fcd19b1-d058-1326-c349-64cc1fce6569",
|
| 1271 |
+
"language": "PD",
|
| 1272 |
+
"border-width": 1.25,
|
| 1273 |
+
"border-color": "#555555",
|
| 1274 |
+
"background-color": "#fddbc7",
|
| 1275 |
+
"background-opacity": 1,
|
| 1276 |
+
"background-image-opacity": 1,
|
| 1277 |
+
"text-wrap": "wrap",
|
| 1278 |
+
"font-size": 26,
|
| 1279 |
+
"font-family": "Helvetica",
|
| 1280 |
+
"font-style": "normal",
|
| 1281 |
+
"font-weight": "bold",
|
| 1282 |
+
"color": "#000000",
|
| 1283 |
+
"background-image": "",
|
| 1284 |
+
"ports": [],
|
| 1285 |
+
"infoboxCalculated": true,
|
| 1286 |
+
"auxunitlayouts": {}
|
| 1287 |
+
},
|
| 1288 |
+
"position": {
|
| 1289 |
+
"x": 875.3189882942758,
|
| 1290 |
+
"y": 654.4898153712289
|
| 1291 |
+
},
|
| 1292 |
+
"group": "nodes",
|
| 1293 |
+
"removed": false,
|
| 1294 |
+
"selected": false,
|
| 1295 |
+
"selectable": true,
|
| 1296 |
+
"locked": false,
|
| 1297 |
+
"grabbable": true,
|
| 1298 |
+
"classes": ""
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"data": {
|
| 1302 |
+
"id": "b4dac823-ff22-5ee3-02f8-825fcda40038",
|
| 1303 |
+
"bbox": {
|
| 1304 |
+
"x": 1150.256078598176,
|
| 1305 |
+
"y": 628.0465159213652,
|
| 1306 |
+
"w": 185.57465669407156,
|
| 1307 |
+
"h": 140.25980164546388
|
| 1308 |
+
},
|
| 1309 |
+
"originalW": 213.57465669407156,
|
| 1310 |
+
"originalH": 168.25980164546388,
|
| 1311 |
+
"class": "submap",
|
| 1312 |
+
"statesandinfos": [],
|
| 1313 |
+
"language": "PD",
|
| 1314 |
+
"border-width": 2.25,
|
| 1315 |
+
"border-color": "#555555",
|
| 1316 |
+
"background-color": "#f7f7f7",
|
| 1317 |
+
"background-opacity": 0.5,
|
| 1318 |
+
"background-image-opacity": 1,
|
| 1319 |
+
"text-wrap": "wrap",
|
| 1320 |
+
"font-size": 14,
|
| 1321 |
+
"font-family": "Helvetica",
|
| 1322 |
+
"font-style": "normal",
|
| 1323 |
+
"font-weight": "normal",
|
| 1324 |
+
"color": "#000",
|
| 1325 |
+
"background-image": "",
|
| 1326 |
+
"ports": [],
|
| 1327 |
+
"infoboxCalculated": true,
|
| 1328 |
+
"auxunitlayouts": {}
|
| 1329 |
+
},
|
| 1330 |
+
"position": {
|
| 1331 |
+
"x": 1150.256078598176,
|
| 1332 |
+
"y": 628.0465159213652
|
| 1333 |
+
},
|
| 1334 |
+
"group": "nodes",
|
| 1335 |
+
"removed": false,
|
| 1336 |
+
"selected": false,
|
| 1337 |
+
"selectable": true,
|
| 1338 |
+
"locked": false,
|
| 1339 |
+
"grabbable": true,
|
| 1340 |
+
"classes": ""
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"data": {
|
| 1344 |
+
"id": "f1bf3c87-1357-3ce2-4645-8cb4ed59ac9b",
|
| 1345 |
+
"bbox": {
|
| 1346 |
+
"x": 1203.9184069452117,
|
| 1347 |
+
"y": 659.0514167440972,
|
| 1348 |
+
"w": 75,
|
| 1349 |
+
"h": 75
|
| 1350 |
+
},
|
| 1351 |
+
"class": "simple chemical",
|
| 1352 |
+
"label": "s23",
|
| 1353 |
+
"statesandinfos": [],
|
| 1354 |
+
"parent": "b4dac823-ff22-5ee3-02f8-825fcda40038",
|
| 1355 |
+
"language": "PD",
|
| 1356 |
+
"border-width": 1.25,
|
| 1357 |
+
"border-color": "#555555",
|
| 1358 |
+
"background-color": "#fddbc7",
|
| 1359 |
+
"background-opacity": 1,
|
| 1360 |
+
"background-image-opacity": 1,
|
| 1361 |
+
"text-wrap": "wrap",
|
| 1362 |
+
"font-size": 26,
|
| 1363 |
+
"font-family": "Helvetica",
|
| 1364 |
+
"font-style": "normal",
|
| 1365 |
+
"font-weight": "bold",
|
| 1366 |
+
"color": "#000000",
|
| 1367 |
+
"background-image": "",
|
| 1368 |
+
"ports": [],
|
| 1369 |
+
"infoboxCalculated": true,
|
| 1370 |
+
"auxunitlayouts": {}
|
| 1371 |
+
},
|
| 1372 |
+
"position": {
|
| 1373 |
+
"x": 1203.9184069452117,
|
| 1374 |
+
"y": 659.0514167440972
|
| 1375 |
+
},
|
| 1376 |
+
"group": "nodes",
|
| 1377 |
+
"removed": false,
|
| 1378 |
+
"selected": false,
|
| 1379 |
+
"selectable": true,
|
| 1380 |
+
"locked": false,
|
| 1381 |
+
"grabbable": true,
|
| 1382 |
+
"classes": ""
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"data": {
|
| 1386 |
+
"id": "2f96a4e1-9767-4df9-6ad7-a4010baa376b",
|
| 1387 |
+
"bbox": {
|
| 1388 |
+
"x": 1096.5937502511401,
|
| 1389 |
+
"y": 624.4690273648961,
|
| 1390 |
+
"w": 75,
|
| 1391 |
+
"h": 75
|
| 1392 |
+
},
|
| 1393 |
+
"class": "simple chemical",
|
| 1394 |
+
"label": "s24",
|
| 1395 |
+
"statesandinfos": [],
|
| 1396 |
+
"parent": "b4dac823-ff22-5ee3-02f8-825fcda40038",
|
| 1397 |
+
"language": "PD",
|
| 1398 |
+
"border-width": 1.25,
|
| 1399 |
+
"border-color": "#555555",
|
| 1400 |
+
"background-color": "#fddbc7",
|
| 1401 |
+
"background-opacity": 1,
|
| 1402 |
+
"background-image-opacity": 1,
|
| 1403 |
+
"text-wrap": "wrap",
|
| 1404 |
+
"font-size": 26,
|
| 1405 |
+
"font-family": "Helvetica",
|
| 1406 |
+
"font-style": "normal",
|
| 1407 |
+
"font-weight": "bold",
|
| 1408 |
+
"color": "#000000",
|
| 1409 |
+
"background-image": "",
|
| 1410 |
+
"ports": [],
|
| 1411 |
+
"infoboxCalculated": true,
|
| 1412 |
+
"auxunitlayouts": {}
|
| 1413 |
+
},
|
| 1414 |
+
"position": {
|
| 1415 |
+
"x": 1096.5937502511401,
|
| 1416 |
+
"y": 624.4690273648961
|
| 1417 |
+
},
|
| 1418 |
+
"group": "nodes",
|
| 1419 |
+
"removed": false,
|
| 1420 |
+
"selected": false,
|
| 1421 |
+
"selectable": true,
|
| 1422 |
+
"locked": false,
|
| 1423 |
+
"grabbable": true,
|
| 1424 |
+
"classes": ""
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"data": {
|
| 1428 |
+
"id": "cae247cf-9ad9-695c-4042-09cfd4f23475",
|
| 1429 |
+
"bbox": {
|
| 1430 |
+
"x": 1196.7634298322737,
|
| 1431 |
+
"y": 597.0416150986333,
|
| 1432 |
+
"w": 75,
|
| 1433 |
+
"h": 75
|
| 1434 |
+
},
|
| 1435 |
+
"class": "simple chemical",
|
| 1436 |
+
"label": "s22",
|
| 1437 |
+
"statesandinfos": [],
|
| 1438 |
+
"parent": "b4dac823-ff22-5ee3-02f8-825fcda40038",
|
| 1439 |
+
"language": "PD",
|
| 1440 |
+
"border-width": 1.25,
|
| 1441 |
+
"border-color": "#555555",
|
| 1442 |
+
"background-color": "#fddbc7",
|
| 1443 |
+
"background-opacity": 1,
|
| 1444 |
+
"background-image-opacity": 1,
|
| 1445 |
+
"text-wrap": "wrap",
|
| 1446 |
+
"font-size": 26,
|
| 1447 |
+
"font-family": "Helvetica",
|
| 1448 |
+
"font-style": "normal",
|
| 1449 |
+
"font-weight": "bold",
|
| 1450 |
+
"color": "#000000",
|
| 1451 |
+
"background-image": "",
|
| 1452 |
+
"ports": [],
|
| 1453 |
+
"infoboxCalculated": true,
|
| 1454 |
+
"auxunitlayouts": {}
|
| 1455 |
+
},
|
| 1456 |
+
"position": {
|
| 1457 |
+
"x": 1196.7634298322737,
|
| 1458 |
+
"y": 597.0416150986333
|
| 1459 |
+
},
|
| 1460 |
+
"group": "nodes",
|
| 1461 |
+
"removed": false,
|
| 1462 |
+
"selected": false,
|
| 1463 |
+
"selectable": true,
|
| 1464 |
+
"locked": false,
|
| 1465 |
+
"grabbable": true,
|
| 1466 |
+
"classes": ""
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"data": {
|
| 1470 |
+
"id": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 1471 |
+
"bbox": {
|
| 1472 |
+
"x": 1151.4485747836657,
|
| 1473 |
+
"y": 629.2390121068548,
|
| 1474 |
+
"w": 75,
|
| 1475 |
+
"h": 75
|
| 1476 |
+
},
|
| 1477 |
+
"class": "simple chemical",
|
| 1478 |
+
"label": "s21",
|
| 1479 |
+
"statesandinfos": [],
|
| 1480 |
+
"parent": "b4dac823-ff22-5ee3-02f8-825fcda40038",
|
| 1481 |
+
"language": "PD",
|
| 1482 |
+
"border-width": 1.25,
|
| 1483 |
+
"border-color": "#555555",
|
| 1484 |
+
"background-color": "#fddbc7",
|
| 1485 |
+
"background-opacity": 1,
|
| 1486 |
+
"background-image-opacity": 1,
|
| 1487 |
+
"text-wrap": "wrap",
|
| 1488 |
+
"font-size": 26,
|
| 1489 |
+
"font-family": "Helvetica",
|
| 1490 |
+
"font-style": "normal",
|
| 1491 |
+
"font-weight": "bold",
|
| 1492 |
+
"color": "#000000",
|
| 1493 |
+
"background-image": "",
|
| 1494 |
+
"ports": [],
|
| 1495 |
+
"infoboxCalculated": true,
|
| 1496 |
+
"auxunitlayouts": {}
|
| 1497 |
+
},
|
| 1498 |
+
"position": {
|
| 1499 |
+
"x": 1151.4485747836657,
|
| 1500 |
+
"y": 629.2390121068548
|
| 1501 |
+
},
|
| 1502 |
+
"group": "nodes",
|
| 1503 |
+
"removed": false,
|
| 1504 |
+
"selected": false,
|
| 1505 |
+
"selectable": true,
|
| 1506 |
+
"locked": false,
|
| 1507 |
+
"grabbable": true,
|
| 1508 |
+
"classes": ""
|
| 1509 |
+
}
|
| 1510 |
+
],
|
| 1511 |
+
"edges": [
|
| 1512 |
+
{
|
| 1513 |
+
"data": {
|
| 1514 |
+
"id": "nwtE_506a6914-916d-4822-ad99-2417ef62f8cd",
|
| 1515 |
+
"class": "production",
|
| 1516 |
+
"bendPointPositions": [],
|
| 1517 |
+
"language": "PD",
|
| 1518 |
+
"line-color": "#555555",
|
| 1519 |
+
"width": 1.25,
|
| 1520 |
+
"background-image": "",
|
| 1521 |
+
"background-color": "#ffffff",
|
| 1522 |
+
"cardinality": 0,
|
| 1523 |
+
"source": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 1524 |
+
"target": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 1525 |
+
"portsource": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 1526 |
+
"porttarget": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c"
|
| 1527 |
+
},
|
| 1528 |
+
"position": {},
|
| 1529 |
+
"group": "edges",
|
| 1530 |
+
"removed": false,
|
| 1531 |
+
"selected": false,
|
| 1532 |
+
"selectable": true,
|
| 1533 |
+
"locked": false,
|
| 1534 |
+
"grabbable": true,
|
| 1535 |
+
"classes": ""
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"data": {
|
| 1539 |
+
"id": "dc17f173-0623-8bac-2b1f-edac5f91ccef",
|
| 1540 |
+
"class": "production",
|
| 1541 |
+
"bendPointPositions": [],
|
| 1542 |
+
"language": "PD",
|
| 1543 |
+
"line-color": "#555555",
|
| 1544 |
+
"width": 1.25,
|
| 1545 |
+
"background-image": "",
|
| 1546 |
+
"background-color": "#ffffff",
|
| 1547 |
+
"cardinality": 0,
|
| 1548 |
+
"source": "cae247cf-9ad9-695c-4042-09cfd4f23475",
|
| 1549 |
+
"target": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 1550 |
+
"portsource": "cae247cf-9ad9-695c-4042-09cfd4f23475",
|
| 1551 |
+
"porttarget": "3ea6020e-8918-8abf-a8e5-62427070f84f"
|
| 1552 |
+
},
|
| 1553 |
+
"position": {},
|
| 1554 |
+
"group": "edges",
|
| 1555 |
+
"removed": false,
|
| 1556 |
+
"selected": false,
|
| 1557 |
+
"selectable": true,
|
| 1558 |
+
"locked": false,
|
| 1559 |
+
"grabbable": true,
|
| 1560 |
+
"classes": ""
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"data": {
|
| 1564 |
+
"id": "nwtE_fb874a56-2ff6-4ad3-862f-0cabfda9fbbe",
|
| 1565 |
+
"class": "consumption",
|
| 1566 |
+
"bendPointPositions": [],
|
| 1567 |
+
"language": "PD",
|
| 1568 |
+
"line-color": "#555555",
|
| 1569 |
+
"width": 1.25,
|
| 1570 |
+
"background-image": "",
|
| 1571 |
+
"background-color": "#ffffff",
|
| 1572 |
+
"cardinality": 0,
|
| 1573 |
+
"source": "nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 1574 |
+
"target": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 1575 |
+
"portsource": "nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 1576 |
+
"porttarget": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134"
|
| 1577 |
+
},
|
| 1578 |
+
"position": {},
|
| 1579 |
+
"group": "edges",
|
| 1580 |
+
"removed": false,
|
| 1581 |
+
"selected": false,
|
| 1582 |
+
"selectable": true,
|
| 1583 |
+
"locked": false,
|
| 1584 |
+
"grabbable": true,
|
| 1585 |
+
"classes": ""
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"data": {
|
| 1589 |
+
"id": "nwtE_c9636997-63c2-4bee-ae9f-d07ea6e2cb43",
|
| 1590 |
+
"class": "consumption",
|
| 1591 |
+
"bendPointPositions": [],
|
| 1592 |
+
"language": "PD",
|
| 1593 |
+
"line-color": "#555555",
|
| 1594 |
+
"width": 1.25,
|
| 1595 |
+
"background-image": "",
|
| 1596 |
+
"background-color": "#ffffff",
|
| 1597 |
+
"cardinality": 0,
|
| 1598 |
+
"source": "nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 1599 |
+
"target": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 1600 |
+
"portsource": "nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 1601 |
+
"porttarget": "661498c7-ace9-bd34-0289-7c9931d3e1ba"
|
| 1602 |
+
},
|
| 1603 |
+
"position": {},
|
| 1604 |
+
"group": "edges",
|
| 1605 |
+
"removed": false,
|
| 1606 |
+
"selected": false,
|
| 1607 |
+
"selectable": true,
|
| 1608 |
+
"locked": false,
|
| 1609 |
+
"grabbable": true,
|
| 1610 |
+
"classes": ""
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"data": {
|
| 1614 |
+
"id": "nwtE_9d07cf77-da86-48b4-9626-9bc6f90143b5",
|
| 1615 |
+
"class": "consumption",
|
| 1616 |
+
"bendPointPositions": [],
|
| 1617 |
+
"language": "PD",
|
| 1618 |
+
"line-color": "#555555",
|
| 1619 |
+
"width": 1.25,
|
| 1620 |
+
"background-image": "",
|
| 1621 |
+
"background-color": "#ffffff",
|
| 1622 |
+
"cardinality": 0,
|
| 1623 |
+
"source": "nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 1624 |
+
"target": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 1625 |
+
"portsource": "nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 1626 |
+
"porttarget": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c"
|
| 1627 |
+
},
|
| 1628 |
+
"position": {},
|
| 1629 |
+
"group": "edges",
|
| 1630 |
+
"removed": false,
|
| 1631 |
+
"selected": false,
|
| 1632 |
+
"selectable": true,
|
| 1633 |
+
"locked": false,
|
| 1634 |
+
"grabbable": true,
|
| 1635 |
+
"classes": ""
|
| 1636 |
+
},
|
| 1637 |
+
{
|
| 1638 |
+
"data": {
|
| 1639 |
+
"id": "nwtE_800ad693-8319-44d5-b92a-2b6ec4e4e8fa",
|
| 1640 |
+
"class": "production",
|
| 1641 |
+
"bendPointPositions": [],
|
| 1642 |
+
"language": "PD",
|
| 1643 |
+
"line-color": "#555555",
|
| 1644 |
+
"width": 1.25,
|
| 1645 |
+
"background-image": "",
|
| 1646 |
+
"background-color": "#ffffff",
|
| 1647 |
+
"cardinality": 0,
|
| 1648 |
+
"source": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 1649 |
+
"target": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 1650 |
+
"portsource": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 1651 |
+
"porttarget": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c"
|
| 1652 |
+
},
|
| 1653 |
+
"position": {},
|
| 1654 |
+
"group": "edges",
|
| 1655 |
+
"removed": false,
|
| 1656 |
+
"selected": false,
|
| 1657 |
+
"selectable": true,
|
| 1658 |
+
"locked": false,
|
| 1659 |
+
"grabbable": true,
|
| 1660 |
+
"classes": ""
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"data": {
|
| 1664 |
+
"id": "nwtE_7c04db5c-d599-40e2-830f-bd36c28457f1",
|
| 1665 |
+
"class": "production",
|
| 1666 |
+
"bendPointPositions": [],
|
| 1667 |
+
"language": "PD",
|
| 1668 |
+
"line-color": "#555555",
|
| 1669 |
+
"width": 1.25,
|
| 1670 |
+
"background-image": "",
|
| 1671 |
+
"background-color": "#ffffff",
|
| 1672 |
+
"cardinality": 0,
|
| 1673 |
+
"source": "nwtN_5c29f820-d40e-4c85-b7b6-c7b8a378b49d",
|
| 1674 |
+
"target": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 1675 |
+
"portsource": "nwtN_5c29f820-d40e-4c85-b7b6-c7b8a378b49d",
|
| 1676 |
+
"porttarget": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661"
|
| 1677 |
+
},
|
| 1678 |
+
"position": {},
|
| 1679 |
+
"group": "edges",
|
| 1680 |
+
"removed": false,
|
| 1681 |
+
"selected": false,
|
| 1682 |
+
"selectable": true,
|
| 1683 |
+
"locked": false,
|
| 1684 |
+
"grabbable": true,
|
| 1685 |
+
"classes": ""
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"data": {
|
| 1689 |
+
"id": "nwtE_4aa3c2db-45bc-4058-91ea-acefd5b0e2bd",
|
| 1690 |
+
"class": "production",
|
| 1691 |
+
"bendPointPositions": [],
|
| 1692 |
+
"language": "PD",
|
| 1693 |
+
"line-color": "#555555",
|
| 1694 |
+
"width": 1.25,
|
| 1695 |
+
"background-image": "",
|
| 1696 |
+
"background-color": "#ffffff",
|
| 1697 |
+
"cardinality": 0,
|
| 1698 |
+
"source": "nwtN_348778d0-85d5-442f-b73a-9dd9f5d9f2b3",
|
| 1699 |
+
"target": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 1700 |
+
"portsource": "nwtN_348778d0-85d5-442f-b73a-9dd9f5d9f2b3",
|
| 1701 |
+
"porttarget": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661"
|
| 1702 |
+
},
|
| 1703 |
+
"position": {},
|
| 1704 |
+
"group": "edges",
|
| 1705 |
+
"removed": false,
|
| 1706 |
+
"selected": false,
|
| 1707 |
+
"selectable": true,
|
| 1708 |
+
"locked": false,
|
| 1709 |
+
"grabbable": true,
|
| 1710 |
+
"classes": ""
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"data": {
|
| 1714 |
+
"id": "nwtE_0abb0b43-af9c-4579-823d-47b3acefb54b",
|
| 1715 |
+
"class": "production",
|
| 1716 |
+
"bendPointPositions": [],
|
| 1717 |
+
"language": "PD",
|
| 1718 |
+
"line-color": "#555555",
|
| 1719 |
+
"width": 1.25,
|
| 1720 |
+
"background-image": "",
|
| 1721 |
+
"background-color": "#ffffff",
|
| 1722 |
+
"cardinality": 0,
|
| 1723 |
+
"source": "nwtN_78116f70-d871-4b8e-83cf-7b3a684067a7",
|
| 1724 |
+
"target": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 1725 |
+
"portsource": "nwtN_78116f70-d871-4b8e-83cf-7b3a684067a7",
|
| 1726 |
+
"porttarget": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661"
|
| 1727 |
+
},
|
| 1728 |
+
"position": {},
|
| 1729 |
+
"group": "edges",
|
| 1730 |
+
"removed": false,
|
| 1731 |
+
"selected": false,
|
| 1732 |
+
"selectable": true,
|
| 1733 |
+
"locked": false,
|
| 1734 |
+
"grabbable": true,
|
| 1735 |
+
"classes": ""
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"data": {
|
| 1739 |
+
"id": "nwtE_52d8b99f-3024-4c79-8f34-b74276f3a3ed",
|
| 1740 |
+
"class": "production",
|
| 1741 |
+
"bendPointPositions": [],
|
| 1742 |
+
"language": "PD",
|
| 1743 |
+
"line-color": "#555555",
|
| 1744 |
+
"width": 1.25,
|
| 1745 |
+
"background-image": "",
|
| 1746 |
+
"background-color": "#ffffff",
|
| 1747 |
+
"cardinality": 0,
|
| 1748 |
+
"source": "nwtN_4a12169f-f588-4c76-bc39-2ae07f77d7c4",
|
| 1749 |
+
"target": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 1750 |
+
"portsource": "nwtN_4a12169f-f588-4c76-bc39-2ae07f77d7c4",
|
| 1751 |
+
"porttarget": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5"
|
| 1752 |
+
},
|
| 1753 |
+
"position": {},
|
| 1754 |
+
"group": "edges",
|
| 1755 |
+
"removed": false,
|
| 1756 |
+
"selected": false,
|
| 1757 |
+
"selectable": true,
|
| 1758 |
+
"locked": false,
|
| 1759 |
+
"grabbable": true,
|
| 1760 |
+
"classes": ""
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"data": {
|
| 1764 |
+
"id": "nwtE_906e4f53-8ebe-4246-bd59-88b38a7071f0",
|
| 1765 |
+
"class": "production",
|
| 1766 |
+
"bendPointPositions": [],
|
| 1767 |
+
"language": "PD",
|
| 1768 |
+
"line-color": "#555555",
|
| 1769 |
+
"width": 1.25,
|
| 1770 |
+
"background-image": "",
|
| 1771 |
+
"background-color": "#ffffff",
|
| 1772 |
+
"cardinality": 0,
|
| 1773 |
+
"source": "nwtN_cbc5909d-c0a3-4be5-9c36-988ca48a9d30",
|
| 1774 |
+
"target": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 1775 |
+
"portsource": "nwtN_cbc5909d-c0a3-4be5-9c36-988ca48a9d30",
|
| 1776 |
+
"porttarget": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5"
|
| 1777 |
+
},
|
| 1778 |
+
"position": {},
|
| 1779 |
+
"group": "edges",
|
| 1780 |
+
"removed": false,
|
| 1781 |
+
"selected": false,
|
| 1782 |
+
"selectable": true,
|
| 1783 |
+
"locked": false,
|
| 1784 |
+
"grabbable": true,
|
| 1785 |
+
"classes": ""
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"data": {
|
| 1789 |
+
"id": "nwtE_3e77a1b5-2418-4dfc-b77d-b6280a5ea798",
|
| 1790 |
+
"class": "production",
|
| 1791 |
+
"bendPointPositions": [],
|
| 1792 |
+
"language": "PD",
|
| 1793 |
+
"line-color": "#555555",
|
| 1794 |
+
"width": 1.25,
|
| 1795 |
+
"background-image": "",
|
| 1796 |
+
"background-color": "#ffffff",
|
| 1797 |
+
"cardinality": 0,
|
| 1798 |
+
"source": "nwtN_48d663f4-edd0-4706-a5ca-5a87f77edf8e",
|
| 1799 |
+
"target": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 1800 |
+
"portsource": "nwtN_48d663f4-edd0-4706-a5ca-5a87f77edf8e",
|
| 1801 |
+
"porttarget": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5"
|
| 1802 |
+
},
|
| 1803 |
+
"position": {},
|
| 1804 |
+
"group": "edges",
|
| 1805 |
+
"removed": false,
|
| 1806 |
+
"selected": false,
|
| 1807 |
+
"selectable": true,
|
| 1808 |
+
"locked": false,
|
| 1809 |
+
"grabbable": true,
|
| 1810 |
+
"classes": ""
|
| 1811 |
+
},
|
| 1812 |
+
{
|
| 1813 |
+
"data": {
|
| 1814 |
+
"id": "nwtE_a3959383-0737-483f-a751-6bf0d2b78896",
|
| 1815 |
+
"class": "production",
|
| 1816 |
+
"bendPointPositions": [],
|
| 1817 |
+
"language": "PD",
|
| 1818 |
+
"line-color": "#555555",
|
| 1819 |
+
"width": 1.25,
|
| 1820 |
+
"background-image": "",
|
| 1821 |
+
"background-color": "#ffffff",
|
| 1822 |
+
"cardinality": 0,
|
| 1823 |
+
"source": "nwtN_2ecfaa1e-8dd3-4008-ac3d-6d4207f518b4",
|
| 1824 |
+
"target": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 1825 |
+
"portsource": "nwtN_2ecfaa1e-8dd3-4008-ac3d-6d4207f518b4",
|
| 1826 |
+
"porttarget": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086"
|
| 1827 |
+
},
|
| 1828 |
+
"position": {},
|
| 1829 |
+
"group": "edges",
|
| 1830 |
+
"removed": false,
|
| 1831 |
+
"selected": false,
|
| 1832 |
+
"selectable": true,
|
| 1833 |
+
"locked": false,
|
| 1834 |
+
"grabbable": true,
|
| 1835 |
+
"classes": ""
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"data": {
|
| 1839 |
+
"id": "nwtE_c7945a01-b5ed-4fc6-a3c9-f80c5ee23dda",
|
| 1840 |
+
"class": "production",
|
| 1841 |
+
"bendPointPositions": [],
|
| 1842 |
+
"language": "PD",
|
| 1843 |
+
"line-color": "#555555",
|
| 1844 |
+
"width": 1.25,
|
| 1845 |
+
"background-image": "",
|
| 1846 |
+
"background-color": "#ffffff",
|
| 1847 |
+
"cardinality": 0,
|
| 1848 |
+
"source": "nwtN_8af34100-fdea-4636-a978-fe75c7a38fb1",
|
| 1849 |
+
"target": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 1850 |
+
"portsource": "nwtN_8af34100-fdea-4636-a978-fe75c7a38fb1",
|
| 1851 |
+
"porttarget": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086"
|
| 1852 |
+
},
|
| 1853 |
+
"position": {},
|
| 1854 |
+
"group": "edges",
|
| 1855 |
+
"removed": false,
|
| 1856 |
+
"selected": false,
|
| 1857 |
+
"selectable": true,
|
| 1858 |
+
"locked": false,
|
| 1859 |
+
"grabbable": true,
|
| 1860 |
+
"classes": ""
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"data": {
|
| 1864 |
+
"id": "nwtE_c2945754-dd7e-4947-95cd-b66c3dd776df",
|
| 1865 |
+
"class": "production",
|
| 1866 |
+
"bendPointPositions": [],
|
| 1867 |
+
"language": "PD",
|
| 1868 |
+
"line-color": "#555555",
|
| 1869 |
+
"width": 1.25,
|
| 1870 |
+
"background-image": "",
|
| 1871 |
+
"background-color": "#ffffff",
|
| 1872 |
+
"cardinality": 0,
|
| 1873 |
+
"source": "nwtN_1c41d32b-42f9-4e9f-a609-91c2eebbf28a",
|
| 1874 |
+
"target": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 1875 |
+
"portsource": "nwtN_1c41d32b-42f9-4e9f-a609-91c2eebbf28a",
|
| 1876 |
+
"porttarget": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086"
|
| 1877 |
+
},
|
| 1878 |
+
"position": {},
|
| 1879 |
+
"group": "edges",
|
| 1880 |
+
"removed": false,
|
| 1881 |
+
"selected": false,
|
| 1882 |
+
"selectable": true,
|
| 1883 |
+
"locked": false,
|
| 1884 |
+
"grabbable": true,
|
| 1885 |
+
"classes": ""
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"data": {
|
| 1889 |
+
"id": "nwtE_49b115c1-d8f4-4f9f-80f2-da43dec66241",
|
| 1890 |
+
"class": "production",
|
| 1891 |
+
"bendPointPositions": [],
|
| 1892 |
+
"language": "PD",
|
| 1893 |
+
"line-color": "#555555",
|
| 1894 |
+
"width": 1.25,
|
| 1895 |
+
"background-image": "",
|
| 1896 |
+
"background-color": "#ffffff",
|
| 1897 |
+
"cardinality": 0,
|
| 1898 |
+
"source": "nwtN_c5547527-64c5-4e4d-acb8-e3f7e6b0a9a5",
|
| 1899 |
+
"target": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 1900 |
+
"portsource": "nwtN_c5547527-64c5-4e4d-acb8-e3f7e6b0a9a5",
|
| 1901 |
+
"porttarget": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9"
|
| 1902 |
+
},
|
| 1903 |
+
"position": {},
|
| 1904 |
+
"group": "edges",
|
| 1905 |
+
"removed": false,
|
| 1906 |
+
"selected": false,
|
| 1907 |
+
"selectable": true,
|
| 1908 |
+
"locked": false,
|
| 1909 |
+
"grabbable": true,
|
| 1910 |
+
"classes": ""
|
| 1911 |
+
},
|
| 1912 |
+
{
|
| 1913 |
+
"data": {
|
| 1914 |
+
"id": "nwtE_17eb1da9-aaf4-463a-896c-a1ec8f37a6f2",
|
| 1915 |
+
"class": "production",
|
| 1916 |
+
"bendPointPositions": [],
|
| 1917 |
+
"language": "PD",
|
| 1918 |
+
"line-color": "#555555",
|
| 1919 |
+
"width": 1.25,
|
| 1920 |
+
"background-image": "",
|
| 1921 |
+
"background-color": "#ffffff",
|
| 1922 |
+
"cardinality": 0,
|
| 1923 |
+
"source": "nwtN_6bf42b3c-579e-4187-8299-cb314373c278",
|
| 1924 |
+
"target": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 1925 |
+
"portsource": "nwtN_6bf42b3c-579e-4187-8299-cb314373c278",
|
| 1926 |
+
"porttarget": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9"
|
| 1927 |
+
},
|
| 1928 |
+
"position": {},
|
| 1929 |
+
"group": "edges",
|
| 1930 |
+
"removed": false,
|
| 1931 |
+
"selected": false,
|
| 1932 |
+
"selectable": true,
|
| 1933 |
+
"locked": false,
|
| 1934 |
+
"grabbable": true,
|
| 1935 |
+
"classes": ""
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"data": {
|
| 1939 |
+
"id": "nwtE_2d6fbdec-29c8-46af-9fee-090c2fb9bc75",
|
| 1940 |
+
"class": "production",
|
| 1941 |
+
"bendPointPositions": [],
|
| 1942 |
+
"language": "PD",
|
| 1943 |
+
"line-color": "#555555",
|
| 1944 |
+
"width": 1.25,
|
| 1945 |
+
"background-image": "",
|
| 1946 |
+
"background-color": "#ffffff",
|
| 1947 |
+
"cardinality": 0,
|
| 1948 |
+
"source": "nwtN_4d424656-f0bb-4154-9a51-1d15429c8f71",
|
| 1949 |
+
"target": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 1950 |
+
"portsource": "nwtN_4d424656-f0bb-4154-9a51-1d15429c8f71",
|
| 1951 |
+
"porttarget": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9"
|
| 1952 |
+
},
|
| 1953 |
+
"position": {},
|
| 1954 |
+
"group": "edges",
|
| 1955 |
+
"removed": false,
|
| 1956 |
+
"selected": false,
|
| 1957 |
+
"selectable": true,
|
| 1958 |
+
"locked": false,
|
| 1959 |
+
"grabbable": true,
|
| 1960 |
+
"classes": ""
|
| 1961 |
+
},
|
| 1962 |
+
{
|
| 1963 |
+
"data": {
|
| 1964 |
+
"id": "nwtE_8b26c6e4-8035-4465-a038-a6219ba54bee",
|
| 1965 |
+
"class": "production",
|
| 1966 |
+
"bendPointPositions": [],
|
| 1967 |
+
"language": "PD",
|
| 1968 |
+
"line-color": "#555555",
|
| 1969 |
+
"width": 1.25,
|
| 1970 |
+
"background-image": "",
|
| 1971 |
+
"background-color": "#ffffff",
|
| 1972 |
+
"cardinality": 0,
|
| 1973 |
+
"source": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 1974 |
+
"target": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 1975 |
+
"portsource": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 1976 |
+
"porttarget": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134"
|
| 1977 |
+
},
|
| 1978 |
+
"position": {},
|
| 1979 |
+
"group": "edges",
|
| 1980 |
+
"removed": false,
|
| 1981 |
+
"selected": false,
|
| 1982 |
+
"selectable": true,
|
| 1983 |
+
"locked": false,
|
| 1984 |
+
"grabbable": true,
|
| 1985 |
+
"classes": ""
|
| 1986 |
+
},
|
| 1987 |
+
{
|
| 1988 |
+
"data": {
|
| 1989 |
+
"id": "nwtE_a6d29cf3-24a6-4b0c-88b3-df08fda0825c",
|
| 1990 |
+
"class": "production",
|
| 1991 |
+
"bendPointPositions": [],
|
| 1992 |
+
"language": "PD",
|
| 1993 |
+
"line-color": "#555555",
|
| 1994 |
+
"width": 1.25,
|
| 1995 |
+
"background-image": "",
|
| 1996 |
+
"background-color": "#ffffff",
|
| 1997 |
+
"cardinality": 0,
|
| 1998 |
+
"source": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 1999 |
+
"target": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 2000 |
+
"portsource": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 2001 |
+
"porttarget": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134"
|
| 2002 |
+
},
|
| 2003 |
+
"position": {},
|
| 2004 |
+
"group": "edges",
|
| 2005 |
+
"removed": false,
|
| 2006 |
+
"selected": false,
|
| 2007 |
+
"selectable": true,
|
| 2008 |
+
"locked": false,
|
| 2009 |
+
"grabbable": true,
|
| 2010 |
+
"classes": ""
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"data": {
|
| 2014 |
+
"id": "nwtE_cb84a698-6aee-4c1a-a9d8-e5eb87797a59",
|
| 2015 |
+
"class": "production",
|
| 2016 |
+
"bendPointPositions": [],
|
| 2017 |
+
"language": "PD",
|
| 2018 |
+
"line-color": "#555555",
|
| 2019 |
+
"width": 1.25,
|
| 2020 |
+
"background-image": "",
|
| 2021 |
+
"background-color": "#ffffff",
|
| 2022 |
+
"cardinality": 0,
|
| 2023 |
+
"source": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 2024 |
+
"target": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 2025 |
+
"portsource": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 2026 |
+
"porttarget": "661498c7-ace9-bd34-0289-7c9931d3e1ba"
|
| 2027 |
+
},
|
| 2028 |
+
"position": {},
|
| 2029 |
+
"group": "edges",
|
| 2030 |
+
"removed": false,
|
| 2031 |
+
"selected": false,
|
| 2032 |
+
"selectable": true,
|
| 2033 |
+
"locked": false,
|
| 2034 |
+
"grabbable": true,
|
| 2035 |
+
"classes": ""
|
| 2036 |
+
},
|
| 2037 |
+
{
|
| 2038 |
+
"data": {
|
| 2039 |
+
"id": "nwtE_bf55af04-2f1f-432d-8d32-60486b9c5d08",
|
| 2040 |
+
"class": "production",
|
| 2041 |
+
"bendPointPositions": [],
|
| 2042 |
+
"language": "PD",
|
| 2043 |
+
"line-color": "#555555",
|
| 2044 |
+
"width": 1.25,
|
| 2045 |
+
"background-image": "",
|
| 2046 |
+
"background-color": "#ffffff",
|
| 2047 |
+
"cardinality": 0,
|
| 2048 |
+
"source": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 2049 |
+
"target": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 2050 |
+
"portsource": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 2051 |
+
"porttarget": "661498c7-ace9-bd34-0289-7c9931d3e1ba"
|
| 2052 |
+
},
|
| 2053 |
+
"position": {},
|
| 2054 |
+
"group": "edges",
|
| 2055 |
+
"removed": false,
|
| 2056 |
+
"selected": false,
|
| 2057 |
+
"selectable": true,
|
| 2058 |
+
"locked": false,
|
| 2059 |
+
"grabbable": true,
|
| 2060 |
+
"classes": ""
|
| 2061 |
+
},
|
| 2062 |
+
{
|
| 2063 |
+
"data": {
|
| 2064 |
+
"id": "cae87ba6-1f44-b148-a8fa-e9b93fca71dd",
|
| 2065 |
+
"class": "production",
|
| 2066 |
+
"bendPointPositions": [],
|
| 2067 |
+
"language": "PD",
|
| 2068 |
+
"line-color": "#555555",
|
| 2069 |
+
"width": 1.25,
|
| 2070 |
+
"background-image": "",
|
| 2071 |
+
"background-color": "#ffffff",
|
| 2072 |
+
"cardinality": 0,
|
| 2073 |
+
"source": "3aa07735-3104-5ae3-5b94-16be7319a912",
|
| 2074 |
+
"target": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 2075 |
+
"portsource": "3aa07735-3104-5ae3-5b94-16be7319a912",
|
| 2076 |
+
"porttarget": "5c108d5c-88e4-7b97-95a8-67238c33d283"
|
| 2077 |
+
},
|
| 2078 |
+
"position": {},
|
| 2079 |
+
"group": "edges",
|
| 2080 |
+
"removed": false,
|
| 2081 |
+
"selected": false,
|
| 2082 |
+
"selectable": true,
|
| 2083 |
+
"locked": false,
|
| 2084 |
+
"grabbable": true,
|
| 2085 |
+
"classes": ""
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"data": {
|
| 2089 |
+
"id": "cba4c2db-9aa8-2429-37b7-ef58e51ccef5",
|
| 2090 |
+
"class": "production",
|
| 2091 |
+
"bendPointPositions": [],
|
| 2092 |
+
"language": "PD",
|
| 2093 |
+
"line-color": "#555555",
|
| 2094 |
+
"width": 1.25,
|
| 2095 |
+
"background-image": "",
|
| 2096 |
+
"background-color": "#ffffff",
|
| 2097 |
+
"cardinality": 0,
|
| 2098 |
+
"source": "212adf44-8401-5b11-c49a-b43b67369698",
|
| 2099 |
+
"target": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 2100 |
+
"portsource": "212adf44-8401-5b11-c49a-b43b67369698",
|
| 2101 |
+
"porttarget": "5c108d5c-88e4-7b97-95a8-67238c33d283"
|
| 2102 |
+
},
|
| 2103 |
+
"position": {},
|
| 2104 |
+
"group": "edges",
|
| 2105 |
+
"removed": false,
|
| 2106 |
+
"selected": false,
|
| 2107 |
+
"selectable": true,
|
| 2108 |
+
"locked": false,
|
| 2109 |
+
"grabbable": true,
|
| 2110 |
+
"classes": ""
|
| 2111 |
+
},
|
| 2112 |
+
{
|
| 2113 |
+
"data": {
|
| 2114 |
+
"id": "75e10cd7-b168-147e-9842-dd6859a94e61",
|
| 2115 |
+
"class": "production",
|
| 2116 |
+
"bendPointPositions": [],
|
| 2117 |
+
"language": "PD",
|
| 2118 |
+
"line-color": "#555555",
|
| 2119 |
+
"width": 1.25,
|
| 2120 |
+
"background-image": "",
|
| 2121 |
+
"background-color": "#ffffff",
|
| 2122 |
+
"cardinality": 0,
|
| 2123 |
+
"source": "4f9485a2-a66f-2cf1-cc4e-126f7889fcd0",
|
| 2124 |
+
"target": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 2125 |
+
"portsource": "4f9485a2-a66f-2cf1-cc4e-126f7889fcd0",
|
| 2126 |
+
"porttarget": "5c108d5c-88e4-7b97-95a8-67238c33d283"
|
| 2127 |
+
},
|
| 2128 |
+
"position": {},
|
| 2129 |
+
"group": "edges",
|
| 2130 |
+
"removed": false,
|
| 2131 |
+
"selected": false,
|
| 2132 |
+
"selectable": true,
|
| 2133 |
+
"locked": false,
|
| 2134 |
+
"grabbable": true,
|
| 2135 |
+
"classes": ""
|
| 2136 |
+
},
|
| 2137 |
+
{
|
| 2138 |
+
"data": {
|
| 2139 |
+
"id": "20b1d70b-c88f-acaf-0ced-07374db84055",
|
| 2140 |
+
"class": "production",
|
| 2141 |
+
"bendPointPositions": [],
|
| 2142 |
+
"language": "PD",
|
| 2143 |
+
"line-color": "#555555",
|
| 2144 |
+
"width": 1.25,
|
| 2145 |
+
"background-image": "",
|
| 2146 |
+
"background-color": "#ffffff",
|
| 2147 |
+
"cardinality": 0,
|
| 2148 |
+
"source": "f1bf3c87-1357-3ce2-4645-8cb4ed59ac9b",
|
| 2149 |
+
"target": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 2150 |
+
"portsource": "f1bf3c87-1357-3ce2-4645-8cb4ed59ac9b",
|
| 2151 |
+
"porttarget": "3ea6020e-8918-8abf-a8e5-62427070f84f"
|
| 2152 |
+
},
|
| 2153 |
+
"position": {},
|
| 2154 |
+
"group": "edges",
|
| 2155 |
+
"removed": false,
|
| 2156 |
+
"selected": false,
|
| 2157 |
+
"selectable": true,
|
| 2158 |
+
"locked": false,
|
| 2159 |
+
"grabbable": true,
|
| 2160 |
+
"classes": ""
|
| 2161 |
+
},
|
| 2162 |
+
{
|
| 2163 |
+
"data": {
|
| 2164 |
+
"id": "1fefa878-d380-55e4-4d18-ec760fc294f4",
|
| 2165 |
+
"class": "production",
|
| 2166 |
+
"bendPointPositions": [],
|
| 2167 |
+
"language": "PD",
|
| 2168 |
+
"line-color": "#555555",
|
| 2169 |
+
"width": 1.25,
|
| 2170 |
+
"background-image": "",
|
| 2171 |
+
"background-color": "#ffffff",
|
| 2172 |
+
"cardinality": 0,
|
| 2173 |
+
"source": "2f96a4e1-9767-4df9-6ad7-a4010baa376b",
|
| 2174 |
+
"target": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 2175 |
+
"portsource": "2f96a4e1-9767-4df9-6ad7-a4010baa376b",
|
| 2176 |
+
"porttarget": "3ea6020e-8918-8abf-a8e5-62427070f84f"
|
| 2177 |
+
},
|
| 2178 |
+
"position": {},
|
| 2179 |
+
"group": "edges",
|
| 2180 |
+
"removed": false,
|
| 2181 |
+
"selected": false,
|
| 2182 |
+
"selectable": true,
|
| 2183 |
+
"locked": false,
|
| 2184 |
+
"grabbable": true,
|
| 2185 |
+
"classes": ""
|
| 2186 |
+
}
|
| 2187 |
+
]
|
| 2188 |
+
},
|
| 2189 |
+
"style": [
|
| 2190 |
+
{
|
| 2191 |
+
"selector": "node",
|
| 2192 |
+
"style": {
|
| 2193 |
+
"shape": "rectangle",
|
| 2194 |
+
"text-halign": "center",
|
| 2195 |
+
"text-valign": "center",
|
| 2196 |
+
"font-weight" : "normal",
|
| 2197 |
+
"background-color": "#ffffff",
|
| 2198 |
+
"opacity": "1",
|
| 2199 |
+
"border-color": "#555555"
|
| 2200 |
+
}
|
| 2201 |
+
},
|
| 2202 |
+
{
|
| 2203 |
+
"selector": "node[class = 'simple chemical']",
|
| 2204 |
+
"style": {
|
| 2205 |
+
"shape": "ellipse",
|
| 2206 |
+
"font-size": 14,
|
| 2207 |
+
"background-color": "#fddbc7"
|
| 2208 |
+
}
|
| 2209 |
+
},
|
| 2210 |
+
{
|
| 2211 |
+
"selector": "node[class = 'macromolecule']",
|
| 2212 |
+
"style": {
|
| 2213 |
+
"shape": "roundrectangle"
|
| 2214 |
+
}
|
| 2215 |
+
},
|
| 2216 |
+
{
|
| 2217 |
+
"selector": "node[class = 'unspecified entity']",
|
| 2218 |
+
"style": {
|
| 2219 |
+
"shape": "ellipse",
|
| 2220 |
+
"background-color": "#f7f7f7"
|
| 2221 |
+
}
|
| 2222 |
+
},
|
| 2223 |
+
{
|
| 2224 |
+
"selector": "node[class = 'nucleic acid feature']",
|
| 2225 |
+
"style": {
|
| 2226 |
+
"shape": "rectangle",
|
| 2227 |
+
"background-color": "#f4a582",
|
| 2228 |
+
}
|
| 2229 |
+
},
|
| 2230 |
+
{
|
| 2231 |
+
"selector": ":parent",
|
| 2232 |
+
"style": {
|
| 2233 |
+
"background-opacity": "0.333",
|
| 2234 |
+
"text-valign": "bottom",
|
| 2235 |
+
"shape": "barrel",
|
| 2236 |
+
"text-margin-y": "2px",
|
| 2237 |
+
"font-weight" : "normal",
|
| 2238 |
+
"border-color": "#555555"
|
| 2239 |
+
}
|
| 2240 |
+
},
|
| 2241 |
+
{
|
| 2242 |
+
"selector": "node:selected",
|
| 2243 |
+
"style": {
|
| 2244 |
+
"background-color": "#33ff00",
|
| 2245 |
+
"border-color": "#22ee00"
|
| 2246 |
+
}
|
| 2247 |
+
},
|
| 2248 |
+
{
|
| 2249 |
+
"selector": "edge",
|
| 2250 |
+
"style": {
|
| 2251 |
+
"curve-style": "bezier",
|
| 2252 |
+
"width": "2px",
|
| 2253 |
+
"line-color": "rgb(58,126,207)",
|
| 2254 |
+
"opacity": "1"
|
| 2255 |
+
}
|
| 2256 |
+
},
|
| 2257 |
+
{
|
| 2258 |
+
"selector": "edge:selected",
|
| 2259 |
+
"style": {
|
| 2260 |
+
"line-color": "#33ff00",
|
| 2261 |
+
"font-size": "13px",
|
| 2262 |
+
"text-opacity": "1",
|
| 2263 |
+
"text-rotation": "autorotate",
|
| 2264 |
+
"color": "#33ff00",
|
| 2265 |
+
"font-weight": "bold",
|
| 2266 |
+
"text-background-shape": "roundrectangle",
|
| 2267 |
+
"text-background-opacity": "1",
|
| 2268 |
+
"text-background-padding": "2px"
|
| 2269 |
+
}
|
| 2270 |
+
},
|
| 2271 |
+
{
|
| 2272 |
+
"selector": "edge[class = 'production']",
|
| 2273 |
+
"style": {
|
| 2274 |
+
"target-arrow-shape": "triangle",
|
| 2275 |
+
"target-arrow-color": "rgb(58,126,207)"
|
| 2276 |
+
}
|
| 2277 |
+
},
|
| 2278 |
+
{
|
| 2279 |
+
"selector": "edge:selected[class = 'production']",
|
| 2280 |
+
"style": {
|
| 2281 |
+
"target-arrow-shape": "triangle",
|
| 2282 |
+
"target-arrow-color": "#33ff00"
|
| 2283 |
+
}
|
| 2284 |
+
},
|
| 2285 |
+
],
|
| 2286 |
+
"zoomingEnabled": true,
|
| 2287 |
+
"userZoomingEnabled": true,
|
| 2288 |
+
"zoom": 0.8925320450269244,
|
| 2289 |
+
"minZoom": 0.125,
|
| 2290 |
+
"maxZoom": 16,
|
| 2291 |
+
"panningEnabled": true,
|
| 2292 |
+
"userPanningEnabled": true,
|
| 2293 |
+
"pan": {
|
| 2294 |
+
"x": 128.15184671589566,
|
| 2295 |
+
"y": -93.65929006599106
|
| 2296 |
+
},
|
| 2297 |
+
"boxSelectionEnabled": true,
|
| 2298 |
+
"renderer": {
|
| 2299 |
+
"name": "canvas"
|
| 2300 |
+
},
|
| 2301 |
+
"wheelSensitivity": 0.1,
|
| 2302 |
+
"motionBlur": true
|
| 2303 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/uwsn_constraints.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
uwsn_constraints = {
|
| 2 |
+
"fixedNodeConstraint": [
|
| 3 |
+
{
|
| 4 |
+
"nodeId": "nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 5 |
+
"position": {
|
| 6 |
+
"x": -650,
|
| 7 |
+
"y": -230
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"nodeId": "nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 12 |
+
"position": {
|
| 13 |
+
"x": 0,
|
| 14 |
+
"y": -230
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"nodeId": "nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 19 |
+
"position": {
|
| 20 |
+
"x": 650,
|
| 21 |
+
"y": -230
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"alignmentConstraint": {
|
| 26 |
+
"vertical": [
|
| 27 |
+
[
|
| 28 |
+
"nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 29 |
+
"nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134"
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
"nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 33 |
+
"661498c7-ace9-bd34-0289-7c9931d3e1ba"
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
"nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 37 |
+
"aeee80bf-8280-f4ec-c1f3-26f3a7a0651c"
|
| 38 |
+
]
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
"relativePlacementConstraint": [
|
| 42 |
+
{
|
| 43 |
+
"top": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 44 |
+
"bottom": "nwtN_be627c29-b885-460c-bf92-8f9bb7b8c8c5",
|
| 45 |
+
"gap": 100
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"top": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 49 |
+
"bottom": "nwtN_64abed47-d1b1-474c-b944-b9ad6354c086",
|
| 50 |
+
"gap": 100
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"top": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 54 |
+
"bottom": "nwtN_0185dada-235a-4b51-bce7-e8bd3b8ee661",
|
| 55 |
+
"gap": 100
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"top": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 59 |
+
"bottom": "nwtN_273f6927-f05a-425b-aa2b-92de2be06bd9",
|
| 60 |
+
"gap": 100
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"top": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 64 |
+
"bottom": "5c108d5c-88e4-7b97-95a8-67238c33d283",
|
| 65 |
+
"gap": 100
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"top": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 69 |
+
"bottom": "3ea6020e-8918-8abf-a8e5-62427070f84f",
|
| 70 |
+
"gap": 100
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"top": "nwtN_5d6f7198-03e4-48e5-9004-919221f87e66",
|
| 74 |
+
"bottom": "aeee80bf-8280-f4ec-c1f3-26f3a7a0651c",
|
| 75 |
+
"gap": 250
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"top": "nwtN_b20cc3f4-dc9c-4031-ac79-df665d4c53cd",
|
| 79 |
+
"bottom": "661498c7-ace9-bd34-0289-7c9931d3e1ba",
|
| 80 |
+
"gap": 250
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"top": "nwtN_91cff953-5f55-4626-96fa-e2f675e13e54",
|
| 84 |
+
"bottom": "nwtN_7e09bf9e-a4da-4618-baba-60a2b3a0b134",
|
| 85 |
+
"gap": 250
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/wsn.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tools/ui/node_modules/cytoscape-fcose/demo/samples/wsn_constraints.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wsn_constraints = {
|
| 2 |
+
"fixedNodeConstraint": [
|
| 3 |
+
{
|
| 4 |
+
"nodeId": "86f48f58-145d-92cc-0d33-aaf639984733",
|
| 5 |
+
"position": {
|
| 6 |
+
"x": 399,
|
| 7 |
+
"y": 139
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"nodeId": "f91d914e-6ab7-92cf-b16d-b9a7661e0044",
|
| 12 |
+
"position": {
|
| 13 |
+
"x": 857,
|
| 14 |
+
"y": 340
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"nodeId": "33f80abd-028e-ad1c-068b-33d5b40d9a93",
|
| 19 |
+
"position": {
|
| 20 |
+
"x": 1068,
|
| 21 |
+
"y": 288
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"nodeId": "2b855d36-0c89-996d-9281-ea54f711cc8e",
|
| 26 |
+
"position": {
|
| 27 |
+
"x": 520,
|
| 28 |
+
"y": 518
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"nodeId": "0ddcc98c-7b7c-ac2e-2207-081c5ffc9921",
|
| 33 |
+
"position": {
|
| 34 |
+
"x": 533,
|
| 35 |
+
"y": -37
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"nodeId": "e53126c9-70fe-ca8a-3b85-bab123a93d70",
|
| 40 |
+
"position": {
|
| 41 |
+
"x": 816,
|
| 42 |
+
"y": 280
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"nodeId": "4ca3044f-9b82-020b-e1cb-bbb45e4b0088",
|
| 47 |
+
"position": {
|
| 48 |
+
"x": 630,
|
| 49 |
+
"y": 205
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"nodeId": "bc0420e3-9b6e-4c97-74c6-61278dbc18d4",
|
| 54 |
+
"position": {
|
| 55 |
+
"x": 507,
|
| 56 |
+
"y": 407
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"nodeId": "a97f8f48-6652-7e09-8eda-2d87eae7d20b",
|
| 61 |
+
"position": {
|
| 62 |
+
"x": 323,
|
| 63 |
+
"y": 330
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"nodeId": "889eedb3-8cb8-b906-8beb-904cd499c4f6",
|
| 68 |
+
"position": {
|
| 69 |
+
"x": 892,
|
| 70 |
+
"y": -55
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"nodeId": "bd77a77c-4627-ad77-1c5a-2c390ba21959",
|
| 75 |
+
"position": {
|
| 76 |
+
"x": 1114,
|
| 77 |
+
"y": 570
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"nodeId": "ffbd69bf-481f-faa8-73db-1489f3175b75",
|
| 82 |
+
"position": {
|
| 83 |
+
"x": 666,
|
| 84 |
+
"y": 533
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"nodeId": "5fdc6150-63bb-18e8-1f03-33bb8d6b7529",
|
| 89 |
+
"position": {
|
| 90 |
+
"x": 726,
|
| 91 |
+
"y": 670
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"nodeId": "b386ca2b-81a7-e365-4706-f955f13db03f",
|
| 96 |
+
"position": {
|
| 97 |
+
"x": 721,
|
| 98 |
+
"y": -36
|
| 99 |
+
}
|
| 100 |
+
}
|
| 101 |
+
]
|
| 102 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/.babelrc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"presets": ["env"]
|
| 3 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 - present, iVis@Bilkent.
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cose-base
|
| 2 |
+
================================================================================
|
| 3 |
+
|
| 4 |
+
## Description
|
| 5 |
+
|
| 6 |
+
This is a core module for compound spring embedder based layout styles such as CoSE-Bilkent, fCoSE, and CiSE.
|
| 7 |
+
|
| 8 |
+
## Dependencies
|
| 9 |
+
|
| 10 |
+
* layout-base ^2.0.0
|
| 11 |
+
|
| 12 |
+
## Usage instructions
|
| 13 |
+
|
| 14 |
+
Add `cose-base` as a dependecy to your layout extension.
|
| 15 |
+
|
| 16 |
+
`require()` in the extension to reach functionality:
|
| 17 |
+
|
| 18 |
+
* `var CoSEConstants = require('cose-base').CoSEConstants`,
|
| 19 |
+
* `var CoSELayout = require('cose-base').CoSELayout`,
|
| 20 |
+
* `...`
|
| 21 |
+
|
| 22 |
+
To reach functionality of `layout-base`:
|
| 23 |
+
|
| 24 |
+
* `var Integer = require('cose-base').layoutBase.Integer`,
|
| 25 |
+
* `var Layout = require('cose-base').layoutBase.Layout`,
|
| 26 |
+
* `...`
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/bower.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cose-base",
|
| 3 |
+
"description": "Core module for compound spring embedder based layout styles",
|
| 4 |
+
"main": "cose-base.js",
|
| 5 |
+
"dependencies": {
|
| 6 |
+
"layout-base": "^1.0.0"
|
| 7 |
+
},
|
| 8 |
+
"repository": {
|
| 9 |
+
"type": "git",
|
| 10 |
+
"url": "https://github.com/iVis-at-Bilkent/cose-base.git"
|
| 11 |
+
},
|
| 12 |
+
"ignore": [
|
| 13 |
+
"**/.*",
|
| 14 |
+
"node_modules",
|
| 15 |
+
"bower_components",
|
| 16 |
+
"test",
|
| 17 |
+
"tests"
|
| 18 |
+
],
|
| 19 |
+
"keywords": [
|
| 20 |
+
"layout"
|
| 21 |
+
],
|
| 22 |
+
"license": "MIT"
|
| 23 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict';
|
| 2 |
+
|
| 3 |
+
let coseBase = {};
|
| 4 |
+
|
| 5 |
+
coseBase.layoutBase = require('layout-base');
|
| 6 |
+
coseBase.CoSEConstants = require('./src/CoSEConstants');
|
| 7 |
+
coseBase.CoSEEdge = require('./src/CoSEEdge');
|
| 8 |
+
coseBase.CoSEGraph = require('./src/CoSEGraph');
|
| 9 |
+
coseBase.CoSEGraphManager = require('./src/CoSEGraphManager');
|
| 10 |
+
coseBase.CoSELayout = require('./src/CoSELayout');
|
| 11 |
+
coseBase.CoSENode = require('./src/CoSENode');
|
| 12 |
+
coseBase.ConstraintHandler = require('./src/ConstraintHandler');
|
| 13 |
+
|
| 14 |
+
module.exports = coseBase;
|
| 15 |
+
|
| 16 |
+
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cose-base",
|
| 3 |
+
"version": "2.2.0",
|
| 4 |
+
"description": "Core module for compound spring embedder based layout styles",
|
| 5 |
+
"main": "cose-base.js",
|
| 6 |
+
"scripts": {
|
| 7 |
+
"test": "echo \"Error: no test specified\" && exit 1",
|
| 8 |
+
"build": "cross-env NODE_ENV=production webpack",
|
| 9 |
+
"build:min": "cross-env NODE_ENV=production MIN=true webpack"
|
| 10 |
+
},
|
| 11 |
+
"repository": {
|
| 12 |
+
"type": "git",
|
| 13 |
+
"url": "git+https://github.com/iVis-at-Bilkent/cose-base.git"
|
| 14 |
+
},
|
| 15 |
+
"author": "",
|
| 16 |
+
"license": "MIT",
|
| 17 |
+
"bugs": {
|
| 18 |
+
"url": "https://github.com/iVis-at-Bilkent/cose-base/issues"
|
| 19 |
+
},
|
| 20 |
+
"homepage": "https://github.com/iVis-at-Bilkent/cose-base#readme",
|
| 21 |
+
"devDependencies": {
|
| 22 |
+
"babel-core": "^6.24.1",
|
| 23 |
+
"babel-loader": "^7.0.0",
|
| 24 |
+
"babel-preset-env": "^1.5.1",
|
| 25 |
+
"camelcase": "^4.1.0",
|
| 26 |
+
"cross-env": "^5.1.6",
|
| 27 |
+
"eslint": "^3.19.0",
|
| 28 |
+
"gh-pages": "^1.1.0",
|
| 29 |
+
"npm-run-all": "^4.1.2",
|
| 30 |
+
"rimraf": "^2.6.2",
|
| 31 |
+
"update": "^0.7.4",
|
| 32 |
+
"updater-license": "^1.0.0",
|
| 33 |
+
"webpack": "^5.36.1",
|
| 34 |
+
"webpack-cli": "^4.6.0",
|
| 35 |
+
"webpack-dev-server": "^3.11.2"
|
| 36 |
+
},
|
| 37 |
+
"dependencies": {
|
| 38 |
+
"layout-base": "^2.0.0"
|
| 39 |
+
}
|
| 40 |
+
}
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEConstants.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var FDLayoutConstants = require('layout-base').FDLayoutConstants;
|
| 2 |
+
|
| 3 |
+
function CoSEConstants() {
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
//CoSEConstants inherits static props in FDLayoutConstants
|
| 7 |
+
for (var prop in FDLayoutConstants) {
|
| 8 |
+
CoSEConstants[prop] = FDLayoutConstants[prop];
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
CoSEConstants.DEFAULT_USE_MULTI_LEVEL_SCALING = false;
|
| 12 |
+
CoSEConstants.DEFAULT_RADIAL_SEPARATION = FDLayoutConstants.DEFAULT_EDGE_LENGTH;
|
| 13 |
+
CoSEConstants.DEFAULT_COMPONENT_SEPERATION = 60;
|
| 14 |
+
CoSEConstants.TILE = true;
|
| 15 |
+
CoSEConstants.TILING_PADDING_VERTICAL = 10;
|
| 16 |
+
CoSEConstants.TILING_PADDING_HORIZONTAL = 10;
|
| 17 |
+
CoSEConstants.TRANSFORM_ON_CONSTRAINT_HANDLING = true;
|
| 18 |
+
CoSEConstants.ENFORCE_CONSTRAINTS = true;
|
| 19 |
+
CoSEConstants.APPLY_LAYOUT = true;
|
| 20 |
+
CoSEConstants.RELAX_MOVEMENT_ON_CONSTRAINTS = true;
|
| 21 |
+
CoSEConstants.TREE_REDUCTION_ON_INCREMENTAL = true; // this should be set to false if there will be a constraint
|
| 22 |
+
// This constant is for differentiating whether actual layout algorithm that uses cose-base wants to apply only incremental layout or
|
| 23 |
+
// an incremental layout on top of a randomized layout. If it is only incremental layout, then this constant should be true.
|
| 24 |
+
CoSEConstants.PURE_INCREMENTAL = CoSEConstants.DEFAULT_INCREMENTAL;
|
| 25 |
+
|
| 26 |
+
module.exports = CoSEConstants;
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEEdge.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var FDLayoutEdge = require('layout-base').FDLayoutEdge;
|
| 2 |
+
|
| 3 |
+
function CoSEEdge(source, target, vEdge) {
|
| 4 |
+
FDLayoutEdge.call(this, source, target, vEdge);
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
CoSEEdge.prototype = Object.create(FDLayoutEdge.prototype);
|
| 8 |
+
for (var prop in FDLayoutEdge) {
|
| 9 |
+
CoSEEdge[prop] = FDLayoutEdge[prop];
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
module.exports = CoSEEdge
|
tools/ui/node_modules/cytoscape-fcose/node_modules/cose-base/src/CoSEGraph.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var LGraph = require('layout-base').LGraph;
|
| 2 |
+
|
| 3 |
+
function CoSEGraph(parent, graphMgr, vGraph) {
|
| 4 |
+
LGraph.call(this, parent, graphMgr, vGraph);
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
CoSEGraph.prototype = Object.create(LGraph.prototype);
|
| 8 |
+
for (var prop in LGraph) {
|
| 9 |
+
CoSEGraph[prop] = LGraph[prop];
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
module.exports = CoSEGraph;
|