{ selected = true dispatch('select', node.id) }} >
{node.label === '' ? `Tab: ${node.id}` : node.label}
Tab index: {index}
You can manually select a node using the
setTab
function with this index in a frontend runnable.
{#if canDelete}
dispatch('delete')} >
{/if} {#if node.id !== 'end'}
dispatch('nodeInsert')} on:addBranch={() => dispatch('addBranch')} canAddBranch={canAddBranch || node.next.length > 1} canAddNode={node.next.length <= 1} />
{/if}