jsongraph
Convert JSON into interactive graphs.
🚀 Getting Started | 📖 Documentation | 📺 Examples | ☎️ Discord
Installation
npm install jsongraph-react
Quick Start
const json = JSON.stringify({
"id": "1",
"name": "aykut",
});
<Graph json={json} ref={graphRef} />
Value | Notes |
---|---|
ref | Access graph methods |
json | JSON string |
layout | layout options |
style | style options |
onNodeClick | triggered when clicked on a node |
onLayoutChange | triggered after graph paint |
License
This project is licensed under AGPL-3.0.
For commercial usage please contact contact@jsoncrack.com.