aboutsummaryrefslogtreecommitdiff
path: root/guix/graph.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/graph.scm')
-rw-r--r--guix/graph.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/guix/graph.scm b/guix/graph.scm
index 5cf98f0d54..d2c1fa6c48 100644
--- a/guix/graph.scm
+++ b/guix/graph.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -41,6 +42,7 @@
node-transitive-edges
node-reachable-count
+ %graph-backends
%graphviz-backend
graph-backend?
graph-backend
@@ -179,6 +181,14 @@ typically returned by 'node-edges' or 'node-back-edges'."
emit-prologue emit-epilogue
emit-node emit-edge))
+
+;;;
+;;; Shared.
+;;;
+
+(define %graph-backends
+ (list %graphviz-backend))
+
(define* (export-graph sinks port
#:key
reverse-edges? node-type