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-simThe underlying force simulation framework. Handles your dataset’s positions based on a physics engine of your choice (or creation)./fdg-macroquadA visualizer forfdg-simthat usesmacroquadfor 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 Nodes to a ForceGraph easier.
Type Definitions
A helper type that creates a StableGraph with our custom Node.