1.0.7 • Published 7 years ago
@gogrillion/gl-graph v1.0.7
gl-graph
gl-graph is a WebGL powered network graph visualization for large data sets.
Features
- Swappable layout engines from various other graph tools.
- WASD camera control
- Node events ( eg. nodeclick, nodehover, etc. )
- Supports large data sets ( 10,000 and 20,000 links - see 100x100 grid example )
- Edge directionality
Requirements
npm- A web browser with WebGL 1.0 support.
Run the demo
npm install
npm run demoUsage
A data store is needed. An ephemeral in-memory only implementation MemoryGraph is provided.
let graph = new MemoryGraph();Populate the graph using a graph generator or your own data. See src/generator for more topologies.
RandomTree(graph); // Generate a random tree-like structure with default optionsCreate the viewport
let viewport = new Viewport(window.document.getElementById('center'), graph);License
Copyright (C) 2018 GoGrillion
gl-graph is licensed under the ISC License