跳转到内容

addNode

此内容尚不支持你的语言。

addNode(g, type, x, y): object

Defined in: materialGraph.ts:417

Add a node of

MaterialGraph

GraphNodeType

number

number

object

graph: MaterialGraph

id: string

type at canvas (@p x,@p y); returns the new graph + the new node id.