ISMAGS.isomorphisms_iter#
- ISMAGS.isomorphisms_iter(symmetry=True)[source]#
Yields all isomorphisms from
graphtosubgraphAn isomorphism is an all-to-all mapping of the nodes that maintains connectivity and node/edge matchings.
Symmetric isomorphisms can be ignored for the symmetries of
subgraph.- Parameters:
- symmetrybool, optional (default: True)
Whether symmetries of
subgraphshould be taken into account. If False, yielded isomorphisms may be symmetrically equivalent.
- Yields:
- dict
The isomorphism mappings in form:
{graph_node: subgraph_node}.