Skip to main content

subfaces

Function subfaces 

Source
pub fn subfaces(
    edges: &[Vec<String>],
    order: Option<i64>,
) -> Result<Vec<Vec<String>>, UtilError>
Expand description

Subfaces of a list of hyperedges.

XGI parity: xgi.subfaces (utils/utilities.py:310-374). Faces are NOT deduplicated (a face may appear once per parent edge), matching XGI. Singleton and empty edges contribute nothing.