Expand description
fdg (Force Directed Graph)
A Force Directed Graph Framework for Rust.
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.
Contents
/fdg-sim
The underlying force simulation framework. Handles your dataset’s positions based on a physics engine of your choice (or creation)./fdg-macroquad
A visualizer forfdg-sim
that usesmacroquad
for rendering.
Structure
Your Application |
---|
fdg-macroquad |
fdg-sim |
Resources
- Force-Directed Graphs on Wikipedia
- Force Directed Drawing Algorithms (Kobourov)
- Example javascript force directed graph layout engines d3-force and ngraph.forcelayout
Re-exports
Modules
Forces that define how your graph moves.
Structs
A node on a ForceGraph
.
A simulation for managing the main event loop and forces.
Parameters for the simulation.
Enums
Number of dimensions to run the simulation in.
Traits
Syntactic sugar to make adding Node
s to a ForceGraph
easier.
Type Definitions
A helper type that creates a StableGraph
with our custom Node
.