feat(nodes): Allow pre-defined dimensions of a node

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 47e3336c01
commit 094c4ff9ae
3 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P
return {
...(defaults as GraphNode),
...node,
...(node as GraphNode),
id: node.id.toString(),
}
}