Skip to content

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

fix compact view height

Aykut Saraç38a604ab373f
diff --git a/src/containers/LiveEditor/helpers.ts b/src/containers/LiveEditor/helpers.ts
index 36a62226..38240c06 100644
--- a/src/containers/LiveEditor/helpers.ts
+++ b/src/containers/LiveEditor/helpers.ts
@@ -26,7 +26,7 @@ export function getEdgeNodes(graph: any, isExpanded: boolean = true): any {
isParent: el.parent,
},
width: isExpanded ? 35 + longestLine * 8 : 180,
- height: isExpanded ? 30 + lines.length * 10 : 50,
+ height: 30 + lines.length * 10,
});
} else {
edges.push(el);