Feature idea: 3D interactive visualization for graph.html #219
pedrolbacelar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
I've been using graphify to index a multi-repo project (13 repos, ~4400 nodes, ~7000 edges). The current 2D vis.js HTML output works well for small graphs, but once you get past ~500 nodes the flat layout makes it hard to distinguish clusters and trace cross-community connections.
What I'm thinking
1. 3D visualization with
--3dflagReplace vis.js with 3d-force-graph (WebGL-based, MIT licensed) when a
--3dflag is passed. The data format is nearly identical — nodes withid,label,color,sizeand edges withsource,target. Benefits:2. Sidebar improvements
3. Community-level interaction
Existing work
I've been building a separate graph viewer that currently imports GitNexus output format: code-synapse-viewer. It uses Sigma.js + ELK layout with features like:
It currently only supports the GitNexus JSON format — it does not support graphify's
graph.jsonyet. I'm planning to add a graphify parser so it can consume both formats.Proposal
I'd like to build the
--3dflag and sidebar improvements in my fork first, validate it on real graphs, and then upstream it as a PR if there's interest. The 2D vis.js output would remain the default —--3dwould be opt-in.Would this be welcome? Any preferences on the approach or the 3D library choice?
cc @safishamsi
Beta Was this translation helpful? Give feedback.
All reactions