xgi.core.views

View classes for hypergraphs.

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 hypergraph. Views are automatically updaed when the hypergraph changes.

Classes

IDView

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

NodeView

An IDView that keeps track of node ids.

EdgeView

An IDView that keeps track of edge ids.