Visualize a Things knowledge pool graph
- JavaScript 74.5%
- Python 20.3%
- HTML 4.3%
- CSS 0.9%
| .gitignore | ||
| graph.json | ||
| index.html | ||
| LICENSE | ||
| main.js | ||
| package-lock.json | ||
| package.json | ||
| pool2graph.py | ||
| README.md | ||
| style.css | ||
things-graph-renderer - visualize a Things knowledge pool graph
This demo uses the sigma.js and Graphology libraries to read a straightforward graph specification from a JSON file, and renders it as an interactive visualization.
Usage
Run npm dev to start a demo locally.
Content
index.html: minimal HTML page for rendering the graphstyle.css: minimal stylingmain.js: javascript implementation of the graph renderinggraph.json: exemplary graph (nodes, and edges)pool2graph.py: demo script reading Things records from STDIN and writing a graph JSON file