graphi.types.bounded module¶
-
class
graphi.types.bounded.
Bounded
(*source, **kwargs)¶ Bases:
graphi.abc.Graph
Wrapper to make the values of
Graph
instances boundedParameters: value_bound – bound for all values The
value_bound
must be compatible with all values stored in the graph. ATypeError
is raised whenever a value cannot be bounded. Note thatNone
is always invalid forvalue_bound
.See also
The
boundable()
decorator forGraph
classes.-
clear
()¶ Remove all elements from this graph
-
undirected
¶
-