diff --git a/src/Graph.svelte b/src/Graph.svelte index a294d91..5c16521 100644 --- a/src/Graph.svelte +++ b/src/Graph.svelte @@ -1,7 +1,25 @@ @@ -47,18 +76,18 @@ on:connection={onConnect} > {#each $inputs as inp, index} - +
- {inp} + {inp.name}
- +
v
- +
a
@@ -66,7 +95,7 @@ {/each} {#each $filters as f, index} - +
{f.name} @@ -74,15 +103,15 @@
- {#each countCons(f).in as inp} - + {#each countCons(f).in as inp, index} +
{inp}
{/each}
{#each countCons(f).out as out} - +
{out}
{/each} @@ -90,7 +119,7 @@ {/each} - +
{$output} @@ -109,6 +138,14 @@ +
+ {#each edges as e} +

+ {e[0]} =======> {e[1]} +

+ {/each} +
+