apply_layout

Function apply_layout 

Source
pub fn apply_layout<T, H>(
    treeize: &mut Treeize<T>,
    positions: &HashMap<NodeId, Pos2, H>,
)
where H: BuildHasher,
Expand description

Applies the calculated layout positions to the treeize.

ยงArguments

  • treeize - The tree graph to update
  • positions - Map from node ID to position