mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
doc: Mention the d3.js backend of 'guix graph'.
* doc/guix.texi (Invoking guix graph): Mention the d3.js backend.
This commit is contained in:
parent
1ec34dd7e6
commit
9ea36197be
1 changed files with 8 additions and 4 deletions
|
@ -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
|
Packages and their dependencies form a @dfn{graph}, specifically a
|
||||||
directed acyclic graph (DAG). It can quickly become difficult to have 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
|
mental model of the package DAG, so the @command{guix graph} command
|
||||||
provides a visual representation of the DAG. @command{guix graph}
|
provides a visual representation of the DAG. By default,
|
||||||
emits a DAG representation in the input format of
|
@command{guix graph} emits a DAG representation in the input format of
|
||||||
@uref{http://www.graphviz.org/, Graphviz}, so its output can be passed
|
@uref{http://www.graphviz.org/, Graphviz}, so its output can be passed
|
||||||
directly to the @command{dot} command of Graphviz. The general
|
directly to the @command{dot} command of Graphviz. It can also emit an
|
||||||
syntax is:
|
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
|
@example
|
||||||
guix graph @var{options} @var{package}@dots{}
|
guix graph @var{options} @var{package}@dots{}
|
||||||
|
@ -5855,6 +5857,8 @@ Produce a graph using the selected @var{backend}.
|
||||||
@item --list-backends
|
@item --list-backends
|
||||||
List the supported graph backends.
|
List the supported graph backends.
|
||||||
|
|
||||||
|
Currently, the available backends are Graphviz and d3.js.
|
||||||
|
|
||||||
@item --expression=@var{expr}
|
@item --expression=@var{expr}
|
||||||
@itemx -e @var{expr}
|
@itemx -e @var{expr}
|
||||||
Consider the package @var{expr} evaluates to.
|
Consider the package @var{expr} evaluates to.
|
||||||
|
|
Loading…
Reference in a new issue