Skip to content

UI: collapse/expand single-edge node pairs #28

Closed as not planned
Closed as not planned

Description

@melonamin

Split out from #17.

Proposal

  • When two nodes are connected by exactly one edge (common for CTE→CTE chains), render a collapse toggle on the edge.
  • Collapsed state merges the downstream node into its parent visually; the edge becomes a badge with a count.
  • Expansion is cosmetic only — no data fetching in this issue.

Out of scope

Lazy loading, backend fetches, CrossAssets edges. Those live in the lazy-expansion tracking issue.

Acceptance

  • Collapse/expand round-trips preserve graph state.
  • Layout re-flows without jitter.
  • Screenshot test of collapsed / expanded states.

Activity

  1. added
    enhancement
    on Apr 12, 2026
  2. melonamin commented on Apr 17, 2026

    @melonamin
    MemberAuthor

    Closing as not planned — the edge-mounted collapse/expand UX didn't feel right in practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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