xgi.utils.utilities.IDDict#

class IDDict[source]#

Bases: dict

A dict that holds (node or edge) IDs.

For internal use only. Adds input validation functionality to the internal dicts that hold nodes and edges in a network.

Methods