xgi.core.diviews

View classes for dihypergraphs.

A View class allows for inspection and querying of an underlying object but does not allow modification. This module provides View classes for nodes and edges of a dihypergraph. Views are automatically updaed when the dihypergraph changes.

Classes

DiIDView

Base View class for accessing the ids (nodes or edges) of a DiHypergraph.

DiNodeView

An DiIDView that keeps track of node ids.

DiEdgeView

An DiIDView that keeps track of edge ids.