A Force-Directed Graph Framework for Rust.
The goal of this project is to provide a force-directed graph drawing framework for Rust, as well as 2D and 3D visualizers/renderers that work on the web and desktop. It's built on top of the popular petgraph
Rust library for interaction with already existing datasets in Rust.
In the simplest terms, the crates in this project allow you to take a graph and turn it into a pretty picture.
Name | Version | Docs | License | Description |
---|---|---|---|---|
fdg-sim |
Runs the layout engine (simulation) and manages the position of nodes. | |||
fdg-macroquad |
A demo visualizer that lets you interact with the graph in real time. (View Online) | |||
fdg-img |
A simple SVG renderer for your graphs. | |||
fdg-wasm |
A simple Webassembly wrapper of fdg-sim for use in Javascript. |
- Force-Directed Graphs on Wikipedia
- Force Directed Drawing Algorithms (Kobourov)
- Example Javascript force directed graph layout engines d3-force and ngraph.forcelayout