fdg icon indicating copy to clipboard operation
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 Latest version Documentation MIT
fdg-macroquad Latest version Documentation GPL-3.0
fdg-img Latest version Documentation GPL-3.0
fdg-wasm NPM Package View Readme MIT

3D example 2D example

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.

View Examples Online

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 uses macroquad for its rendering.
  • /fdg-img A simple SVG visualizer for your graphs.
  • /fdg-wasm A simple Webassembly wrapper of fdg-sim for Javascript.

Resources