html-overlay-node 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/example.json +9 -9
- package/dist/html-overlay-node.es.js +351 -78
- package/dist/html-overlay-node.es.js.map +1 -1
- package/dist/html-overlay-node.umd.js +1 -1
- package/dist/html-overlay-node.umd.js.map +1 -1
- package/dist/img/favicon.svg +1 -0
- package/index.css +45 -0
- package/package.json +1 -1
- package/readme.md +143 -134
- package/src/core/Graph.js +13 -8
- package/src/core/Runner.js +359 -201
- package/src/index.js +12 -26
- package/src/interact/Controller.js +25 -3
- package/src/nodes/math.js +2 -0
- package/src/nodes/util.js +241 -176
- package/src/nodes/value.js +3 -2
- package/src/render/CanvasRenderer.js +884 -784
- package/src/render/HtmlOverlay.js +64 -2
- package/src/ui/HelpOverlay.js +1 -1
package/dist/example.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"x": 22,
|
|
8
8
|
"y": 74,
|
|
9
9
|
"w": 140,
|
|
10
|
-
"h":
|
|
10
|
+
"h": 100,
|
|
11
11
|
"inputs": [],
|
|
12
12
|
"outputs": [
|
|
13
13
|
{
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"x": 40,
|
|
31
31
|
"y": 60,
|
|
32
32
|
"w": 140,
|
|
33
|
-
"h":
|
|
33
|
+
"h": 100,
|
|
34
34
|
"inputs": [],
|
|
35
35
|
"outputs": [
|
|
36
36
|
{
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"x": 40,
|
|
54
54
|
"y": 180,
|
|
55
55
|
"w": 140,
|
|
56
|
-
"h":
|
|
56
|
+
"h": 90,
|
|
57
57
|
"inputs": [],
|
|
58
58
|
"outputs": [
|
|
59
59
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"x": 40,
|
|
77
77
|
"y": 300,
|
|
78
78
|
"w": 140,
|
|
79
|
-
"h":
|
|
79
|
+
"h": 90,
|
|
80
80
|
"inputs": [],
|
|
81
81
|
"outputs": [
|
|
82
82
|
{
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"x": 220,
|
|
100
100
|
"y": 60,
|
|
101
101
|
"w": 140,
|
|
102
|
-
"h":
|
|
102
|
+
"h": 102,
|
|
103
103
|
"inputs": [
|
|
104
104
|
{
|
|
105
105
|
"id": "e4ea4c5e-dad2-4852-8706-c309f27c3dbc",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"x": 622,
|
|
276
276
|
"y": 54,
|
|
277
277
|
"w": 180,
|
|
278
|
-
"h":
|
|
278
|
+
"h": 130,
|
|
279
279
|
"inputs": [
|
|
280
280
|
{
|
|
281
281
|
"id": "7ac2f56d-66f1-403e-bfa6-dd699fff45f3",
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
"x": 620,
|
|
321
321
|
"y": 140,
|
|
322
322
|
"w": 180,
|
|
323
|
-
"h":
|
|
323
|
+
"h": 130,
|
|
324
324
|
"inputs": [
|
|
325
325
|
{
|
|
326
326
|
"id": "fd23367f-e3df-49a3-9fa9-1ef64514b1d8",
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"x": 100,
|
|
396
396
|
"y": 120,
|
|
397
397
|
"w": 889,
|
|
398
|
-
"h":
|
|
398
|
+
"h": 260,
|
|
399
399
|
"inputs": [],
|
|
400
400
|
"outputs": [],
|
|
401
401
|
"state": {
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"x": 100,
|
|
411
411
|
"y": 400,
|
|
412
412
|
"w": 1089,
|
|
413
|
-
"h":
|
|
413
|
+
"h": 440,
|
|
414
414
|
"inputs": [],
|
|
415
415
|
"outputs": [],
|
|
416
416
|
"state": {
|