✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix typing
AykutSarac4f3b9df48dbf
diff --git a/src/typings/types.d.ts b/src/typings/types.d.tsindex f254c275..89b97f9d 100644--- a/src/typings/types.d.ts+++ b/src/typings/types.d.ts@@ -2,8 +2,8 @@ type CanvasDirection = "LEFT" | "RIGHT" | "DOWN" | "UP";interface CustomNodeData {isParent: true;- hasChild: !!children.length;- children;+ hasChild: number;+ children: NodeData[];}interface NodeData<T = any> {