(drag = null)}
onpointercancel={() => (drag = null)}
>
{#if tree.nodes.length}
{#each tree.nodes as node (node.id)}
{@const { session, x, y, width, height, compact, fold, isLead } = node}
{@const nodeHop = lineage.downNodeHop.get(node.id)}
{/each}
{#if hasInactive || hideInactive}
{/if}
{:else}
{loaded ? 'no agents here (・_・ )' : failed ? "(。•︿•。) couldn't read the agents" : 'reading the agents… (・ω・)ノ'}
{/if}