Graph view {counts.nodes} {counts.nodes === 1 ? 'note' : 'notes'} · {counts.links} {counts.links === 1 ? 'link' : 'links'}
!nodeAt(local(e).sx, local(e).sy) && fit()} > {#if data && !counts.nodes}
{#if store.graph.local}This page has no links yet.{:else}No notes to show.{/if}
{/if} {#if panelOpen}
{#if store.graph.local}
Steps away
{#each [1, 2, 3] as d (d)} {/each}
{/if}
Spacing { set({ spacing: +e.currentTarget.value }); sim.params.repel = (store.graph.repel || 420) * (+e.currentTarget.value); sim.params.linkDistance = (store.graph.linkDistance || 96) * (+e.currentTarget.value); sim.reheat(0.25); start(); }} />
Repulsion { set({ repel: +e.currentTarget.value }); sim.params.repel = (+e.currentTarget.value) * store.graph.spacing; sim.reheat(0.25); start(); }} />
Link Distance { set({ linkDistance: +e.currentTarget.value }); sim.params.linkDistance = (+e.currentTarget.value) * store.graph.spacing; sim.reheat(0.25); start(); }} />
{/if}