Untitled

 avatar
unknown
plain_text
10 days ago
416 B
3
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