pub fn layer_tree(order: &[OrderItem], groups: usize) -> Vec<LayerNode>
The tree for order, in a document of groups groups. Indices past groups are skipped. Nothing when the document has no groups.
order
groups