operators.map
operators.map
Section titled “operators.map”Kind: function
Source: src/graphrefly/operators/_transform.py:52
Signature
Section titled “Signature”map(g: Graph, src: Node[Any], f: Callable[[Any], Any], *, name: str | None = None, recipe: Recipe | None = None)Description
Section titled “Description”Send f(v) for every DATA v of src, one output array for each input array
(O-map). Given a recipe that builds f, it can be restored.
The behavior is the root’s operator contract: the operator contracts.