Skip to content

editor

Functions

setupEditor()

function setupEditor(params): Promise<object>

Parameters

params

params.container: HTMLElement

params.geosContext: GeosDataContext

params.geosContextV2: NewGeosContext

params.loadExample?: any

params.makutuClasses: MakutuClassRepository

params.modalStore: undefined

params.saveData?

params.saveData.comments: object[] = ...

params.saveData.connections: ConnectionSaveData[] = ...

params.saveData.editorName: string = ...

params.saveData.graphName: string = ...

params.saveData.id: undefined | string = ...

params.saveData.nodes: NodeSaveData[] = ...

params.saveData.previewedNodes: string[] = ...

params.saveData.variables: Record<string, Variable> | Variable[] = ...

Returns

Promise<object>

destroy()
destroy: () => void;
Returns

void

editor
editor: NodeEditor;
factory
factory: NodeFactory = nodeFactory;
firstDisplay()
firstDisplay: () => Promise<void>;
Returns

Promise<void>

Defined in

tmp/graph-editor/src/lib/graph-editor/setup/editor.ts:17