chore: eslint autofix

This commit is contained in:
Sidharth Vinod
2024-06-30 16:21:17 +05:30
parent d5a03a9054
commit 4e55f4cf3d
6 changed files with 9 additions and 63 deletions

View File

@@ -144,7 +144,7 @@ const drawNodes = (relX, relY, nodeArray, svg, subgraphsEl, depth) => {
}
});
nodeArray.forEach(function (node) {
if (node && node.isGroup) {
if (node?.isGroup) {
drawNodes(relX + node.x, relY + node.y, node.children, svg, subgraphsEl, depth + 1);
}
});