pub fn subhypergraph(
h: &Hypergraph<Value, Value, Value>,
nodes: Option<&[String]>,
edges: Option<&[String]>,
keep_isolates: bool,
) -> Hypergraph<Value, Value, Value>Expand description
A frozen induced sub-hypergraph. Keeps nodes (default all) and the edges
(default all) that are subsets of the kept nodes; optionally drops the
resulting isolates. XGI parity: xgi.subhypergraph(H, nodes, edges, keep_isolates) (globalviews.py:19-74).