Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

feat: Interactive Graph Explorer — load and explore JSON graphs in the browser - #82

Merged
sauravbhattacharya001 merged 1 commit into
masterfrom
builder/graph-explorer
Mar 15, 2026
Merged

sauravbhattacharya001 merged 1 commit into
masterfrom
builder/graph-explorer

Conversation

@sauravbhattacharya001

Copy link
Copy Markdown
Owner

Interactive Graph Explorer page: load JSON graph files and explore them visually. Force-directed layout, ego network highlighting, shortest path finder, search/filter, community detection, degree sizing, edge type coloring, zoom/pan, PNG export. Zero dependencies (pure SVG + vanilla JS). Explorer link added to all doc pages.

…e browser

New docs/explorer.html page for visual exploration of exported graphs:

Features:
- Load JSON files from JsonGraphExporter or try built-in demo graph
- Force-directed layout with SVG rendering (no D3.js dependency)
- Zoom (scroll wheel) and pan (click-drag) on the canvas
- Degree-proportional node sizing
- Edge coloring by relationship type (friend, classmate, social, etc.)
- Click any node to highlight its ego network (direct neighbors)
- Node info panel showing degree, community, and neighbor list
- Click-through neighbor navigation
- Search/filter nodes by name with live highlighting
- Shortest path finder (BFS) between any two nodes with path viz
- Fuzzy node name matching (case-insensitive, substring)
- Connected component community detection with color coding
- Adjustable force strength and link distance sliders
- Show/hide labels toggle
- Community coloring toggle
- PNG export of current view (2x resolution)
- Live statistics: nodes, edges, density, avg/max degree, communities
- Edge type legend with counts
- Responsive layout (stacks vertically on mobile)
- Dark theme matching existing docs site

Architecture:
- Zero external dependencies (pure SVG + vanilla JS)
- Custom force simulation (repulsion + link spring + center gravity)
- Accepts standard { nodes: [], links: [] } JSON format

Explorer link added to sidebar nav on all 6 doc pages.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sauravbhattacharya001
sauravbhattacharya001 merged commit b83de59 into master Mar 15, 2026
3 of 7 checks passed
@sauravbhattacharya001
sauravbhattacharya001 deleted the builder/graph-explorer branch March 15, 2026 13:23
@github-actions github-actions Bot added documentation Documentation improvements size/xl labels Mar 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Documentation improvements size/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant