feat: overhaul graph visualization (Neo4j/ArangoDB-inspired)#406
Open
shaunpatterson wants to merge 4 commits into
Open
feat: overhaul graph visualization (Neo4j/ArangoDB-inspired)#406shaunpatterson wants to merge 4 commits into
shaunpatterson wants to merge 4 commits into
Conversation
24e2dd3 to
daf4e32
Compare
Author
Major improvements to the graph rendering engine: - ArangoDB-style cluster neighborhoods via custom forceCluster that groups nodes by predicate with tight same-group attraction - Convex hull overlays behind each cluster for visual grouping - Neighborhood highlighting: hover a node to dim non-connected nodes/edges - Degree-based node sizing (8-40px radius, sqrt scale) - Neo4j-inspired color palette with 20 rich, saturated colors - Minimap (bottom-left) with click-to-navigate - Node search bar with zoom-to-focus and pulse animation - Fit-to-screen button - Viewport culling for offscreen nodes/edges - Level-of-detail: dot rendering at low zoom - Edge cap (2000) and hull/minimap throttling for huge graphs - Solid flat node fills for performance (no gradients/shadows) - Pre-cached node radius, colors, and border colors - Filled arrowheads with proper curved-edge placement - Dot-grid background, rounded label pills, entity selector polish Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Node labels incorrectly showed graph_name instead of name because the regex /Name/i matched the first property containing "name". Now prefers an exact "name" match. Also tuned force simulation to settle quickly instead of jittering indefinitely. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove unused lightenColor function and auto-format files with biome/prettier. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The collapsed panel was showing a truncated stats string (only "edges" visible) that duplicated the graph-stats indicator. Only render the panel when a node or edge is actually selected. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
e1795e4 to
8d72580
Compare
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.



Summary
forceClusterthat groups nodes by predicate with tight same-group attraction and convex hull overlaysTest plan
🤖 Generated with Claude Code