✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix object key visible
AykutSarac05881ab4fc6c
diff --git a/src/utils/json-editor-parser.js b/src/utils/json-editor-parser.jsindex 61a13f16..fce20ab1 100644--- a/src/utils/json-editor-parser.js+++ b/src/utils/json-editor-parser.js@@ -22,7 +22,9 @@ export const parser = (input) => {id: nextId(),data: {label: Object.fromEntries(- Object.entries(o).filter(([k, v]) => !Array.isArray(v))+ Object.entries(o).filter(+ ([k, v]) => !Array.isArray(v) && !(v instanceof Object)+ )),},position: { x: 0, y: 0 },