{#if nodeListLocation} (searchTerm = detail)} bind:this={nodeSearchInput} /> {#each nodeCategories as nodeCategory} {nodeCategory[0]} {#each nodeCategory[1] as nodeType} createNode(nodeType.name)} /> {/each} {:else} No search results {/each} {/if}
{#each $nodeGraph.nodes as node (String(node.id))} {@const exposedInputsOutputs = [...node.exposedInputs, ...node.outputs.slice(1)]}
{#if node.primaryInput}
{/if} {#if node.outputs.length > 0}
{/if}
{node.displayName}
{#if exposedInputsOutputs.length > 0}
{#each exposedInputsOutputs as parameter, index (index)}
{#if index < node.exposedInputs.length}
{:else}
{/if}
{parameter.name}
{/each}
{/if}
{/each}
{#each linkPaths as [pathString, dataType], index (index)} {/each}