Variable: org-roam-graph-viewer

org-roam-graph-viewer is a customizable variable defined in org-roam-graph.el.

Value

nil

Documentation

Method to view the org-roam graph.

It may be one of the following:
  - a string representing the path to the executable for viewing the graph.
  - a function accepting a single argument: the graph file path.
  - nil uses view-file to view the graph.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-graph.el
;;; Options
(defcustom org-roam-graph-viewer (executable-find "firefox")
  "Method to view the org-roam graph.
It may be one of the following:
  - a string representing the path to the executable for viewing the graph.
  - a function accepting a single argument: the graph file path.
  - nil uses `view-file' to view the graph."
  :type '(choice
          (string   :tag "Path to executable")
          (function :tag "Function to display graph" eww-open-file)
          (const    :tag "view-file"))
  :group 'org-roam)