me
/
guix
Archived
1
0
Fork 0

graph: Don't insist on "Helvetica" in the Graphviz backend.

Suggested by Fulbert <fulbert@bluewin.ch>.

* guix/graph.scm (emit-node): Use "sans" instead of "Helvetica".
master
Ludovic Courtès 2020-10-22 10:41:06 +02:00
parent 2f107f273d
commit 16155bbeb8
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ NODE1 to NODE2 of the given TYPE. Return #f when there is no path."
(define (emit-epilogue port)
(display "\n}\n" port))
(define (emit-node id label port)
(format port " \"~a\" [label = \"~a\", shape = box, fontname = Helvetica];~%"
(format port " \"~a\" [label = \"~a\", shape = box, fontname = sans];~%"
id label))
(define (emit-edge id1 id2 port)
(format port " \"~a\" -> \"~a\" [color = ~a];~%"