✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
move components to folder
AykutSarac568aab99570c
diff --git a/src/containers/LiveEditor/CustomNode/ObjectNode.tsx b/src/components/CustomNode/ObjectNode.tsxsimilarity index 100%rename from src/containers/LiveEditor/CustomNode/ObjectNode.tsxrename to src/components/CustomNode/ObjectNode.tsxdiff --git a/src/containers/LiveEditor/CustomNode/TextNode.tsx b/src/components/CustomNode/TextNode.tsxsimilarity index 100%rename from src/containers/LiveEditor/CustomNode/TextNode.tsxrename to src/components/CustomNode/TextNode.tsxdiff --git a/src/containers/LiveEditor/CustomNode/index.tsx b/src/components/CustomNode/index.tsxsimilarity index 100%rename from src/containers/LiveEditor/CustomNode/index.tsxrename to src/components/CustomNode/index.tsxdiff --git a/src/containers/LiveEditor/CustomNode/styles.tsx b/src/components/CustomNode/styles.tsxsimilarity index 100%rename from src/containers/LiveEditor/CustomNode/styles.tsxrename to src/components/CustomNode/styles.tsxdiff --git a/src/containers/JsonEditor/ErrorContainer.tsx b/src/components/ErrorContainer/ErrorContainer.tsxsimilarity index 100%rename from src/containers/JsonEditor/ErrorContainer.tsxrename to src/components/ErrorContainer/ErrorContainer.tsxdiff --git a/src/containers/JsonEditor/index.tsx b/src/containers/JsonEditor/index.tsxindex 347fb30f..cb08ec0c 100644--- a/src/containers/JsonEditor/index.tsx+++ b/src/containers/JsonEditor/index.tsx@@ -2,7 +2,7 @@ import React from "react";import AceEditor, { IAceOptions } from "react-ace";import parseJson from "parse-json";import styled from "styled-components";-import { ErrorContainer } from "./ErrorContainer";+import { ErrorContainer } from "../../components/ErrorContainer/ErrorContainer";import { ConfigActionType } from "src/reducer/reducer";import { useConfig } from "src/hocs/config";require("ace-builds/src-noconflict/mode-json");diff --git a/src/containers/LiveEditor/index.tsx b/src/containers/LiveEditor/index.tsxindex e7ffde02..947ec849 100644--- a/src/containers/LiveEditor/index.tsx+++ b/src/containers/LiveEditor/index.tsx@@ -5,10 +5,10 @@ import {TransformComponent,ReactZoomPanPinchRef,} from "react-zoom-pan-pinch";-import { Canvas, ElkRoot } from "reaflow";+import { Canvas } from "reaflow";import { getEdgeNodes } from "./helpers";-import { CustomNode } from "./CustomNode";+import { CustomNode } from "../../components/CustomNode";import { useLoading } from "src/hooks/useLoading";import { useConfig } from "src/hocs/config";import { Tools } from "../Editor/Tools";