✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
Add SVG support to download options
dogukanuhn2650776f0a78
diff --git a/src/hooks/store/useConfig.tsx b/src/hooks/store/useConfig.tsxindex b7d07fd6..28537604 100644--- a/src/hooks/store/useConfig.tsx+++ b/src/hooks/store/useConfig.tsx@@ -7,7 +7,6 @@ interface ConfigActions {setJson: (json: string) => void;setConfig: (key: keyof Config, value: unknown) => void;getJson: () => string;- setExtension: () => (extension: number) => void;zoomIn: () => void;zoomOut: () => void;centerView: () => void;@@ -19,7 +18,6 @@ const initialStates = {layout: "RIGHT" as CanvasDirection,expand: true,hideEditor: false,- extension: 0,performanceMode: true,disableLoading: false,zoomPanPinch: undefined as ReactZoomPanPinchRef | undefined,@@ -31,7 +29,6 @@ const useConfig = create<Config & ConfigActions>()((set, get) => ({...initialStates,getJson: () => get().json,setJson: (json: string) => set({ json }),- setExtension: (extension: number) => set({ extension }),zoomIn: () => {const zoomPanPinch = get().zoomPanPinch;if (zoomPanPinch) {