Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

direct usage of customnode

Aykut Saraç208d42eb5b49
diff --git a/src/containers/LiveEditor/index.tsx b/src/containers/LiveEditor/index.tsx
index 7fe9f030..49b26ab5 100644
--- a/src/containers/LiveEditor/index.tsx
+++ b/src/containers/LiveEditor/index.tsx
@@ -10,7 +10,7 @@ import { Canvas, CanvasRef } from "reaflow";
import { StorageConfig } from "src/typings/global";
import { getEdgeNodes } from "./helpers";
-import { NodeWrapper } from "./CustomNode";
+import { CustomNode } from "./CustomNode";
import { Button } from "src/components/Button";
import {
AiOutlineZoomIn,
@@ -115,7 +115,7 @@ export const LiveEditor: React.FC<{
fit
readonly
animated
- node={NodeWrapper}
+ node={CustomNode}
/>
</TransformComponent>
</TransformWrapper>