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 expand not working

AykutSarac31a57d4f4f24
diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsx
index 2187e5e4..dd68cc61 100644
--- a/src/components/Graph/index.tsx
+++ b/src/components/Graph/index.tsx
@@ -136,7 +136,7 @@ export const Graph = ({ isWidget = false }: { isWidget?: boolean }) => {
const nodeList = collapsedNodes.map((id) => `[id*="node-${id}"]`);
const edgeList = collapsedEdges.map((id) => `[class*="edge-${id}"]`);
- const hiddenItems = document.querySelectorAll("hide");
+ const hiddenItems = document.querySelectorAll(".hide");
hiddenItems.forEach((item) => item.classList.remove("hide"));
if (nodeList.length) {