Untitled
unknown
plain_text
11 days ago
626 B
6
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 label: string // doan text nam tren day ket noi sourceHandle: string // id cua cong ket noi } // moi node se co 1 hoac nhieu cong ket noi nhung deu goi chung la Edge // neu nhu giua 1 node co nhieu ket noi thi se phan biet bang id va sourceHandle
Editor is loading...
Leave a Comment