Type Definition fdg_sim::ForceGraph

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

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

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 location.