+
+ {#each $nodeGraph.nodes.filter((node) => node.displayName === "Layer") as node (String(node.id))}
+ {@const exposedInputsOutputs = [...node.exposedInputs, ...node.exposedOutputs]}
+ {@const clipPathId = `${Math.random()}`.substring(2)}
+ {@const stackDatainput = node.exposedInputs[0]}
+
+
+
+
+
+ {@html node.thumbnailSvg}
+ {#if node.primaryOutput}
+ {/if}
+
+
+
+ {node.displayName}
+
+
+
+
+ {/each}
+
+ {#each $nodeGraph.nodes.filter((node) => node.displayName !== "Layer") as node (String(node.id))}
+ {@const exposedInputsOutputs = [...node.exposedInputs, ...node.exposedOutputs]}
+ {@const clipPathId = `${Math.random()}`.substring(2)}
+
+
+
+
+ {node.displayName}
+
+
+ {#if exposedInputsOutputs.length > 0}
+
+ {#each exposedInputsOutputs as parameter, index}
+
+ {/each}
+
+ {/if}
+
+
-
- {@html node.thumbnailSvg}
- {#if node.primaryOutput}
-
- {/if}
-
-
-
- {node.displayName}
-
-
-
-
- {/each}
-
- {#each $nodeGraph.nodes.filter((node) => node.displayName !== "Layer") as node (String(node.id))}
- {@const exposedInputsOutputs = [...node.exposedInputs, ...node.exposedOutputs]}
- {@const clipPathId = `${Math.random()}`.substring(2)}
-
-
-
-
- {node.displayName}
-
-
- {#if exposedInputsOutputs.length > 0}
-
- {#each exposedInputsOutputs as parameter, index}
-
- {/each}
-
{/if}
-
-
-
-
- {#if node.primaryOutput}
-
- {/if}
- {#each node.exposedOutputs as parameter}
+ {#each node.exposedInputs as parameter, index}
+ {#if index < node.exposedInputs.length}
- {/each}
-
-
+ {/if}
+ {/each}
- {/each}
-