From 65d99e998cad4beef77b1b5d9b6235d90395f374 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Thu, 30 Apr 2020 13:56:54 +0800 Subject: [PATCH] (feat): prettier graph defaults (#541) Use settings provided by @tecosaur. Closes #539. --- org-roam-graph.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/org-roam-graph.el b/org-roam-graph.el index 9a1cd74..75d93fc 100644 --- a/org-roam-graph.el +++ b/org-roam-graph.el @@ -65,14 +65,20 @@ Example: :type '(alist) :group 'org-roam) -(defcustom org-roam-graph-node-extra-config nil +(defcustom org-roam-graph-node-extra-config + '(("shape" . "underline") + ("style" . "rounded,filled") + ("fillcolor" . "#EEEEEE") + ("color" . "#C9C9C9") + ("fontcolor" . "#111111")) "Extra options for graphviz nodes. Example: '((\"color\" . \"skyblue\"))" :type '(alist) :group 'org-roam) -(defcustom org-roam-graph-edge-extra-config nil +(defcustom org-roam-graph-edge-extra-config + '(("color" . "#333333")) "Extra options for graphviz edges. Example: '((\"dir\" . \"back\"))"