Skip to content

frontend-web-editor


Function: EventTreeState()

EventTreeState(state): EventTreeGraph

Defined in: utils/treeUtils.ts:101

Generate the event tree state with the provided list of nodes and edges, for a particular event tree id.

Parameters

state

EventTreeStateType

Object containing eventTreeId, nodes, and edges.

Returns

EventTreeGraph

A normalized EventTreeGraph snapshot.