Next: Org-roam Completion System, Previous: Encryption, Up: Top [Contents]
Org-roam provides graphing capabilities to explore interconnections between notes. This is done by performing SQL queries and generating images using Graphviz. The graph can also be navigated: see Roam Protocol.
The entry point to graph creation is org-roam-graph
.
Build and possibly display a graph for FILE from NODE-QUERY. If FILE is nil, default to current buffer’s file name. ARG may be any of the following values:
nil
show the graph.
C-u
show the graph for FILE.
C-u N
show the graph for FILE limiting nodes to N steps.
C-u C-u
build the graph.
C-u -
build the graph for FILE.
C-u -N
build the graph for FILE limiting nodes to N steps.
Path to the graphing executable (in this case, Graphviz). Set this if Org-roam is unable to find the Graphviz executable on your system.
You may also choose to use neato
in place of dot
, which generates a more
compact graph layout.
Org-roam defaults to using Firefox (located on PATH) to view the SVG, but you may choose to set it to:
nil
uses view-file
to view the graph.
If you are using WSL2 and would like to open the graph in Windows, you can use the second option to set the browser and network file path:
(setq org-roam-graph-viewer (lambda (file) (let ((org-roam-graph-viewer "/mnt/c/Program Files/Mozilla Firefox/firefox.exe")) (org-roam-graph--open (concat "file://///wsl$/Ubuntu" file)))))
• Graph Options: | ||
• Excluding Nodes and Edges: |
Next: Org-roam Completion System, Previous: Encryption, Up: Top [Contents]