Skip to content

Home > @zero-dim/designer > removeNodeById

removeNodeById() function

根据targetId删除节点

Signature:

typescript
export declare function removeNodeById(nodes: Schema[], targetId: string): Schema[];

Parameters

Parameter

Type

Description

nodes

Schema[]

targetId

string

**Returns:**

Schema[]