aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-18 17:11:13 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-18 17:45:44 +0100
commit9ea36197bec2a878e93b17686e2d5314359f0d54 (patch)
tree863607d4b05d697b5da269422c7026e7fee09991 /doc
parent1ec34dd7e6ce92d887b259b0a5a17a7ac743c872 (diff)
downloadguix-9ea36197bec2a878e93b17686e2d5314359f0d54.tar
guix-9ea36197bec2a878e93b17686e2d5314359f0d54.tar.gz
doc: Mention the d3.js backend of 'guix graph'.
* doc/guix.texi (Invoking guix graph): Mention the d3.js backend.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3b2368b071..99bde4aca3 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5726,11 +5726,13 @@ Consider packages for @var{system}---e.g., @code{x86_64-linux}.
Packages and their dependencies form a @dfn{graph}, specifically a
directed acyclic graph (DAG). It can quickly become difficult to have a
mental model of the package DAG, so the @command{guix graph} command
-provides a visual representation of the DAG. @command{guix graph}
-emits a DAG representation in the input format of
+provides a visual representation of the DAG. By default,
+@command{guix graph} emits a DAG representation in the input format of
@uref{http://www.graphviz.org/, Graphviz}, so its output can be passed
-directly to the @command{dot} command of Graphviz. The general
-syntax is:
+directly to the @command{dot} command of Graphviz. It can also emit an
+HTML page with embedded JavaScript code to display a ``chord diagram''
+in a Web browser, using the @uref{https://d3js.org/, d3.js} library.
+The general syntax is:
@example
guix graph @var{options} @var{package}@dots{}
@@ -5855,6 +5857,8 @@ Produce a graph using the selected @var{backend}.
@item --list-backends
List the supported graph backends.
+Currently, the available backends are Graphviz and d3.js.
+
@item --expression=@var{expr}
@itemx -e @var{expr}
Consider the package @var{expr} evaluates to.