refactor(types)!: Remove Node/TranslateExtent

* replace with CoordinateExtent

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent ecd38b232b
commit da54bc3316
7 changed files with 115 additions and 29 deletions
+2
View File
@@ -53,6 +53,8 @@ export interface NodeProps<T = any> extends GraphNode {
__vf: VFInternals
}
export type CoordinateExtent = [[number, number], [number, number]]
export type NodeDimensionUpdate = {
id: ElementId
nodeElement: HTMLDivElement