Function fdg_sim::force::fruchterman_reingold_weighted
source · pub fn fruchterman_reingold_weighted<N, E: Clone + Into<f32>, Ty: EdgeType>(
scale: f32,
cooloff_factor: f32
) -> Force<N, E, Ty>
Expand description
A force directed graph drawing algorithm based on Fruchterman-Reingold (1991), though it multiplies attractions by edge weights.