fdg
fdg copied to clipboard
A Force Directed Graph Drawing Library
fdg (Force Directed Graph)
A Force Directed Graph Framework for Rust.
| Name | Version | Docs | License |
|---|---|---|---|
fdg-sim |
|||
fdg-macroquad |
|||
fdg-img |
|||
fdg-wasm |

The goal of this project is to provide a force-directed graph framework and algorithms for Rust, as well as 2D and 3D visualizers that work on the web and desktop. It easily interacts with the popular petgraph library and manages the positions of your nodes.
Contents
/fdg-simThe underlying force simulation. It handles your dataset's positions based on a physics engine of your choice (or creation)./fdg-macroquadA demo visualizer that usesmacroquadfor its rendering./fdg-imgA simple SVG visualizer for your graphs./fdg-wasmA simple Webassembly wrapper offdg-simfor Javascript.
Resources
- Force-Directed Graphs on Wikipedia
- Force Directed Drawing Algorithms (Kobourov)
- Example javascript force directed graph layout engines d3-force and ngraph.forcelayout