Skip to content

Rename rendered → canvas across the graph path and add Canvas terminology #1888

Description

@kmcginnes

Task

Rename renderedcanvas across the graph render path, and establish "Canvas" as the ubiquitous term for on-graph entities in CONTEXT.md. Pure rename plus terminology — no behavior change.

Details

  • Branded types: RenderedVertexIdCanvasVertexId, RenderedEdgeIdCanvasEdgeId.
  • Rename the converter module (renderedEntitiescanvasEntities) and its test.
  • Rename the id helpers, converter functions, hooks, and element types (RenderedVertex/RenderedEdgeCanvas*) and all call sites (~11 files, including the Graph View, context menu, node badges, badge renderer, global actions, Schema View sidebar, state-provider index).
  • Collision check (done): target names (CanvasVertexId, CanvasEdgeId, toCanvasVertex/Edge, useCanvasVertices/Edges, canvasEntities) do not currently exist. Existing canvas usage is the unrelated HTML/cytoscape-canvas sense (CytoscapeCanvas, cyCanvas, getCanvas) — no conflict.
  • CONTEXT.md: add a Canvas Vertex / Canvas Edge term (the structural, id-prefixed representation Cytoscape renders) and record the renderedcanvas rename under Flagged ambiguities, consistent with the other legacy-term migrations.

Acceptance

  • No rendered/Rendered* identifiers remain in the graph path (verified by grep).
  • pnpm check:types and pnpm test green.
  • CONTEXT.md carries the Canvas terminology.

Related Issues

Important

Internal only — this issue is maintained by the core team and is not accepting external contributions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalSignals that the team will work on this issue internally.ready-for-agentfully specified, ready for an AFK agenttech debtIssues, typically tasks, that are mainly about cleaning up code that is problematic in some way

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions