Legend

{#if expanded} {:else} {/if}
{#if expanded}

Node Types

{#if nodeTypesExpanded} {:else} {/if}
{#if nodeTypesExpanded}
    {#each Object.entries(eventCounts).sort(([a], [b]) => Number(a) - Number(b)) as [kindStr, count]} {@const kind = Number(kindStr)} {@const countNum = count as number} {@const color = getEventKindColor(kind)} {@const name = getEventKindName(kind)} {#if countNum > 0}
  • {kind} - {name} ({countNum})
  • {/if} {/each}
  • {#if starMode} Radial connections from centers to related events {:else} Arrows indicate relationships and sequence {/if}
  • {#if showPersonNodes && personAnchors.length > 0}
  • Authored by person
  • References person
  • {/if}
{/if}
tagControlsExpanded = !tagControlsExpanded}>

Tag Anchor Controls

{#if tagControlsExpanded} {:else} {/if}
{#if tagControlsExpanded}
Show Tag Anchors
{#if showTagAnchors}
{/if}
{/if}
{#if showTags && tagAnchors.length > 0}

Active Tag Anchors: {tagAnchors[0].type}

{#if tagAnchorsExpanded} {:else} {/if}
{#if tagAnchorsExpanded} {@const sortedAnchors = tagSortMode === 'count' ? [...tagAnchors].sort((a, b) => b.count - a.count) : [...tagAnchors].sort((a, b) => a.label.localeCompare(b.label)) } {#if autoDisabledTags}
Note: All {tagAnchors.length} tags were auto-disabled to prevent graph overload. Click individual tags below to enable them.
{/if}
Sort by:
{#each sortedAnchors as anchor} {@const tagId = `${anchor.type}-${anchor.label}`} {@const isDisabled = disabledTags.has(tagId)} {/each}
{/if}
{/if}
personVisualizerExpanded = !personVisualizerExpanded}>

Person Visualizer

{#if personVisualizerExpanded} {:else} {/if}
{#if personVisualizerExpanded}
Show Person Nodes
{#if showPersonNodes}
{/if}
{#if showPersonNodes && personAnchors.length > 0}

{#if totalPersonCount > displayedPersonCount} Displaying {displayedPersonCount} of {totalPersonCount} people found: {:else} {personAnchors.length} people found: {/if}

{#each personAnchors as person} {@const isDisabled = disabledPersons.has(person.pubkey)} {/each}
{:else if showPersonNodes}

No people found in the current events.

{/if}
{/if}
{/if}