Skip to content

frontend-web-editor


Function: default()

default(clickedNodeId): () => void

Defined in: app/hooks/eventTree/useCreateColClick.ts:31

Insert a new column after the clicked column in the Event Tree.

Splits edges at the clicked depth, inserts a new intermediate column and invisible/output nodes for each node at that depth, updates column metadata, and persists the updated graph.

Parameters

clickedNodeId

string

The id of a node in the column to split/extend.

Returns

A function that performs the insertion when invoked.

(): void

Returns

void