Repository navigation
feat(graph): edit and merge entities and topics from the graph explorer - #386
Merged
Merged
Conversation
An entity's or topic's panel opens the same editor as its own page, and an entity's panel has Merge (a find box) and Maybe the same. The node menu has Edit and Merge into another, which merges the node into the one clicked next: entities and speakers of one namespace, entities of two namespaces linked as the same thing. Each happens at once with Undo on its notice. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EzVhJCpwskyo5NhHEtS822
…at was typed Typing and pressing Enter before the debounced search came back merged the first entity of the list still showing. Enter now waits for that search. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EzVhJCpwskyo5NhHEtS822
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Description
Before: the graph explorer showed entities and topics, but changing one meant leaving the canvas for its own page, and there was no way to merge two nodes from the graph.
After: an entity's or topic's panel has Edit, which opens the same editor as its own page right over the graph. An entity's panel also has Merge (a find box: type, Enter) and Maybe the same. The node menu (right-click, long-press, or M) has Edit… and Merge into another…: a chip says "now pick the one to keep", and the next node clicked keeps. Entities of one namespace are merged, entities of two namespaces are linked as the same thing, and speakers of one namespace are merged. Each happens at once with Undo on its notice. A node joining several namespaces' entities offers Edit in each namespace. Looking at an earlier version keeps the graph read-only.
How:
components/graph/join.tsdecides how one node joins another (joinKind,joinPlan) and runs it (useGraphJoin, reusing the entity merge hook from #384, a newuseLinkEntities, and the speaker merge API).panel.tsxgainseditTargetand the Edit/Merge buttons;graph-page.tsxrendersEntityDrawer/TopicDrawerand the pick mode.TopicDrawernow looks up its vocabulary when not given. A new clicks journey (graph-merge) counts finding a node, merging another into it and undoing.Motivation and Context
Adeel: "No easy way to merge and edit entities, topics etc. Should be as easy as from the graph explorer and canvas." Second of a few small PRs: entities page (#384), the graph (this), topic undo, a recording's Entities tab, and agent tools.
Types of changes
!in the title)Checklist:
make hookschecks it on commit).__tests__/graph-curate.test.ts, clicks journeygraph-merge)docs/accordingly. (docs/graph.md)## UnreleasedinCHANGELOG.md.Done questions (AGENTS.md)
.envedit or manual step.make openapi)🤖 Generated with Claude Code
https://claude.ai/code/session_01EzVhJCpwskyo5NhHEtS822
Generated by Claude Code