Last active
August 29, 2015 14:03
-
-
Save forresto/2096a175c7467c9d17a5 to your computer and use it in GitHub Desktop.
noflo-geometry test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"name": "geo", | |
"environment": { | |
"type": "noflo-browser" | |
} | |
}, | |
"inports": {}, | |
"outports": {}, | |
"groups": [], | |
"processes": { | |
"canvas/MakePoint_dqc7d": { | |
"component": "canvas/MakePoint", | |
"metadata": { | |
"label": "canvas/MakePoint", | |
"x": 144, | |
"y": 288 | |
} | |
}, | |
"canvas/MakeRandom_mo9qy": { | |
"component": "canvas/MakeRandom", | |
"metadata": { | |
"label": "canvas/MakeRandom", | |
"x": 36, | |
"y": 144 | |
} | |
}, | |
"canvas/MakeRandom_ub4g6": { | |
"component": "canvas/MakeRandom", | |
"metadata": { | |
"label": "canvas/MakeRandom", | |
"x": 36, | |
"y": 324 | |
} | |
}, | |
"canvas/CreateCanvas_9kg75": { | |
"component": "canvas/CreateCanvas", | |
"metadata": { | |
"label": "canvas/CreateCanvas", | |
"x": 396, | |
"y": 432 | |
} | |
}, | |
"canvas/Draw_dae44": { | |
"component": "canvas/Draw", | |
"metadata": { | |
"label": "canvas/Draw", | |
"x": 576, | |
"y": 180 | |
} | |
}, | |
"dom/AppendChild_w368b": { | |
"component": "dom/AppendChild", | |
"metadata": { | |
"label": "dom/AppendChild", | |
"x": 576, | |
"y": 504 | |
} | |
}, | |
"canvas/MakeCircle_n71un": { | |
"component": "canvas/MakeCircle", | |
"metadata": { | |
"label": "canvas/MakeCircle", | |
"x": 288, | |
"y": 324 | |
} | |
}, | |
"yellow": { | |
"component": "canvas/Fill", | |
"metadata": { | |
"label": "yellow", | |
"x": 396, | |
"y": 324 | |
} | |
}, | |
"dom/GetElement_skhw8": { | |
"component": "dom/GetElement", | |
"metadata": { | |
"label": "dom/GetElement", | |
"x": 396, | |
"y": 540 | |
} | |
}, | |
"geometry/Voronoi_qziw8": { | |
"component": "geometry/Voronoi", | |
"metadata": { | |
"label": "geometry/Voronoi", | |
"x": 144, | |
"y": 180, | |
"w": 300, | |
"h": 300 | |
} | |
}, | |
"geometry/Delaunay_ip58k": { | |
"component": "geometry/Delaunay", | |
"metadata": { | |
"label": "geometry/Delaunay", | |
"x": 144, | |
"y": 72 | |
} | |
}, | |
"cyan": { | |
"component": "canvas/Stroke", | |
"metadata": { | |
"label": "cyan", | |
"x": 396, | |
"y": 180 | |
} | |
}, | |
"magenta": { | |
"component": "canvas/Stroke", | |
"metadata": { | |
"label": "magenta", | |
"x": 396, | |
"y": 72 | |
} | |
}, | |
"core/Output_ffd1z": { | |
"component": "core/Output", | |
"metadata": { | |
"label": "core/Output", | |
"x": 324, | |
"y": -72 | |
} | |
} | |
}, | |
"connections": [ | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "canvas/MakePoint_dqc7d", | |
"port": "x" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "canvas/MakePoint_dqc7d", | |
"port": "y" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/CreateCanvas_9kg75", | |
"port": "canvas" | |
}, | |
"tgt": { | |
"process": "dom/AppendChild_w368b", | |
"port": "child" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/CreateCanvas_9kg75", | |
"port": "canvas" | |
}, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "canvas" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakePoint_dqc7d", | |
"port": "point" | |
}, | |
"tgt": { | |
"process": "canvas/MakeCircle_n71un", | |
"port": "center" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeCircle_n71un", | |
"port": "circle" | |
}, | |
"tgt": { | |
"process": "yellow", | |
"port": "items" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "dom/GetElement_skhw8", | |
"port": "element" | |
}, | |
"tgt": { | |
"process": "dom/AppendChild_w368b", | |
"port": "parent" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "geometry/Voronoi_qziw8", | |
"port": "x" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "geometry/Voronoi_qziw8", | |
"port": "y" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "geometry/Voronoi_qziw8", | |
"port": "paths" | |
}, | |
"tgt": { | |
"process": "cyan", | |
"port": "items" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "cyan", | |
"port": "stroke" | |
}, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "commands" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "geometry/Delaunay_ip58k", | |
"port": "x" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "numbers" | |
}, | |
"tgt": { | |
"process": "geometry/Delaunay_ip58k", | |
"port": "y" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"src": { | |
"process": "geometry/Delaunay_ip58k", | |
"port": "paths" | |
}, | |
"tgt": { | |
"process": "magenta", | |
"port": "items" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "magenta", | |
"port": "stroke" | |
}, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "commands" | |
}, | |
"metadata": {} | |
}, | |
{ | |
"src": { | |
"process": "yellow", | |
"port": "fill" | |
}, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "commands" | |
}, | |
"metadata": { | |
"route": null | |
} | |
}, | |
{ | |
"src": { | |
"process": "geometry/Delaunay_ip58k", | |
"port": "paths" | |
}, | |
"tgt": { | |
"process": "core/Output_ffd1z", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 0 | |
} | |
}, | |
{ | |
"data": 0, | |
"tgt": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "min" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "max" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "geometry/Voronoi_qziw8", | |
"port": "w" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "geometry/Voronoi_qziw8", | |
"port": "h" | |
} | |
}, | |
{ | |
"data": 0, | |
"tgt": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "min" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "max" | |
} | |
}, | |
{ | |
"data": 5, | |
"tgt": { | |
"process": "canvas/MakeCircle_n71un", | |
"port": "radius" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "canvas/CreateCanvas_9kg75", | |
"port": "width" | |
} | |
}, | |
{ | |
"data": 300, | |
"tgt": { | |
"process": "canvas/CreateCanvas_9kg75", | |
"port": "height" | |
} | |
}, | |
{ | |
"data": true, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "drawevery" | |
} | |
}, | |
{ | |
"data": "body", | |
"tgt": { | |
"process": "dom/GetElement_skhw8", | |
"port": "selector" | |
} | |
}, | |
{ | |
"data": 2, | |
"tgt": { | |
"process": "cyan", | |
"port": "linewidth" | |
} | |
}, | |
{ | |
"data": true, | |
"tgt": { | |
"process": "canvas/Draw_dae44", | |
"port": "clearevery" | |
} | |
}, | |
{ | |
"data": true, | |
"tgt": { | |
"process": "magenta", | |
"port": "closepath" | |
} | |
}, | |
{ | |
"data": 5, | |
"tgt": { | |
"process": "canvas/MakeRandom_ub4g6", | |
"port": "count" | |
} | |
}, | |
{ | |
"data": true, | |
"tgt": { | |
"process": "cyan", | |
"port": "closepath" | |
} | |
}, | |
{ | |
"data": "magenta", | |
"tgt": { | |
"process": "cyan", | |
"port": "strokestyle" | |
} | |
}, | |
{ | |
"data": "cyan", | |
"tgt": { | |
"process": "magenta", | |
"port": "strokestyle" | |
} | |
}, | |
{ | |
"data": "yellow", | |
"tgt": { | |
"process": "yellow", | |
"port": "fillstyle" | |
} | |
}, | |
{ | |
"data": 5, | |
"tgt": { | |
"process": "canvas/MakeRandom_mo9qy", | |
"port": "count" | |
} | |
}, | |
{ | |
"data": 2, | |
"tgt": { | |
"process": "magenta", | |
"port": "linewidth" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment