pub fn from_flat(flat: &[FlatCluster]) -> Result<Vec<Cluster>, FaceError>Expand description
Reconstruct a nested cluster tree from the §7.1 flat form.
§Errors
Returns FaceError::InvalidClusterId if any parent_id
references an id not present in the input list (a dangling parent).