Skip to content

Navigation: text → graph (reveal node at cursor) #24

Closed

Description

@melonamin

Split out from #17.

Depends on: Node nameSpans / bodySpan (sibling issue).

Proposal

  • Build an interval index from nameSpans / bodySpan at graph-build time.
  • Context-menu item + floating action button: "Reveal in lineage". Enabled when the cursor sits inside any indexed span.
  • Action centers the graph viewport on the matched node and pulses its outline.
  • If the cursor is inside a CTE body (not on a name), focus the CTE node itself.

Acceptance

  • Cursor inside a column reference → column node focused.
  • Cursor inside a CTE body → CTE node focused.
  • Cursor in whitespace → action disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions