eventFlow()
Creates an event flow.
Import
Section titled “Import”import { eventFlow } from "@graphrefly/ts/patterns/event-flow";Signature
Section titled “Signature”function eventFlow( graph: Graph, opts: EventFlowOptions<T>,): EventFlowBundle<T>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | EventFlowOptions<T> | Options that configure the helper. |
Returns
Section titled “Returns”The event flow result.
Example
Section titled “Example”import { eventFlow } from "@graphrefly/ts/patterns/event-flow";Source
Section titled “Source”packages/ts/src/patterns/event-flow.ts