diff --git a/app/src/lib/graph-interface/graph/Graph.svelte b/app/src/lib/graph-interface/graph/Graph.svelte index 61b4e6d..34740c0 100644 --- a/app/src/lib/graph-interface/graph/Graph.svelte +++ b/app/src/lib/graph-interface/graph/Graph.svelte @@ -1,767 +1,805 @@
- - + + - + - {#if boxSelection && mouseDown} - - {/if} + {#if boxSelection && mouseDown} + + {/if} - {#if $status === 'idle'} - {#if addMenuPosition} - - {/if} + {#if $status === "idle"} + {#if addMenuPosition} + + {/if} - {#if $activeSocket} - - {/if} + {#if $activeSocket} + + {/if} - - {:else if $status === 'loading'} - Loading - {:else if $status === 'error'} - Error - {/if} - + + {:else if $status === "loading"} + Loading + {:else if $status === "error"} + Error + {/if} +
diff --git a/nodes/max/plantarium/output/src/inputs.json b/nodes/max/plantarium/output/src/inputs.json index 8494dd4..37912f0 100644 --- a/nodes/max/plantarium/output/src/inputs.json +++ b/nodes/max/plantarium/output/src/inputs.json @@ -1,7 +1,6 @@ { "input": { - "type": "float", - "value": 0.0, + "type": "plant", "external": true } } diff --git a/nodes/max/plantarium/stem/src/lib.rs b/nodes/max/plantarium/stem/src/lib.rs index c97396e..9a8f583 100644 --- a/nodes/max/plantarium/stem/src/lib.rs +++ b/nodes/max/plantarium/stem/src/lib.rs @@ -3,7 +3,7 @@ use utils::{evaluate_args, generate_outputs, get_args}; use wasm_bindgen::prelude::*; use web_sys::console; -generate_outputs!(["stem"]); +generate_outputs!(["plant"]); generate_input_types_file!("src/input.json"); #[wasm_bindgen] diff --git a/package.json b/package.json index f3b9c89..2d5a0bc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "build:nodes": "pnpm -r --filter './nodes/**' build", - "dev:nodes": "pnpm -r --filter './nodes/**' dev", + "dev:nodes": "pnpm -r --parallel --filter './nodes/**' dev", "dev": "pnpm -r --filter 'app' --filter './packages/node-registry' dev" } }