Skip to main content

layout_step

Function layout_step 

Source
pub fn layout_step(
    graph: &mut GraphData,
    temperature: &mut f32,
    config: &LayoutConfig,
) -> bool
Expand description

Run one iteration of Fruchterman-Reingold layout.

Returns true if the temperature is still above threshold (keep running).