Properties
destroyFunc
destroyFunc: Function[]
Methods
addNodeLinkPoints
- addNodeLinkPoints(node: InstanceNode): boolean
-
Returns boolean
clear
- clear(): void
-
Returns void
deleteNode
- deleteNode(input: string | VEditorNode, noEvent?: boolean): void
-
Returns void
listenEvent
- listenEvent(): void
-
Returns void
panNode
- panNode(node: InstanceNode, dx: number, dy: number): void
-
Returns void
registeNode
- registeNode(type: string, data: NodeRender, extend?: string): void
-
Parameters
-
type: string
-
-
extend: string = "default"
Returns void
render
- render(data?: Record<string, VEditorNode>): Promise<unknown>
-
Returns Promise<unknown>
update
- update(): void
-
Returns void
updateNode
- updateNode(input: string | VEditorNode, rerenderShape?: boolean): void
-
Parameters
-
-
rerenderShape: boolean = false
Returns void
添加节点