Type Definition fdg_sim::ForceGraph

source · []
pub type ForceGraph<N, E> = StableGraph<Node<N>, E, Undirected>;
Expand description

A helper type that creates a StableGraph with our custom Node.

Trait Implementations

Add a Node to the graph with only the name and arbitrary data.

Add a Node to the graph with the name, arbitrary data, and a custom color.

Add a Node to the graph with the name, arbitrary data, and a custom location.