fix compact view height

This commit is contained in:
Aykut Saraç 2022-03-19 16:44:56 +03:00
parent 53ee0632d1
commit 38a604ab37

View File

@ -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);