jsongraph-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

jsongraph

npm downloads GitHub release (latest by date)

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.

Package Sidebar

Install

npm i jsongraph-react

Weekly Downloads

3

Version

0.0.12

License

AGPL-3.0

Unpacked Size

1.74 MB

Total Files

33

Last publish

Collaborators

  • imooncut