Skip to main content

Match

One occurrence of a Pattern in a graph: the matched Node per pattern node in add_node order (None for an optional node absent from this occurrence). Indexes and iterates like a tuple of nodes.

nodes (property)​

The matched nodes in pattern order; None where an optional node is absent.

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.