Skip to content

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

update the menu item text in view menu from "Expand/Collapse Nodes" to "Expand/Collapse Graph (#393)

Aviral Singh94d4623ff6ad
diff --git a/src/containers/Toolbar/ViewMenu.tsx b/src/containers/Toolbar/ViewMenu.tsx
index 366a207f..825222e8 100644
--- a/src/containers/Toolbar/ViewMenu.tsx
+++ b/src/containers/Toolbar/ViewMenu.tsx
@@ -108,7 +108,7 @@ export const ViewMenu = () => {
</Text>
}
>
- {graphCollapsed ? "Expand" : "Collapse"} Nodes
+ {graphCollapsed ? "Expand" : "Collapse"} Graph
</Menu.Item>
<Menu.Item fz={12} onClick={focusFirstNode} leftSection={<VscTarget />}>
Focus to First Node