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-sim
The underlying force simulation. It handles your dataset's positions based on a physics engine of your choice (or creation). -
/fdg-macroquad
A demo visualizer that usesmacroquad
for its rendering. -
/fdg-img
A simple SVG visualizer for your graphs. -
/fdg-wasm
A simple Webassembly wrapper offdg-sim
for Javascript.
Resources
- Force-Directed Graphs on Wikipedia
- Force Directed Drawing Algorithms (Kobourov)
- Example javascript force directed graph layout engines d3-force and ngraph.forcelayout