Untitled
unknown
plain_text
8 months ago
416 B
5
Indexable
interface Node { // dai dien cho cac node
id: string
position:{
x: number
y: number
}
data: JSON
type: string // loai cua node
styles: JSON
}
interface Edge { // dai dien cho ket noi giua 2 node
id: string
source: string // id cua node bat dau
target: string // id cua node ket thuc
style: JSON
sourceHandle: string // id cua cong ket noi
}Editor is loading...
Leave a Comment