operators.pairwise
operators.pairwise
Section titled “operators.pairwise”Kind: function
Source: src/graphrefly/operators/_compare.py:106
Signature
Section titled “Signature”pairwise(g: Graph, src: Node[Any], *, name: str | None = None)Description
Section titled “Description”Send [previous, current] for every DATA from the second on, in the array of its
second value; the first DATA of an activation only becomes the previous one (O-pairwise).
The behavior is the root’s operator contract: the operator contracts.