Animated Graph Data in FigJam
APACHE-2.0 License
No dependencies, just a simple animated force directed graph based on the Fruchterman Reingold Algorithm.
Inspired by graphview for Flutter.
Given the following graph data:
{
"nodes": [
{ "id": "1" },
{ "id": "2" },
{ "id": "3" },
{ "id": "4" },
{ "id": "5" },
],
"edges": [
{ "source": "1", "destination": "2" },
{ "source": "1", "destination": "3" },
{ "source": "2", "destination": "4" },
{ "source": "2", "destination": "5" },
{ "source": "3", "destination": "4" },
{ "source": "3", "destination": "5" },
],
}
Will render the following graph:
With the following plugin UI:
# Install dependencies
npm install
# Run the development server
npm run watch
# Build the plugin
npm run build