penaltymodel.PenaltyModelCache.iter_graphs#

PenaltyModelCache.iter_graphs() Iterator[Graph][source]#

Iterate over all of the graphs in the database.

Yields:

All the graphs in the database, as NetworkX graphs.