Skip to content
PACKAGES

eventFlow()

Creates an event flow.

import { eventFlow } from "@graphrefly/ts/patterns/event-flow";
function eventFlow(
graph: Graph,
opts: EventFlowOptions<T>,
): EventFlowBundle<T>
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsEventFlowOptions<T>Options that configure the helper.

The event flow result.

import { eventFlow } from "@graphrefly/ts/patterns/event-flow";

packages/ts/src/patterns/event-flow.ts