Org-roam made my graphviz settings the default :D

This commit is contained in:
tecosaur 2020-05-01 12:57:52 +08:00
parent a374bdf9dc
commit 06acb5b565

View file

@ -1427,14 +1427,7 @@ xdg-mime default org-protocol.desktop x-scheme-handler/org-protocol
By default roam uses an unstyled ~graphviz~ dot. This is both uncomplicated, and
underwhelming. We can do substantially better.
#+BEGIN_SRC emacs-lisp
(setq org-roam-graph-node-extra-config '(("shape" . "\"underline\"")
("style" . "\"rounded,filled\"")
("fillcolor" . "\"#EEEEEE\"")
("color" . "\"#C9C9C9\"")
("fontcolor" . "\"#111111\"")
("fontname" . "\"Overpass\""))
org-roam-graph-edge-extra-config '(("color" . "\"#333333\""))
org-roam-graph-extra-config `(("stylesheet" . ,(concat "\"" doom-private-dir
(setq org-roam-graph-extra-config `(("stylesheet" . ,(concat "\"" doom-private-dir
"misc/roam-graphviz-style.css\""))))
#+END_SRC
Now, let's go the next step and add that svg stylesheet.