Skip to content
PACKAGES

operators.merge_map

Kind: function

Source: src/graphrefly/operators/_higher_order.py:222

merge_map(g: Graph, outer: Node[Any], project: Callable[[Any], Any], capacity: int | None = None, *, name: str | None = None, recipe: Recipe | None = None)

Project every outer value to a Node and send the DATA of every inner held (O-mergeMap). capacity, a positive integer, bounds the inners held; outer values beyond it wait in order, unprojected. Without one there is no bound.

The behavior is the root’s operator contract: the operator contracts.