Logseq/Q/Can the graph view be disabled?
Properties
- logseq-entity
- Logseq/Entity/Question
Can the Logseq graph view be disabled?
AI Answer
- Short answer: No built-in setting disables the global graph view in the released file-based version. There is no Settings-UI toggle,
config.ednflag, or feature flag for it. The accidental triggers can be removed instead — disable the keyboard shortcut and hide the sidebar link. The heavy Pixi.js/WebGL render only runs when you navigate to the/graphroute, so removing the entry points avoids opening it (and the crash) by accident. Disable the
g gkeyboard shortcut- In Logseq/config.edn:
- A
falsevalue is treated as a disabled shortcut.:go/graph-viewis the shortcut id; its default binding isg g(press G twice).
Hide the graph links with CSS
- In Logseq/Logseq Dir/custom.css (applies to both the app and the published site):
.graph-view-navis the class on the left-sidebar item that links to the graph route. The published static site also shows a top-bar "Graph" button (<a class="… button" href="#/graph">) inside.cp__header; that second rule hides it. Published routing uses fragment mode, so the href is#/graph.
Caveats
- The
/graphroute still exists and remains reachable via search / cmdk. There is no config to remove the route itself without patching source. - The unreleased database version adds a sidebar-navigations show/hide UI for nav items; that does not exist in the file-based release, so do not rely on a sidebar toggle.
- The
- Answer/Official from Logseq source —
0.10.15(components/container.cljs,modules/shortcut/config.cljs,modules/shortcut/data_helper.cljs)
- Short answer: No built-in setting disables the global graph view in the released file-based version. There is no Settings-UI toggle,