diff --git a/docs/guide/execution-model/abc.patch.png b/docs/guide/execution-model/abc.patch.png index 3622ff9e..14babb1c 100644 Binary files a/docs/guide/execution-model/abc.patch.png and b/docs/guide/execution-model/abc.patch.png differ diff --git a/docs/guide/linking-rules/fan-out.patch.png b/docs/guide/linking-rules/fan-out.patch.png index 8a5c3530..f90cd35b 100644 Binary files a/docs/guide/linking-rules/fan-out.patch.png and b/docs/guide/linking-rules/fan-out.patch.png differ diff --git a/docs/guide/program-structure/README.md b/docs/guide/program-structure/README.md index 0d879f77..48756d27 100644 --- a/docs/guide/program-structure/README.md +++ b/docs/guide/program-structure/README.md @@ -44,8 +44,8 @@ Some nodes send an output on their own as a reaction to some external event. For example, the [clock](/libs/xod/core/clock/) node sends outputs at regular time intervals. -Pins are depicted as holes with short labels. Inputs are placed on a darker -background, and outputs are placed on a lighter background. +Pins are depicted as holes with short labels. Inputs are placed at the top +of the node, and outputs are at the bottom. ![Nodes inputs and outputs](./nodes-inputs-outputs.png) diff --git a/docs/guide/program-structure/example.patch.png b/docs/guide/program-structure/example.patch.png index ff76aca8..21d6e6ab 100644 Binary files a/docs/guide/program-structure/example.patch.png and b/docs/guide/program-structure/example.patch.png differ diff --git a/docs/guide/program-structure/nodes-inputs-outputs.png b/docs/guide/program-structure/nodes-inputs-outputs.png index ce1dc9cd..d4b65b5b 100644 Binary files a/docs/guide/program-structure/nodes-inputs-outputs.png and b/docs/guide/program-structure/nodes-inputs-outputs.png differ diff --git a/docs/tutorial/data-types-and-conversions/ldr-led-lcd.patch.png b/docs/tutorial/data-types-and-conversions/ldr-led-lcd.patch.png index 77c2846b..7f202b99 100644 Binary files a/docs/tutorial/data-types-and-conversions/ldr-led-lcd.patch.png and b/docs/tutorial/data-types-and-conversions/ldr-led-lcd.patch.png differ diff --git a/docs/tutorial/data-types-and-conversions/ldr-led.patch.png b/docs/tutorial/data-types-and-conversions/ldr-led.patch.png index cb3e8e2d..b1d5bccb 100644 Binary files a/docs/tutorial/data-types-and-conversions/ldr-led.patch.png and b/docs/tutorial/data-types-and-conversions/ldr-led.patch.png differ diff --git a/docs/tutorial/data-types-and-conversions/pot-led.patch.png b/docs/tutorial/data-types-and-conversions/pot-led.patch.png index 31c2a94e..f840dc84 100644 Binary files a/docs/tutorial/data-types-and-conversions/pot-led.patch.png and b/docs/tutorial/data-types-and-conversions/pot-led.patch.png differ diff --git a/docs/tutorial/install/main-window.png b/docs/tutorial/install/main-window.png index 80fd14ee..ff1d23d2 100644 Binary files a/docs/tutorial/install/main-window.png and b/docs/tutorial/install/main-window.png differ diff --git a/docs/tutorial/nodes-and-links/blink-disjoint-labeled.patch.png b/docs/tutorial/nodes-and-links/blink-disjoint-labeled.patch.png index cb802233..21d6e6ab 100644 Binary files a/docs/tutorial/nodes-and-links/blink-disjoint-labeled.patch.png and b/docs/tutorial/nodes-and-links/blink-disjoint-labeled.patch.png differ diff --git a/docs/tutorial/nodes-and-links/blink-disjoint.patch.png b/docs/tutorial/nodes-and-links/blink-disjoint.patch.png index 1334da6d..29c0f301 100644 Binary files a/docs/tutorial/nodes-and-links/blink-disjoint.patch.png and b/docs/tutorial/nodes-and-links/blink-disjoint.patch.png differ diff --git a/docs/tutorial/nodes-and-links/blink-two-leds-inv.patch.png b/docs/tutorial/nodes-and-links/blink-two-leds-inv.patch.png index 2bdba2a1..a5e6e485 100644 Binary files a/docs/tutorial/nodes-and-links/blink-two-leds-inv.patch.png and b/docs/tutorial/nodes-and-links/blink-two-leds-inv.patch.png differ diff --git a/docs/tutorial/nodes-and-links/blink-two-leds.patch.png b/docs/tutorial/nodes-and-links/blink-two-leds.patch.png index 935a7b01..d4f6b225 100644 Binary files a/docs/tutorial/nodes-and-links/blink-two-leds.patch.png and b/docs/tutorial/nodes-and-links/blink-two-leds.patch.png differ diff --git a/docs/tutorial/nodes-and-links/blink.patch.png b/docs/tutorial/nodes-and-links/blink.patch.png index fdd625c0..9994c44c 100644 Binary files a/docs/tutorial/nodes-and-links/blink.patch.png and b/docs/tutorial/nodes-and-links/blink.patch.png differ diff --git a/docs/tutorial/patch-nodes/plant-terminals-labeled.patch.png b/docs/tutorial/patch-nodes/plant-terminals-labeled.patch.png index 2488dad6..447fae76 100644 Binary files a/docs/tutorial/patch-nodes/plant-terminals-labeled.patch.png and b/docs/tutorial/patch-nodes/plant-terminals-labeled.patch.png differ diff --git a/docs/tutorial/patch-nodes/plant-terminals.patch.png b/docs/tutorial/patch-nodes/plant-terminals.patch.png index ddcc3995..60ee5b9b 100644 Binary files a/docs/tutorial/patch-nodes/plant-terminals.patch.png and b/docs/tutorial/patch-nodes/plant-terminals.patch.png differ diff --git a/docs/tutorial/patch-nodes/plant.patch.png b/docs/tutorial/patch-nodes/plant.patch.png index 457926bc..317de139 100644 Binary files a/docs/tutorial/patch-nodes/plant.patch.png and b/docs/tutorial/patch-nodes/plant.patch.png differ diff --git a/docs/tutorial/patch-nodes/single-plant-percent.patch.png b/docs/tutorial/patch-nodes/single-plant-percent.patch.png index 38823d08..0001cf2a 100644 Binary files a/docs/tutorial/patch-nodes/single-plant-percent.patch.png and b/docs/tutorial/patch-nodes/single-plant-percent.patch.png differ diff --git a/docs/tutorial/patch-nodes/single-plant-with-patch-nodes.patch.png b/docs/tutorial/patch-nodes/single-plant-with-patch-nodes.patch.png index c34f3aae..bf80a356 100644 Binary files a/docs/tutorial/patch-nodes/single-plant-with-patch-nodes.patch.png and b/docs/tutorial/patch-nodes/single-plant-with-patch-nodes.patch.png differ diff --git a/docs/tutorial/patch-nodes/single-plant.patch.png b/docs/tutorial/patch-nodes/single-plant.patch.png index 23729f3d..7bb7d5a7 100644 Binary files a/docs/tutorial/patch-nodes/single-plant.patch.png and b/docs/tutorial/patch-nodes/single-plant.patch.png differ diff --git a/docs/tutorial/patch-nodes/two-plants-main.patch.png b/docs/tutorial/patch-nodes/two-plants-main.patch.png index 82a06e08..93d0743b 100644 Binary files a/docs/tutorial/patch-nodes/two-plants-main.patch.png and b/docs/tutorial/patch-nodes/two-plants-main.patch.png differ diff --git a/workspace/doc-guide/abc-patch-downstream/patch.xodp b/workspace/doc-guide/abc-patch-downstream/patch.xodp new file mode 100644 index 00000000..cc926dc3 --- /dev/null +++ b/workspace/doc-guide/abc-patch-downstream/patch.xodp @@ -0,0 +1,28 @@ +{ + "nodes": [ + { + "id": "HJ1RO5rFZ", + "position": { + "x": 136, + "y": 0 + }, + "type": "xod/patch-nodes/input-boolean" + }, + { + "id": "SJPZu5rYb", + "position": { + "x": 68, + "y": 0 + }, + "type": "xod/patch-nodes/input-boolean" + }, + { + "id": "rJifd9BKZ", + "position": { + "x": 68, + "y": 204 + }, + "type": "xod/patch-nodes/output-pulse" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/abc-patch-middle/patch.xodp b/workspace/doc-guide/abc-patch-middle/patch.xodp new file mode 100644 index 00000000..e259addf --- /dev/null +++ b/workspace/doc-guide/abc-patch-middle/patch.xodp @@ -0,0 +1,20 @@ +{ + "nodes": [ + { + "id": "HyLOd9HtW", + "position": { + "x": 68, + "y": 0 + }, + "type": "xod/patch-nodes/input-boolean" + }, + { + "id": "r12dOcBt-", + "position": { + "x": 68, + "y": 204 + }, + "type": "xod/patch-nodes/output-boolean" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/abc-patch-upstream/patch.xodp b/workspace/doc-guide/abc-patch-upstream/patch.xodp new file mode 100644 index 00000000..448cdfbb --- /dev/null +++ b/workspace/doc-guide/abc-patch-upstream/patch.xodp @@ -0,0 +1,28 @@ +{ + "nodes": [ + { + "id": "HyeTD9HY-", + "position": { + "x": 102, + "y": 0 + }, + "type": "xod/patch-nodes/input-pulse" + }, + { + "id": "S1zAw9rY-", + "position": { + "x": 34, + "y": 102 + }, + "type": "xod/patch-nodes/output-boolean" + }, + { + "id": "Sy9TDqBKb", + "position": { + "x": 34, + "y": 0 + }, + "type": "xod/patch-nodes/input-pulse" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/abc-patch/patch.xodp b/workspace/doc-guide/abc-patch/patch.xodp new file mode 100644 index 00000000..49724762 --- /dev/null +++ b/workspace/doc-guide/abc-patch/patch.xodp @@ -0,0 +1,106 @@ +{ + "links": [ + { + "id": "H1toOqrF-", + "input": { + "nodeId": "B1ZWOcHFZ", + "pinKey": "SJPZu5rYb" + }, + "output": { + "nodeId": "ryJi_9BYb", + "pinKey": "r12dOcBt-" + } + }, + { + "id": "rJ6jd5SYW", + "input": { + "nodeId": "r1Bcu9rYb", + "pinKey": "HyLOd9HtW" + }, + "output": { + "nodeId": "BkQ3P5HKW", + "pinKey": "S1zAw9rY-" + } + }, + { + "id": "rJood9BKW", + "input": { + "nodeId": "ryJi_9BYb", + "pinKey": "HyLOd9HtW" + }, + "output": { + "nodeId": "r1Bcu9rYb", + "pinKey": "r12dOcBt-" + } + }, + { + "id": "rk13OcrYZ", + "input": { + "nodeId": "BJ_tdqStb", + "pinKey": "HyLOd9HtW" + }, + "output": { + "nodeId": "BkQ3P5HKW", + "pinKey": "S1zAw9rY-" + } + }, + { + "id": "ry_RO5HKb", + "input": { + "nodeId": "B1ZWOcHFZ", + "pinKey": "HJ1RO5rFZ" + }, + "output": { + "nodeId": "BJ_tdqStb", + "pinKey": "r12dOcBt-" + } + } + ], + "nodes": [ + { + "id": "B1ZWOcHFZ", + "label": "downstream", + "position": { + "x": 68, + "y": 306 + }, + "type": "@/abc-patch-downstream" + }, + { + "id": "BJ_tdqStb", + "label": "M3", + "position": { + "x": 102, + "y": 102 + }, + "type": "@/abc-patch-middle" + }, + { + "id": "BkQ3P5HKW", + "label": "upstream", + "position": { + "x": 68, + "y": 0 + }, + "type": "@/abc-patch-upstream" + }, + { + "id": "r1Bcu9rYb", + "label": "M1", + "position": { + "x": 34, + "y": 102 + }, + "type": "@/abc-patch-middle" + }, + { + "id": "ryJi_9BYb", + "label": "M2", + "position": { + "x": 34, + "y": 204 + }, + "type": "@/abc-patch-middle" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/fan-out-patch/patch.xodp b/workspace/doc-guide/fan-out-patch/patch.xodp new file mode 100644 index 00000000..ea6ea777 --- /dev/null +++ b/workspace/doc-guide/fan-out-patch/patch.xodp @@ -0,0 +1,71 @@ +{ + "links": [ + { + "id": "B11NPcrtb", + "input": { + "nodeId": "BJgXD5HF-", + "pinKey": "HyYh1a3LZ" + }, + "output": { + "nodeId": "B1QMw9Ht-", + "pinKey": "SyBtREhlW" + } + }, + { + "id": "HJzEPqrFb", + "input": { + "nodeId": "HkO7v5rYW", + "pinKey": "HyYh1a3LZ" + }, + "output": { + "nodeId": "B1QMw9Ht-", + "pinKey": "SyBtREhlW" + } + }, + { + "id": "HkAmwqSYW", + "input": { + "nodeId": "ryJmvcSFZ", + "pinKey": "HyYh1a3LZ" + }, + "output": { + "nodeId": "B1QMw9Ht-", + "pinKey": "SyBtREhlW" + } + } + ], + "nodes": [ + { + "id": "B1QMw9Ht-", + "position": { + "x": 136, + "y": 0 + }, + "type": "xod/core/analog-input" + }, + { + "id": "BJgXD5HF-", + "position": { + "x": 0, + "y": 102 + }, + "type": "xod/common-hardware/led" + }, + { + "id": "HkO7v5rYW", + "position": { + "x": 204, + "y": 102 + }, + "type": "xod/common-hardware/led" + }, + { + "id": "ryJmvcSFZ", + "position": { + "x": 102, + "y": 102 + }, + "type": "xod/common-hardware/led" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/main/patch.xodp b/workspace/doc-guide/main/patch.xodp new file mode 100644 index 00000000..7a73a41b --- /dev/null +++ b/workspace/doc-guide/main/patch.xodp @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/workspace/doc-guide/many-nodes/patch.xodp b/workspace/doc-guide/many-nodes/patch.xodp new file mode 100644 index 00000000..90e96830 --- /dev/null +++ b/workspace/doc-guide/many-nodes/patch.xodp @@ -0,0 +1,356 @@ +{ + "nodes": [ + { + "id": "B1-xPFHF-", + "position": { + "x": 136, + "y": 204 + }, + "type": "xod/core/floor" + }, + { + "id": "B130LFHK-", + "position": { + "x": 918, + "y": 102 + }, + "type": "xod/core/fade" + }, + { + "id": "B1Kj8KBF-", + "position": { + "x": 374, + "y": 102 + }, + "type": "xod/core/delay" + }, + { + "id": "BJWbNtSFb", + "position": { + "x": 170, + "y": 0 + }, + "type": "xod/core/analog-input" + }, + { + "id": "BJXtIYrYW", + "position": { + "x": 884, + "y": 0 + }, + "type": "xod/core/clock" + }, + { + "id": "BJc3PYBFb", + "position": { + "x": 850, + "y": 306 + }, + "type": "xod/core/sqrt" + }, + { + "id": "BJv-YYSYZ", + "position": { + "x": 0, + "y": 408 + }, + "type": "xod/common-hardware/led" + }, + { + "id": "BJyiIFHFZ", + "position": { + "x": 238, + "y": 102 + }, + "type": "xod/core/count" + }, + { + "id": "By0DPYrYZ", + "position": { + "x": 272, + "y": 306 + }, + "type": "xod/core/pi" + }, + { + "id": "By3gEFrF-", + "position": { + "x": 68, + "y": 0 + }, + "type": "xod/core/add" + }, + { + "id": "ByGMDKBt-", + "position": { + "x": 306, + "y": 204 + }, + "type": "xod/core/greater" + }, + { + "id": "H10sIYStW", + "position": { + "x": 510, + "y": 102 + }, + "type": "xod/core/digital-input" + }, + { + "id": "H1NuDYrt-", + "position": { + "x": 340, + "y": 306 + }, + "type": "xod/core/pow" + }, + { + "id": "H1vtwFrKZ", + "position": { + "x": 442, + "y": 306 + }, + "type": "xod/core/pwm-output" + }, + { + "id": "HJTtItHYZ", + "position": { + "x": 0, + "y": 102 + }, + "type": "xod/core/console-log" + }, + { + "id": "HJk2PKBF-", + "position": { + "x": 782, + "y": 306 + }, + "type": "xod/core/sin" + }, + { + "id": "HJktUYStb", + "position": { + "x": 816, + "y": 0 + }, + "type": "xod/core/ceil" + }, + { + "id": "HkQrvFSFb", + "position": { + "x": 850, + "y": 204 + }, + "type": "xod/core/multiply" + }, + { + "id": "HkoEvFrK-", + "position": { + "x": 646, + "y": 204 + }, + "type": "xod/core/map-range" + }, + { + "id": "HkznIYBKW", + "position": { + "x": 612, + "y": 102 + }, + "type": "xod/core/digital-output" + }, + { + "id": "HyUgYKrKZ", + "position": { + "x": 918, + "y": 306 + }, + "type": "xod/core/xor" + }, + { + "id": "HyiWVYHKZ", + "position": { + "x": 374, + "y": 0 + }, + "type": "xod/core/any" + }, + { + "id": "S16BvKSFb", + "position": { + "x": 952, + "y": 204 + }, + "type": "xod/core/nand" + }, + { + "id": "S16eDKHY-", + "position": { + "x": 204, + "y": 204 + }, + "type": "xod/core/gate" + }, + { + "id": "S1I8DKSYb", + "position": { + "x": 0, + "y": 306 + }, + "type": "xod/core/nor" + }, + { + "id": "S1IZ4KrK-", + "position": { + "x": 272, + "y": 0 + }, + "type": "xod/core/and" + }, + { + "id": "S1_mtFSF-", + "position": { + "x": 204, + "y": 408 + }, + "type": "xod/common-hardware/text-lcd-16x2" + }, + { + "id": "SJgzVFSFb", + "position": { + "x": 476, + "y": 0 + }, + "type": "xod/core/asin" + }, + { + "id": "SkAfYYrF-", + "position": { + "x": 102, + "y": 408 + }, + "type": "xod/common-hardware/servo" + }, + { + "id": "SkR8PKrF-", + "position": { + "x": 102, + "y": 306 + }, + "type": "xod/core/not" + }, + { + "id": "SkrqUtrt-", + "position": { + "x": 102, + "y": 102 + }, + "type": "xod/core/constrain" + }, + { + "id": "Sy4fVtSYW", + "position": { + "x": 544, + "y": 0 + }, + "type": "xod/core/atan" + }, + { + "id": "Sy9ywKStW", + "position": { + "x": 0, + "y": 204 + }, + "type": "xod/core/flip-flop" + }, + { + "id": "SyGmwKBt-", + "position": { + "x": 408, + "y": 204 + }, + "type": "xod/core/if-else" + }, + { + "id": "SyUovtrKW", + "position": { + "x": 612, + "y": 306 + }, + "type": "xod/core/select" + }, + { + "id": "Syj5vtBtZ", + "position": { + "x": 544, + "y": 306 + }, + "type": "xod/core/round" + }, + { + "id": "Syzl4FBYb", + "position": { + "x": 714, + "y": 0 + }, + "type": "xod/common-hardware/button" + }, + { + "id": "r1PYIFSF-", + "position": { + "x": 986, + "y": 0 + }, + "type": "xod/core/concat" + }, + { + "id": "rJKeNYSYW", + "position": { + "x": 0, + "y": 0 + }, + "type": "xod/core/acos" + }, + { + "id": "rJPDDYBtZ", + "position": { + "x": 170, + "y": 306 + }, + "type": "xod/core/or" + }, + { + "id": "rJgEvFStb", + "position": { + "x": 544, + "y": 204 + }, + "type": "xod/core/less" + }, + { + "id": "rkb0UYrYW", + "position": { + "x": 816, + "y": 102 + }, + "type": "xod/core/equal" + }, + { + "id": "ryFGNFStZ", + "position": { + "x": 612, + "y": 0 + }, + "type": "xod/core/buffer" + }, + { + "id": "rys6IYHYW", + "position": { + "x": 714, + "y": 102 + }, + "type": "xod/core/divide" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-guide/project.xod b/workspace/doc-guide/project.xod new file mode 100644 index 00000000..03c5f679 --- /dev/null +++ b/workspace/doc-guide/project.xod @@ -0,0 +1,3 @@ +{ + "name": "doc-guide" +} \ No newline at end of file diff --git a/workspace/doc-tutorial/dtc-ldr-led-lcd/patch.xodp b/workspace/doc-tutorial/dtc-ldr-led-lcd/patch.xodp index fae7adf6..c9e3ab2e 100644 --- a/workspace/doc-tutorial/dtc-ldr-led-lcd/patch.xodp +++ b/workspace/doc-tutorial/dtc-ldr-led-lcd/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "ByCZ6y_XZ", @@ -51,12 +50,10 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "BJpa2yu7b", - "label": "", "position": { - "x": 138, - "y": 16 + "x": 204, + "y": 0 }, "type": "xod/core/analog-input" }, @@ -64,12 +61,10 @@ "boundValues": { "rJsaFSvk-": 3 }, - "description": "", "id": "H1rypyO7b", - "label": "", "position": { - "x": 394, - "y": 328 + "x": 306, + "y": 306 }, "type": "xod/core/pwm-output" }, @@ -82,12 +77,10 @@ "rJlYT7EfW": 8, "rkbjp7Ezb": 13 }, - "description": "", "id": "HJblpkuQb", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 0, + "y": 306 }, "type": "xod/common-hardware/text-lcd-16x2" }, @@ -95,12 +88,10 @@ "boundValues": { "SJqZ8COrDkW": 0.5 }, - "description": "", "id": "rk2RnkuX-", - "label": "", "position": { - "x": 266, - "y": 120 + "x": 238, + "y": 102 }, "type": "xod/core/less" } diff --git a/workspace/doc-tutorial/dtc-ldr-led/patch.xodp b/workspace/doc-tutorial/dtc-ldr-led/patch.xodp index e23358fb..776fcaae 100644 --- a/workspace/doc-tutorial/dtc-ldr-led/patch.xodp +++ b/workspace/doc-tutorial/dtc-ldr-led/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "SkDS2JdQW", @@ -29,12 +28,10 @@ "boundValues": { "SJqZ8COrDkW": 0.5 }, - "description": "", "id": "H1-HhyuQW", - "label": "", "position": { - "x": 10, - "y": 120 + "x": 0, + "y": 102 }, "type": "xod/core/less" }, @@ -42,12 +39,10 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "HkVEhkO7b", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 0, + "y": 0 }, "type": "xod/core/analog-input" }, @@ -55,12 +50,10 @@ "boundValues": { "rJsaFSvk-": 3 }, - "description": "", "id": "r1kI3k_mZ", - "label": "", "position": { - "x": 10, - "y": 224 + "x": 0, + "y": 204 }, "type": "xod/core/pwm-output" } diff --git a/workspace/doc-tutorial/dtc-pot-led/patch.xodp b/workspace/doc-tutorial/dtc-pot-led/patch.xodp index c2fcfc8a..5aabb945 100644 --- a/workspace/doc-tutorial/dtc-pot-led/patch.xodp +++ b/workspace/doc-tutorial/dtc-pot-led/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "H1m-j1dXW", @@ -18,12 +17,10 @@ "boundValues": { "rJsaFSvk-": 3 }, - "description": "", "id": "SyzRqkuXW", - "label": "", "position": { - "x": 10, - "y": 120 + "x": 0, + "y": 102 }, "type": "xod/core/pwm-output" }, @@ -31,12 +28,10 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "rkBp5y_QZ", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 0, + "y": 0 }, "type": "xod/core/analog-input" } diff --git a/workspace/doc-tutorial/main/patch.xodp b/workspace/doc-tutorial/main/patch.xodp index 1de27446..7a73a41b 100644 --- a/workspace/doc-tutorial/main/patch.xodp +++ b/workspace/doc-tutorial/main/patch.xodp @@ -1,5 +1,2 @@ { - "description": "", - "links": [], - "nodes": [] } \ No newline at end of file diff --git a/workspace/doc-tutorial/nl-blink-disjoint-labeled/patch.xodp b/workspace/doc-tutorial/nl-blink-disjoint-labeled/patch.xodp new file mode 100644 index 00000000..2ec92322 --- /dev/null +++ b/workspace/doc-tutorial/nl-blink-disjoint-labeled/patch.xodp @@ -0,0 +1,154 @@ +{ + "links": [ + { + "id": "HJocxaI7-", + "input": { + "nodeId": "S1_tlaIXb", + "pinKey": "HJ6HsEngZ" + }, + "output": { + "nodeId": "BkJKxaIXZ", + "pinKey": "HkyxURuSPyW" + } + }, + { + "id": "HyKPJa8mb", + "input": { + "nodeId": "rkczJ6U7-", + "pinKey": "ryTIROHwkW" + }, + "output": { + "nodeId": "Bkc-kpLXb", + "pinKey": "HJU8CE2lW" + } + }, + { + "id": "S1VGWbrrW", + "input": { + "nodeId": "SyXV1687-", + "pinKey": "HJ6HsEngZ" + }, + "output": { + "nodeId": "rJa71TLQZ", + "pinKey": "r1if8ROSDJ-" + } + }, + { + "id": "SkiW--Br-", + "input": { + "nodeId": "rJa71TLQZ", + "pinKey": "ry3zLA_Bv1Z" + }, + "output": { + "nodeId": "rkczJ6U7-", + "pinKey": "HkyxURuSPyW" + } + }, + { + "id": "ryG87r8HZ", + "input": { + "nodeId": "Skz7k6Im-", + "pinKey": "HJ6HsEngZ" + }, + "output": { + "nodeId": "rkczJ6U7-", + "pinKey": "HkyxURuSPyW" + } + }, + { + "id": "ryO5eaIX-", + "input": { + "nodeId": "BkJKxaIXZ", + "pinKey": "ryTIROHwkW" + }, + "output": { + "nodeId": "SktOxpUmZ", + "pinKey": "HJU8CE2lW" + } + } + ], + "nodes": [ + { + "id": "BkJKxaIXZ", + "position": { + "x": 204, + "y": 102 + }, + "type": "xod/core/flip-flop" + }, + { + "boundValues": { + "B13SCNhl-": 0.25 + }, + "id": "Bkc-kpLXb", + "position": { + "x": 34, + "y": 0 + }, + "type": "xod/core/clock" + }, + { + "boundValues": { + "B134j4neZ": 11 + }, + "id": "S1_tlaIXb", + "label": "Red LED", + "position": { + "x": 170, + "y": 306 + }, + "type": "xod/core/digital-output" + }, + { + "boundValues": { + "B13SCNhl-": 0.7 + }, + "id": "SktOxpUmZ", + "position": { + "x": 238, + "y": 0 + }, + "type": "xod/core/clock" + }, + { + "boundValues": { + "B134j4neZ": 13 + }, + "id": "Skz7k6Im-", + "label": "Yellow LED", + "position": { + "x": -34, + "y": 306 + }, + "type": "xod/core/digital-output" + }, + { + "boundValues": { + "B134j4neZ": 12 + }, + "id": "SyXV1687-", + "label": "Blue LED", + "position": { + "x": 68, + "y": 306 + }, + "type": "xod/core/digital-output" + }, + { + "id": "rJa71TLQZ", + "position": { + "x": 102, + "y": 204 + }, + "type": "xod/core/not" + }, + { + "id": "rkczJ6U7-", + "position": { + "x": 0, + "y": 102 + }, + "type": "xod/core/flip-flop" + } + ] +} \ No newline at end of file diff --git a/workspace/doc-tutorial/nl-blink-disjoint/patch.xodp b/workspace/doc-tutorial/nl-blink-disjoint/patch.xodp index 80f58f78..6c6c9059 100644 --- a/workspace/doc-tutorial/nl-blink-disjoint/patch.xodp +++ b/workspace/doc-tutorial/nl-blink-disjoint/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "HJocxaI7-", @@ -70,13 +69,10 @@ ], "nodes": [ { - "boundValues": {}, - "description": "", "id": "BkJKxaIXZ", - "label": "", "position": { - "x": 394, - "y": 120 + "x": 204, + "y": 102 }, "type": "xod/core/flip-flop" }, @@ -84,12 +80,10 @@ "boundValues": { "B13SCNhl-": 0.25 }, - "description": "", "id": "Bkc-kpLXb", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 34, + "y": 0 }, "type": "xod/core/clock" }, @@ -97,12 +91,10 @@ "boundValues": { "B134j4neZ": 11 }, - "description": "", "id": "S1_tlaIXb", - "label": "Red LED", "position": { - "x": 394, - "y": 328 + "x": 170, + "y": 306 }, "type": "xod/core/digital-output" }, @@ -110,12 +102,10 @@ "boundValues": { "B13SCNhl-": 0.7 }, - "description": "", "id": "SktOxpUmZ", - "label": "", "position": { - "x": 394, - "y": 16 + "x": 238, + "y": 0 }, "type": "xod/core/clock" }, @@ -123,12 +113,10 @@ "boundValues": { "B134j4neZ": 13 }, - "description": "", "id": "Skz7k6Im-", - "label": "Yellow LED", "position": { - "x": 10, - "y": 328 + "x": -34, + "y": 306 }, "type": "xod/core/digital-output" }, @@ -136,34 +124,26 @@ "boundValues": { "B134j4neZ": 12 }, - "description": "", "id": "SyXV1687-", - "label": "Blue LED", "position": { - "x": 138, - "y": 328 + "x": 68, + "y": 306 }, "type": "xod/core/digital-output" }, { - "boundValues": {}, - "description": "", "id": "rJa71TLQZ", - "label": "", "position": { - "x": 138, - "y": 224 + "x": 102, + "y": 204 }, "type": "xod/core/not" }, { - "boundValues": {}, - "description": "", "id": "rkczJ6U7-", - "label": "", "position": { - "x": 10, - "y": 120 + "x": 0, + "y": 102 }, "type": "xod/core/flip-flop" } diff --git a/workspace/doc-tutorial/nl-blink-two-leds-inv/patch.xodp b/workspace/doc-tutorial/nl-blink-two-leds-inv/patch.xodp index c9db47e9..58e9dffe 100644 --- a/workspace/doc-tutorial/nl-blink-two-leds-inv/patch.xodp +++ b/workspace/doc-tutorial/nl-blink-two-leds-inv/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "BkCpgZSr-", @@ -51,12 +50,10 @@ "boundValues": { "B13SCNhl-": 0.25 }, - "description": "", "id": "Bkc-kpLXb", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 68, + "y": 0 }, "type": "xod/core/clock" }, @@ -64,12 +61,10 @@ "boundValues": { "B134j4neZ": 13 }, - "description": "", "id": "Skz7k6Im-", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 0, + "y": 306 }, "type": "xod/core/digital-output" }, @@ -77,34 +72,26 @@ "boundValues": { "B134j4neZ": 12 }, - "description": "", "id": "SyXV1687-", - "label": "", "position": { - "x": 138, - "y": 328 + "x": 102, + "y": 306 }, "type": "xod/core/digital-output" }, { - "boundValues": {}, - "description": "", "id": "rJa71TLQZ", - "label": "", "position": { - "x": 138, - "y": 224 + "x": 136, + "y": 204 }, "type": "xod/core/not" }, { - "boundValues": {}, - "description": "", "id": "rkczJ6U7-", - "label": "", "position": { - "x": 10, - "y": 120 + "x": 34, + "y": 102 }, "type": "xod/core/flip-flop" } diff --git a/workspace/doc-tutorial/nl-blink-two-leds/patch.xodp b/workspace/doc-tutorial/nl-blink-two-leds/patch.xodp index 24ad8bb7..e3e24284 100644 --- a/workspace/doc-tutorial/nl-blink-two-leds/patch.xodp +++ b/workspace/doc-tutorial/nl-blink-two-leds/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "H1lBAnIQ-", @@ -40,23 +39,18 @@ "boundValues": { "B134j4neZ": 12 }, - "description": "", "id": "B1dVAhL7W", - "label": "", "position": { - "x": 138, - "y": 328 + "x": 102, + "y": 306 }, "type": "xod/core/digital-output" }, { - "boundValues": {}, - "description": "", "id": "BJ9Z02U7b", - "label": "", "position": { - "x": 10, - "y": 120 + "x": 34, + "y": 102 }, "type": "xod/core/flip-flop" }, @@ -64,12 +58,10 @@ "boundValues": { "B13SCNhl-": 0.25 }, - "description": "", "id": "S1Ag03LX-", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 68, + "y": 0 }, "type": "xod/core/clock" }, @@ -77,12 +69,10 @@ "boundValues": { "B134j4neZ": 13 }, - "description": "", "id": "S1omR28X-", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 0, + "y": 306 }, "type": "xod/core/digital-output" } diff --git a/workspace/doc-tutorial/pn-plant-terminals-labeled/patch.xodp b/workspace/doc-tutorial/pn-plant-terminals-labeled/patch.xodp index 58c88865..a5b1ab81 100644 --- a/workspace/doc-tutorial/pn-plant-terminals-labeled/patch.xodp +++ b/workspace/doc-tutorial/pn-plant-terminals-labeled/patch.xodp @@ -1,59 +1,47 @@ { - "description": "", - "links": [], "nodes": [ { - "boundValues": {}, - "description": "", "id": "BJBmSxOQZ", "label": "SEN", "position": { - "x": 138, - "y": 16 + "x": 102, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "S1te_ldQZ", "label": "LVL", "position": { - "x": 394, - "y": 16 + "x": 170, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "SkfESlumW", "label": "STAT", "position": { - "x": 138, - "y": 224 + "x": 34, + "y": 102 }, "type": "xod/patch-nodes/output-string" }, { - "boundValues": {}, - "description": "", "id": "r1keulu7W", "label": "NAME", "position": { - "x": 266, - "y": 16 + "x": 238, + "y": 0 }, "type": "xod/patch-nodes/input-string" }, { - "boundValues": {}, - "description": "", "id": "ryXQBgu7-", "label": "PUMP", "position": { - "x": 10, - "y": 16 + "x": 34, + "y": 0 }, "type": "xod/patch-nodes/input-number" } diff --git a/workspace/doc-tutorial/pn-plant-terminals/patch.xodp b/workspace/doc-tutorial/pn-plant-terminals/patch.xodp index d667d086..49e224c0 100644 --- a/workspace/doc-tutorial/pn-plant-terminals/patch.xodp +++ b/workspace/doc-tutorial/pn-plant-terminals/patch.xodp @@ -1,59 +1,42 @@ { - "description": "", - "links": [], "nodes": [ { - "boundValues": {}, - "description": "", "id": "BJBmSxOQZ", - "label": "", "position": { - "x": 138, - "y": 16 + "x": 102, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "H1MEuedXb", - "label": "", "position": { - "x": 266, - "y": 16 + "x": 238, + "y": 0 }, "type": "xod/patch-nodes/input-string" }, { - "boundValues": {}, - "description": "", "id": "SkfESlumW", - "label": "", "position": { - "x": 138, - "y": 224 + "x": 34, + "y": 102 }, "type": "xod/patch-nodes/output-string" }, { - "boundValues": {}, - "description": "", "id": "ryXQBgu7-", - "label": "", "position": { - "x": 10, - "y": 16 + "x": 34, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "ryrN_lumZ", - "label": "", "position": { - "x": 394, - "y": 16 + "x": 170, + "y": 0 }, "type": "xod/patch-nodes/input-number" } diff --git a/workspace/doc-tutorial/pn-plant/patch.xodp b/workspace/doc-tutorial/pn-plant/patch.xodp index 422b6f7b..ed69fbb0 100644 --- a/workspace/doc-tutorial/pn-plant/patch.xodp +++ b/workspace/doc-tutorial/pn-plant/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "B15hIxuQb", @@ -103,112 +102,87 @@ ], "nodes": [ { - "boundValues": {}, - "description": "", "id": "B1U-8x_Xb", "label": "PUMP", "position": { - "x": 10, - "y": 16 + "x": 102, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "BJ2bIgOQb", "label": "NAME", "position": { - "x": 138, - "y": 328 + "x": 272, + "y": 204 }, "type": "xod/patch-nodes/input-string" }, { - "boundValues": {}, - "description": "", "id": "BJ5SLlOmb", - "label": "", "position": { - "x": 138, - "y": 224 + "x": 136, + "y": 306 }, "type": "xod/core/less" }, { - "boundValues": {}, - "description": "", "id": "H1ZG8e_XZ", "label": "LVL", "position": { - "x": 266, - "y": 16 + "x": 170, + "y": 204 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "HJrYIg_mb", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 102, + "y": 408 }, "type": "xod/core/digital-output" }, { - "boundValues": {}, - "description": "", "id": "HJwZLxdQb", "label": "SEN", "position": { - "x": 138, - "y": 16 + "x": 136, + "y": 0 }, "type": "xod/patch-nodes/input-number" }, { - "boundValues": {}, - "description": "", "id": "HknfLluXW", "label": "STAT", "position": { - "x": 266, - "y": 536 + "x": 272, + "y": 408 }, "type": "xod/patch-nodes/output-string" }, { - "boundValues": {}, - "description": "", "id": "rkW2Lldmb", - "label": "", "position": { - "x": 266, - "y": 432 + "x": 272, + "y": 306 }, "type": "xod/core/concat" }, { - "boundValues": {}, - "description": "", "id": "rkmS8xu7W", - "label": "", "position": { - "x": 138, - "y": 120 + "x": 136, + "y": 102 }, "type": "xod/core/analog-input" }, { - "boundValues": {}, - "description": "", "id": "ryEi8gdmW", - "label": "", "position": { - "x": 266, - "y": 224 + "x": 306, + "y": 204 }, "type": "xod/core/to-percent" } diff --git a/workspace/doc-tutorial/pn-single-plant-percent/patch.xodp b/workspace/doc-tutorial/pn-single-plant-percent/patch.xodp index bb0a578c..2d1900c4 100644 --- a/workspace/doc-tutorial/pn-single-plant-percent/patch.xodp +++ b/workspace/doc-tutorial/pn-single-plant-percent/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "H1hZNg_Xb", @@ -62,23 +61,18 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "BJpa2yu7b", - "label": "", "position": { - "x": 138, - "y": 16 + "x": 170, + "y": 0 }, "type": "xod/core/analog-input" }, { - "boundValues": {}, - "description": "", "id": "ByulExOQb", - "label": "", "position": { - "x": 266, - "y": 120 + "x": 340, + "y": 102 }, "type": "xod/core/to-percent" }, @@ -91,12 +85,10 @@ "rJlYT7EfW": 8, "rkbjp7Ezb": 13 }, - "description": "", "id": "HJblpkuQb", - "label": "", "position": { - "x": 138, - "y": 328 + "x": 102, + "y": 306 }, "type": "xod/common-hardware/text-lcd-16x2" }, @@ -104,12 +96,10 @@ "boundValues": { "Hkqu9oaWb": "Cactus: " }, - "description": "", "id": "S1fZVed7b", - "label": "", "position": { - "x": 266, - "y": 224 + "x": 306, + "y": 204 }, "type": "xod/core/concat" }, @@ -117,12 +107,10 @@ "boundValues": { "B134j4neZ": 3 }, - "description": "", "id": "Sk9gmgOQW", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 0, + "y": 306 }, "type": "xod/core/digital-output" }, @@ -130,12 +118,10 @@ "boundValues": { "SJqZ8COrDkW": 0.5 }, - "description": "", "id": "rk2RnkuX-", - "label": "", "position": { - "x": 10, - "y": 224 + "x": 34, + "y": 102 }, "type": "xod/core/less" } diff --git a/workspace/doc-tutorial/pn-single-plant-with-patch-nodes/patch.xodp b/workspace/doc-tutorial/pn-single-plant-with-patch-nodes/patch.xodp index 6c435fde..332c1515 100644 --- a/workspace/doc-tutorial/pn-single-plant-with-patch-nodes/patch.xodp +++ b/workspace/doc-tutorial/pn-single-plant-with-patch-nodes/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "H1hZNg_Xb", @@ -59,13 +58,11 @@ ], "nodes": [ { - "boundValues": {}, - "description": "", "id": "BJLfYedQW", "label": "plant", "position": { - "x": 394, - "y": 120 + "x": 408, + "y": 102 }, "type": "@/pn-plant" }, @@ -73,23 +70,18 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "BJpa2yu7b", - "label": "", "position": { - "x": 138, - "y": 16 + "x": 170, + "y": 0 }, "type": "xod/core/analog-input" }, { - "boundValues": {}, - "description": "", "id": "ByulExOQb", - "label": "", "position": { - "x": 266, - "y": 120 + "x": 340, + "y": 102 }, "type": "xod/core/to-percent" }, @@ -102,12 +94,10 @@ "rJlYT7EfW": 8, "rkbjp7Ezb": 13 }, - "description": "", "id": "HJblpkuQb", - "label": "", "position": { - "x": 138, - "y": 328 + "x": 102, + "y": 306 }, "type": "xod/common-hardware/text-lcd-16x2" }, @@ -115,12 +105,10 @@ "boundValues": { "Hkqu9oaWb": "Cactus: " }, - "description": "", "id": "S1fZVed7b", - "label": "", "position": { - "x": 266, - "y": 224 + "x": 306, + "y": 204 }, "type": "xod/core/concat" }, @@ -128,23 +116,19 @@ "boundValues": { "B134j4neZ": 3 }, - "description": "", "id": "Sk9gmgOQW", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 0, + "y": 306 }, "type": "xod/core/digital-output" }, { - "boundValues": {}, - "description": "", "id": "r1l7tguXW", "label": "plant", "position": { - "x": 394, - "y": 224 + "x": 408, + "y": 204 }, "type": "@/pn-plant" }, @@ -152,12 +136,10 @@ "boundValues": { "SJqZ8COrDkW": 0.5 }, - "description": "", "id": "rk2RnkuX-", - "label": "", "position": { - "x": 10, - "y": 224 + "x": 34, + "y": 102 }, "type": "xod/core/less" } diff --git a/workspace/doc-tutorial/pn-single-plant/patch.xodp b/workspace/doc-tutorial/pn-single-plant/patch.xodp index d1d25d34..eabcb7b6 100644 --- a/workspace/doc-tutorial/pn-single-plant/patch.xodp +++ b/workspace/doc-tutorial/pn-single-plant/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "ByCZ6y_XZ", @@ -40,12 +39,10 @@ "boundValues": { "BJuORNheZ": 14 }, - "description": "", "id": "BJpa2yu7b", - "label": "", "position": { - "x": 138, - "y": 16 + "x": 136, + "y": 0 }, "type": "xod/core/analog-input" }, @@ -58,12 +55,10 @@ "rJlYT7EfW": 8, "rkbjp7Ezb": 13 }, - "description": "", "id": "HJblpkuQb", - "label": "", "position": { - "x": 138, - "y": 328 + "x": 136, + "y": 306 }, "type": "xod/common-hardware/text-lcd-16x2" }, @@ -71,12 +66,10 @@ "boundValues": { "B134j4neZ": 3 }, - "description": "", "id": "Sk9gmgOQW", - "label": "", "position": { - "x": 10, - "y": 328 + "x": 34, + "y": 306 }, "type": "xod/core/digital-output" }, @@ -84,12 +77,10 @@ "boundValues": { "SJqZ8COrDkW": 0.5 }, - "description": "", "id": "rk2RnkuX-", - "label": "", "position": { - "x": 10, - "y": 224 + "x": 68, + "y": 102 }, "type": "xod/core/less" } diff --git a/workspace/doc-tutorial/pn-two-plants-main/patch.xodp b/workspace/doc-tutorial/pn-two-plants-main/patch.xodp index 7187d133..a6369769 100644 --- a/workspace/doc-tutorial/pn-two-plants-main/patch.xodp +++ b/workspace/doc-tutorial/pn-two-plants-main/patch.xodp @@ -1,5 +1,4 @@ { - "description": "", "links": [ { "id": "HJQhtg_mb", @@ -33,12 +32,11 @@ "HJwZLxdQb": 15, "HknfLluXW": "..." }, - "description": "", "id": "HJ49FxumZ", "label": "Crassula", "position": { - "x": 266, - "y": 16 + "x": 272, + "y": 102 }, "type": "@/pn-plant" }, @@ -51,12 +49,10 @@ "rJlYT7EfW": 8, "rkbjp7Ezb": 13 }, - "description": "", "id": "HJblpkuQb", - "label": "", "position": { - "x": 10, - "y": 224 + "x": 34, + "y": 204 }, "type": "xod/common-hardware/text-lcd-16x2" }, @@ -68,12 +64,11 @@ "HJwZLxdQb": 14, "HknfLluXW": "..." }, - "description": "", "id": "SkqOYxOXb", "label": "Cactus", "position": { - "x": 10, - "y": 16 + "x": 238, + "y": 0 }, "type": "@/pn-plant" } diff --git a/workspace/doc-tutorial/project.xod b/workspace/doc-tutorial/project.xod index 24653828..734eb569 100644 --- a/workspace/doc-tutorial/project.xod +++ b/workspace/doc-tutorial/project.xod @@ -1,7 +1,4 @@ { - "authors": [], - "description": "", - "license": "", "name": "doc-tutorial", "version": "" } \ No newline at end of file