Function rectree2svg::knuth_layout [−][src]
pub fn knuth_layout(
tree: &mut ArenaTree<String>,
index: usize,
depth: &mut usize
)
Set x and y of nodes : left son x is 0; right son x is 1; y is depth
pub fn knuth_layout(
tree: &mut ArenaTree<String>,
index: usize,
depth: &mut usize
)
Set x and y of nodes : left son x is 0; right son x is 1; y is depth