1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY graphviz-download-http "https://gitlab.com/graphviz/graphviz/-/archive/&graphviz-version;/graphviz-&graphviz-version;.tar.bz2">
|
---|
8 | <!ENTITY graphviz-download-ftp " ">
|
---|
9 | <!ENTITY graphviz-md5sum "afc1506482e0adad0242998100e0bf3c">
|
---|
10 | <!ENTITY graphviz-size "26 MB">
|
---|
11 | <!ENTITY graphviz-buildsize "217 MB">
|
---|
12 | <!ENTITY graphviz-time "0.6 SBU (using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="graphviz" xreflabel="Graphviz-&graphviz-version;">
|
---|
16 | <?dbhtml filename="graphviz.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Graphviz-&graphviz-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="graphviz">
|
---|
22 | <primary sortas="a-Graphviz">Graphviz</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to Graphviz</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>Graphviz</application> package contains graph
|
---|
30 | visualization software. Graph visualization is a way of representing
|
---|
31 | structural information as diagrams of abstract graphs and networks.
|
---|
32 | <application>Graphviz</application> has several main graph layout
|
---|
33 | programs. It also has web and interactive graphical interfaces, auxiliary
|
---|
34 | tools, libraries, and language bindings.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs121_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&graphviz-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&graphviz-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &graphviz-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &graphviz-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &graphviz-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &graphviz-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Graphviz Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <note>
|
---|
76 | <para>
|
---|
77 | <application>Graphviz</application> basic usage does not need any
|
---|
78 | libraries out of what is found in the LFS book. Its <quote>core</quote>
|
---|
79 | rendering engine allows to generate several graphic formats, such as
|
---|
80 | Postscript, SVG, VML, .fig, and Tk. Those formats can be converted
|
---|
81 | to almost any other format using for example tools from
|
---|
82 | <xref role="nodep" linkend="imagemagick"/>. The dependencies below add
|
---|
83 | the ability to generate graph images in bitmap format, to display the
|
---|
84 | graph image on screen, to edit a graph by viewing the resulting image
|
---|
85 | directly, or to view large graphs. Since
|
---|
86 | <application>Graphviz</application> is a dependency
|
---|
87 | of several other packages in this book, it is suggested to first build
|
---|
88 | it without any dependencies, then to rebuild it when you have built
|
---|
89 | enough packages to suit your needs.
|
---|
90 | </para>
|
---|
91 | </note>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Optional, for various bitmap outputs</bridgehead>
|
---|
94 | <para role="optional">
|
---|
95 | <xref linkend="pango"/>, with
|
---|
96 | <xref linkend="cairo"/>,
|
---|
97 | <xref linkend="xorg7-lib"/>,
|
---|
98 | <xref linkend="fontconfig"/>, and
|
---|
99 | <xref linkend="libpng"/>, to generate images in bitmap SVG, postscript,
|
---|
100 | PNG, and PDF formats, or displaying the image on screen. The PNG
|
---|
101 | output is required for building <xref role="nodep" linkend="gegl"/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para role="optional">
|
---|
105 | Adding
|
---|
106 | $gtk2; with
|
---|
107 | <xref linkend="libjpeg"/> adds support for JPEG, BMP, TIF, and ICO
|
---|
108 | formats, and allows displaying the image in a GTK+ window
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para role="optional">
|
---|
112 | <ulink url="https://www.libgd.org/">GD Library</ulink> may be used
|
---|
113 | instead of <application>Pango</application>. It adds the ability to
|
---|
114 | generate images in GIF, VRML, and GD formats, but
|
---|
115 | <application>Pango</application> provides better outputs for the other
|
---|
116 | formats, and is needed for displaying images
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <para role="optional">
|
---|
120 | Other formats may be added with
|
---|
121 | <xref linkend="libwebp"/> (WebP support is considered experimental),
|
---|
122 | <ulink url="https://openil.sourceforge.net/projects.php">DevIL</ulink>,
|
---|
123 | <ulink url="https://sourceforge.net/projects/lasi/">libLASi</ulink>, and
|
---|
124 | <ulink url="https://www.freedesktop.org/wiki/Software/glitz">glitz</ulink>
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <bridgehead renderas="sect4">Optional, to load graphic images that may be
|
---|
128 | displayed inside the nodes of a graph</bridgehead>
|
---|
129 |
|
---|
130 | <para role="optional">
|
---|
131 | <filename class="libraryfile">libgs.so</filename> from
|
---|
132 | <xref linkend="gs"/>,
|
---|
133 | <xref linkend="librsvg"/>, and
|
---|
134 | <xref linkend="poppler"/>
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <bridgehead renderas="sect4">Optional, to build more tools</bridgehead>
|
---|
138 |
|
---|
139 | <para role="optional">
|
---|
140 | <xref linkend="freeglut"/> (with
|
---|
141 | <ulink url="https://sourceforge.net/projects/gtkglext/">GtkGLExt</ulink> and
|
---|
142 | <ulink url="https://gts.sourceforge.net/">libGTS</ulink> for building
|
---|
143 | the <command>smyrna</command> large graph viewer, which is
|
---|
144 | considered experimental), and
|
---|
145 | &qt5-deps; (for building the <command>gvedit</command>
|
---|
146 | graph editor)
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <bridgehead renderas="sect4">Optional (To Build Language Bindings)</bridgehead>
|
---|
150 | <para role="optional">
|
---|
151 | <xref linkend="swig"/> (<application>SWIG</application> must be
|
---|
152 | installed or no bindings will be built),
|
---|
153 | <xref linkend="gcc"/> (for the go compiler),
|
---|
154 | <xref linkend="guile"/>,
|
---|
155 | <xref linkend="openjdk"/>,
|
---|
156 | <xref linkend="lua"/>,
|
---|
157 | <xref linkend="php"/>,
|
---|
158 | <xref linkend="ruby"/>,
|
---|
159 | <xref linkend="tk"/>,
|
---|
160 | <ulink url="https://iolanguage.org/">Io</ulink>,
|
---|
161 | <ulink url="https://www.mono-project.com/Main_Page">Mono</ulink>,
|
---|
162 | <ulink url="https://ocaml.org/">OCaml</ulink>, and
|
---|
163 | <ulink url="https://www.r-project.org/">R</ulink>
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <bridgehead renderas="sect4">Optional (building tools)</bridgehead>
|
---|
167 | <para role="optional">
|
---|
168 | <ulink url="https://github.com/Snaipe/Criterion">Criterion</ulink>
|
---|
169 | (framework for tests) and
|
---|
170 | <ulink url="https://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <bridgehead renderas="sect4">Optional (for building the pdf documentation)</bridgehead>
|
---|
174 | <para role="optional">
|
---|
175 | <xref linkend="gs"/> (for the <command>ps2pdf</command> command)
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | <sect2 role="installation">
|
---|
181 | <title>Installation of Graphviz</title>
|
---|
182 |
|
---|
183 | <!-- https://gitlab.com/graphviz/graphviz/-/merge_requests/3739 -->
|
---|
184 |
|
---|
185 | <!-- Removed in #20047 update to 12.0.0
|
---|
186 | <para>
|
---|
187 | Remove a duplicated declaration causing some <xref linkend='vala'/>
|
---|
188 | tests to fail:
|
---|
189 | </para>
|
---|
190 |
|
---|
191 | <screen><userinput>awk -i inplace '/aghtmlstr/ && ++f == 2 {getline} 1' \
|
---|
192 | lib/cgraph/cgraph.h</userinput></screen>
|
---|
193 | -->
|
---|
194 | <para>
|
---|
195 | Install <application>Graphviz</application> by running the following
|
---|
196 | commands:
|
---|
197 | </para>
|
---|
198 |
|
---|
199 | <screen><userinput>sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac &&
|
---|
200 |
|
---|
201 | ./autogen.sh &&
|
---|
202 | ./configure --prefix=/usr \
|
---|
203 | --docdir=/usr/share/doc/graphviz-&graphviz-version;</userinput></screen>
|
---|
204 |
|
---|
205 | <note>
|
---|
206 | <para>
|
---|
207 | A warning is generated by <command>autogen.sh</command> because the
|
---|
208 | build tree is not a git repository. As a result, the build date is set
|
---|
209 | to 0. To get a meaningful date in the version string, you can run:
|
---|
210 | </para>
|
---|
211 |
|
---|
212 | <screen><userinput>sed -i "s/0/$(date +%Y%m%d)/" builddate.h</userinput></screen>
|
---|
213 | </note>
|
---|
214 |
|
---|
215 | <para>
|
---|
216 | Whether or not you fix the date, proceed to compile the package:
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <screen><userinput>make</userinput></screen>
|
---|
220 |
|
---|
221 | <para>
|
---|
222 | This package does not come with a test suite that provides
|
---|
223 | meaningful results.
|
---|
224 | </para>
|
---|
225 |
|
---|
226 | <para>
|
---|
227 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
228 | </para>
|
---|
229 |
|
---|
230 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
231 |
|
---|
232 | </sect2>
|
---|
233 |
|
---|
234 | <sect2 role="commands">
|
---|
235 | <title>Command Explanations</title>
|
---|
236 |
|
---|
237 | <para>
|
---|
238 | <command>sed ... configure.ac</command>: This command is needed to
|
---|
239 | avoid installing files in /usr/lib64.
|
---|
240 | </para>
|
---|
241 | <para>
|
---|
242 | <option>--with-javaincludedir="$JAVA_HOME/include
|
---|
243 | -I$JAVA_HOME/include/linux"</option>:
|
---|
244 | If you have built <xref linkend="openjdk"/> in /opt, and you want to
|
---|
245 | build the JAVA bindings, it is necessary to specify the location of the
|
---|
246 | JAVA header files to configure. The configure switch is designed for
|
---|
247 | only one directory, but two directories need to be included.
|
---|
248 | This is possible nevertheless by using the -I switch inside the variable.
|
---|
249 | </para>
|
---|
250 |
|
---|
251 | <para>
|
---|
252 | <option>--with-webp</option>: Even if <xref linkend="libwebp"/> is
|
---|
253 | installed, it is not included in the build without this option.
|
---|
254 | </para>
|
---|
255 |
|
---|
256 | <para>
|
---|
257 | <option>--with-smyrna</option>: Even if the needed dependencies are
|
---|
258 | installed, the interactive graph viewer <command>smyrna</command> is not
|
---|
259 | built without this option.
|
---|
260 | </para>
|
---|
261 |
|
---|
262 | </sect2>
|
---|
263 |
|
---|
264 | <sect2 role="configuration">
|
---|
265 | <title>Configuring Graphviz</title>
|
---|
266 |
|
---|
267 | <sect3 id="graphviz-config">
|
---|
268 | <title>Config Files</title>
|
---|
269 |
|
---|
270 | <para>
|
---|
271 | <filename>/usr/lib/graphviz/config</filename>
|
---|
272 | </para>
|
---|
273 |
|
---|
274 | <indexterm zone="graphviz graphviz-config">
|
---|
275 | <primary sortas="e-usr-share-graphviz-config">/usr/share/graphviz/config</primary>
|
---|
276 | </indexterm>
|
---|
277 |
|
---|
278 | </sect3>
|
---|
279 |
|
---|
280 | <sect3>
|
---|
281 | <title>Configuration Information</title>
|
---|
282 |
|
---|
283 | <para>
|
---|
284 | There are no specific configuration requirements for
|
---|
285 | <application>Graphviz</application>. You may consider installing the
|
---|
286 | additional plugins and tools available from the download page at
|
---|
287 | <ulink url="https://graphviz.org/download/source/"/> for additional
|
---|
288 | capabilities. If additional plugins are installed, you can run
|
---|
289 | <command>dot -c</command> (as the
|
---|
290 | <systemitem class="username">root</systemitem> user) to update the
|
---|
291 | <filename>config</filename> file in
|
---|
292 | <filename class="directory">/usr/lib/graphviz</filename>.
|
---|
293 | </para>
|
---|
294 |
|
---|
295 | </sect3>
|
---|
296 |
|
---|
297 | </sect2>
|
---|
298 |
|
---|
299 | <sect2 role="content">
|
---|
300 | <title>Contents</title>
|
---|
301 |
|
---|
302 | <segmentedlist>
|
---|
303 | <segtitle>Installed Programs</segtitle>
|
---|
304 | <segtitle>Installed Libraries</segtitle>
|
---|
305 | <segtitle>Installed Directories</segtitle>
|
---|
306 |
|
---|
307 | <seglistitem>
|
---|
308 | <seg>
|
---|
309 | acyclic, bcomps, ccomps, circo, cluster, dijkstra,
|
---|
310 | dot, dot2gxl, dot_builtins, edgepaint, fdp, gc, gml2gv,
|
---|
311 | graphml2gv, gv2gml, gv2gxl, gvcolor, gvedit, gvgen, gvmap, gvmap.sh,
|
---|
312 | gvpack, gvpr, gxl2dot, gxl2gv, mm2gv, neato, nop,
|
---|
313 | osage, patchwork, prune, sccmap, sfdp, tred, twopi,
|
---|
314 | unflatten, and vimdot
|
---|
315 | </seg>
|
---|
316 | <seg>
|
---|
317 | libcdt.so, libcgraph.so, libgvc.so, libgvpr.so, liblab_gamut.so,
|
---|
318 | libpathplan.so, libxdot.so, and several plugins in /usr/lib/graphviz.
|
---|
319 | There are also several in subdirectories of
|
---|
320 | /usr/lib/{lua,perl5,php,python&python3-majorver;,tcl8.6}.
|
---|
321 | Unfortunately, some libraries are duplicated.
|
---|
322 | </seg>
|
---|
323 | <seg>
|
---|
324 | /usr/include/graphviz,
|
---|
325 | /usr/lib/graphviz,
|
---|
326 | /usr/lib/tcl8.6/graphviz,
|
---|
327 | /usr/share/doc/graphviz-&graphviz-version;, and
|
---|
328 | /usr/share/graphviz
|
---|
329 | </seg>
|
---|
330 | </seglistitem>
|
---|
331 | </segmentedlist>
|
---|
332 |
|
---|
333 | <variablelist>
|
---|
334 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
335 | <?dbfo list-presentation="list"?>
|
---|
336 | <?dbhtml list-presentation="table"?>
|
---|
337 |
|
---|
338 | <varlistentry id="acyclic">
|
---|
339 | <term><command>acyclic</command></term>
|
---|
340 | <listitem>
|
---|
341 | <para>
|
---|
342 | is a filter that takes a directed graph as input and outputs a
|
---|
343 | copy of the graph with sufficient edges reversed to make the
|
---|
344 | graph acyclic
|
---|
345 | </para>
|
---|
346 | <indexterm zone="graphviz acyclic">
|
---|
347 | <primary sortas="b-acyclic">acyclic</primary>
|
---|
348 | </indexterm>
|
---|
349 | </listitem>
|
---|
350 | </varlistentry>
|
---|
351 |
|
---|
352 | <varlistentry id="bcomps">
|
---|
353 | <term><command>bcomps</command></term>
|
---|
354 | <listitem>
|
---|
355 | <para>
|
---|
356 | decomposes graphs into their biconnected components,
|
---|
357 | printing the components to standard output
|
---|
358 | </para>
|
---|
359 | <indexterm zone="graphviz bcomps">
|
---|
360 | <primary sortas="b-bcomps">bcomps</primary>
|
---|
361 | </indexterm>
|
---|
362 | </listitem>
|
---|
363 | </varlistentry>
|
---|
364 |
|
---|
365 | <varlistentry id="ccomps">
|
---|
366 | <term><command>ccomps</command></term>
|
---|
367 | <listitem>
|
---|
368 | <para>
|
---|
369 | decomposes graphs into their connected components,
|
---|
370 | printing the components to standard output
|
---|
371 | </para>
|
---|
372 | <indexterm zone="graphviz ccomps">
|
---|
373 | <primary sortas="b-ccomps">ccomps</primary>
|
---|
374 | </indexterm>
|
---|
375 | </listitem>
|
---|
376 | </varlistentry>
|
---|
377 |
|
---|
378 | <varlistentry id="circo">
|
---|
379 | <term><command>circo</command></term>
|
---|
380 | <listitem>
|
---|
381 | <para>
|
---|
382 | draws graphs using a circular layout
|
---|
383 | </para>
|
---|
384 | <indexterm zone="graphviz circo">
|
---|
385 | <primary sortas="b-circo">circo</primary>
|
---|
386 | </indexterm>
|
---|
387 | </listitem>
|
---|
388 | </varlistentry>
|
---|
389 |
|
---|
390 | <varlistentry id="cluster">
|
---|
391 | <term><command>cluster</command></term>
|
---|
392 | <listitem>
|
---|
393 | <para>
|
---|
394 | takes a graph in DOT format as input, finds node clusters
|
---|
395 | and then augments the graph with this information
|
---|
396 | </para>
|
---|
397 | <indexterm zone="graphviz cluster">
|
---|
398 | <primary sortas="b-cluster">cluster</primary>
|
---|
399 | </indexterm>
|
---|
400 | </listitem>
|
---|
401 | </varlistentry>
|
---|
402 |
|
---|
403 | <varlistentry id="diffimg">
|
---|
404 | <term><command>diffimg</command></term>
|
---|
405 | <listitem>
|
---|
406 | <para>
|
---|
407 | (needs <ulink url="https://www.libgd.org/">GD Library</ulink>)
|
---|
408 | generates an image where each pixel is the
|
---|
409 | difference between the corresponding pixel in
|
---|
410 | each of the two source images
|
---|
411 | </para>
|
---|
412 | <indexterm zone="graphviz diffimg">
|
---|
413 | <primary sortas="b-diffimg">diffimg</primary>
|
---|
414 | </indexterm>
|
---|
415 | </listitem>
|
---|
416 | </varlistentry>
|
---|
417 |
|
---|
418 | <varlistentry id="dijkstra">
|
---|
419 | <term><command>dijkstra</command></term>
|
---|
420 | <listitem>
|
---|
421 | <para>
|
---|
422 | reads a stream of graphs and for each computes the distance of
|
---|
423 | every node from sourcenode
|
---|
424 | </para>
|
---|
425 | <indexterm zone="graphviz dijkstra">
|
---|
426 | <primary sortas="b-dijkstra">dijkstra</primary>
|
---|
427 | </indexterm>
|
---|
428 | </listitem>
|
---|
429 | </varlistentry>
|
---|
430 |
|
---|
431 | <varlistentry id="dot">
|
---|
432 | <term><command>dot</command></term>
|
---|
433 | <listitem>
|
---|
434 | <para>
|
---|
435 | draws directed graphs. It works well on DAGs and other graphs
|
---|
436 | that can be drawn as hierarchies. It reads attributed graph files and
|
---|
437 | writes drawings. By default, the output format dot is the input file
|
---|
438 | with layout coordinates appended
|
---|
439 | </para>
|
---|
440 | <indexterm zone="graphviz dot">
|
---|
441 | <primary sortas="b-dot">dot</primary>
|
---|
442 | </indexterm>
|
---|
443 | </listitem>
|
---|
444 | </varlistentry>
|
---|
445 |
|
---|
446 | <varlistentry id="dot2gxl">
|
---|
447 | <term><command>dot2gxl</command></term>
|
---|
448 | <listitem>
|
---|
449 | <para>
|
---|
450 | converts between graphs represented in GXL and in the DOT
|
---|
451 | language. Unless a conversion type is specified using a flag,
|
---|
452 | <command>gxl2dot</command> will deduce the type of conversion from
|
---|
453 | the suffix of the input file, a
|
---|
454 | <filename class="extension">.dot</filename> suffix causing a
|
---|
455 | conversion from DOT to GXL, and a
|
---|
456 | <filename class="extension">.gxl</filename> suffix causing a
|
---|
457 | conversion from GXL to DOT
|
---|
458 | </para>
|
---|
459 | <indexterm zone="graphviz dot2gxl">
|
---|
460 | <primary sortas="b-dot2gxl">dot2gxl</primary>
|
---|
461 | </indexterm>
|
---|
462 | </listitem>
|
---|
463 | </varlistentry>
|
---|
464 | <!--
|
---|
465 | <varlistentry id="dotty">
|
---|
466 | <term><command>dotty</command></term>
|
---|
467 | <listitem>
|
---|
468 | <para>
|
---|
469 | is a graph editor for the X Window System. It may be run as a
|
---|
470 | standalone editor, or as a front end for applications that use
|
---|
471 | graphs. It can control multiple windows viewing different graphs
|
---|
472 | </para>
|
---|
473 | <indexterm zone="graphviz dotty">
|
---|
474 | <primary sortas="b-dotty">dotty</primary>
|
---|
475 | </indexterm>
|
---|
476 | </listitem>
|
---|
477 | </varlistentry>
|
---|
478 | -->
|
---|
479 | <varlistentry id="edgepaint">
|
---|
480 | <term><command>edgepaint</command></term>
|
---|
481 | <listitem>
|
---|
482 | <para>
|
---|
483 | performs edge coloring to disambiguate crossing edges
|
---|
484 | </para>
|
---|
485 | <indexterm zone="graphviz edgepaint">
|
---|
486 | <primary sortas="b-edgepaint">edgepaint</primary>
|
---|
487 | </indexterm>
|
---|
488 | </listitem>
|
---|
489 | </varlistentry>
|
---|
490 |
|
---|
491 | <varlistentry id="fdp">
|
---|
492 | <term><command>fdp</command></term>
|
---|
493 | <listitem>
|
---|
494 | <para>
|
---|
495 | draws undirected graphs using a <quote>spring</quote> model. It
|
---|
496 | relies on a force-directed approach in the spirit of Fruchterman
|
---|
497 | and Reingold
|
---|
498 | </para>
|
---|
499 | <indexterm zone="graphviz fdp">
|
---|
500 | <primary sortas="b-fdp">fdp</primary>
|
---|
501 | </indexterm>
|
---|
502 | </listitem>
|
---|
503 | </varlistentry>
|
---|
504 |
|
---|
505 | <varlistentry id="gc-graphviz">
|
---|
506 | <term><command>gc</command></term>
|
---|
507 | <listitem>
|
---|
508 | <para>
|
---|
509 | is a graph analogue to <command>wc</command> in that it prints
|
---|
510 | to standard output the number of nodes, edges, connected components
|
---|
511 | or clusters contained in the input files. It also prints a total
|
---|
512 | count for all graphs if more than one graph is given
|
---|
513 | </para>
|
---|
514 | <indexterm zone="graphviz gc-graphviz">
|
---|
515 | <primary sortas="b-gc">gc</primary>
|
---|
516 | </indexterm>
|
---|
517 | </listitem>
|
---|
518 | </varlistentry>
|
---|
519 |
|
---|
520 | <varlistentry id="gml2gv">
|
---|
521 | <term><command>gml2gv</command></term>
|
---|
522 | <listitem>
|
---|
523 | <para>
|
---|
524 | converts a graph specified in the GML format to
|
---|
525 | a graph in the GV (formerly DOT) format
|
---|
526 | </para>
|
---|
527 | <indexterm zone="graphviz gml2gv">
|
---|
528 | <primary sortas="b-gml2gv">gml2gv</primary>
|
---|
529 | </indexterm>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 |
|
---|
533 | <varlistentry id="graphml2gv">
|
---|
534 | <term><command>graphml2gv</command></term>
|
---|
535 | <listitem>
|
---|
536 | <para>
|
---|
537 | converts a graph specified in the GRAPHML format to a graph in
|
---|
538 | the GV (formerly DOT) format
|
---|
539 | </para>
|
---|
540 | <indexterm zone="graphviz graphml2gv">
|
---|
541 | <primary sortas="b-graphml2gv">graphml2gv</primary>
|
---|
542 | </indexterm>
|
---|
543 | </listitem>
|
---|
544 | </varlistentry>
|
---|
545 |
|
---|
546 | <varlistentry id="gv2gml">
|
---|
547 | <term><command>gv2gml</command></term>
|
---|
548 | <listitem>
|
---|
549 | <para>
|
---|
550 | converts a graph specified in the GV format to a graph in the GML format
|
---|
551 | </para>
|
---|
552 | <indexterm zone="graphviz gv2gml">
|
---|
553 | <primary sortas="b-gv2gml">gv2gml</primary>
|
---|
554 | </indexterm>
|
---|
555 | </listitem>
|
---|
556 | </varlistentry>
|
---|
557 |
|
---|
558 | <varlistentry id="gv2gxl">
|
---|
559 | <term><command>gv2gxl</command></term>
|
---|
560 | <listitem>
|
---|
561 | <para>
|
---|
562 | converts a graph specified in the GV format to a graph in the GXL format
|
---|
563 | </para>
|
---|
564 | <indexterm zone="graphviz gv2gxl">
|
---|
565 | <primary sortas="b-gv2gxl">gv2gxl</primary>
|
---|
566 | </indexterm>
|
---|
567 | </listitem>
|
---|
568 | </varlistentry>
|
---|
569 |
|
---|
570 | <varlistentry id="gvcolor">
|
---|
571 | <term><command>gvcolor</command></term>
|
---|
572 | <listitem>
|
---|
573 | <para>
|
---|
574 | is a filter that sets node colors from initial seed values.
|
---|
575 | Colors flow along edges from tail to head, and are averaged (as HSB
|
---|
576 | vectors) at nodes
|
---|
577 | </para>
|
---|
578 | <indexterm zone="graphviz gvcolor">
|
---|
579 | <primary sortas="b-gvcolor">gvcolor</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="gvedit">
|
---|
585 | <term><command>gvedit</command></term>
|
---|
586 | <listitem>
|
---|
587 | <para>
|
---|
588 | provides a simple graph editor and viewer. It allows many
|
---|
589 | graphs to be viewed at the same time. The text of each
|
---|
590 | graph is displayed in its own text window
|
---|
591 | </para>
|
---|
592 | <indexterm zone="graphviz gvedit">
|
---|
593 | <primary sortas="b-gvedit">gvedit</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="gvgen">
|
---|
599 | <term><command>gvgen</command></term>
|
---|
600 | <listitem>
|
---|
601 | <para>
|
---|
602 | generates a variety of simple, regularly-structured
|
---|
603 | abstract graphs
|
---|
604 | </para>
|
---|
605 | <indexterm zone="graphviz gvgen">
|
---|
606 | <primary sortas="b-gvgen">gvgen</primary>
|
---|
607 | </indexterm>
|
---|
608 | </listitem>
|
---|
609 | </varlistentry>
|
---|
610 |
|
---|
611 | <varlistentry id="gvmap">
|
---|
612 | <term><command>gvmap</command></term>
|
---|
613 | <listitem>
|
---|
614 | <para>
|
---|
615 | takes as input a graph in DOT format, finds node
|
---|
616 | clusters and produces a rendering of the graph as
|
---|
617 | a geographic-style map, with clusters highlighted,
|
---|
618 | in xdot format
|
---|
619 | </para>
|
---|
620 | <indexterm zone="graphviz gvmap">
|
---|
621 | <primary sortas="b-gvmap">gvmap</primary>
|
---|
622 | </indexterm>
|
---|
623 | </listitem>
|
---|
624 | </varlistentry>
|
---|
625 |
|
---|
626 | <varlistentry id="gvmap.sh">
|
---|
627 | <term><command>gvmap.sh</command></term>
|
---|
628 | <listitem>
|
---|
629 | <para>
|
---|
630 | is a pipeline for running gvmap
|
---|
631 | </para>
|
---|
632 | <indexterm zone="graphviz gvmap.sh">
|
---|
633 | <primary sortas="b-gvmap.sh">gvmap.sh</primary>
|
---|
634 | </indexterm>
|
---|
635 | </listitem>
|
---|
636 | </varlistentry>
|
---|
637 |
|
---|
638 | <varlistentry id="gvpack">
|
---|
639 | <term><command>gvpack</command></term>
|
---|
640 | <listitem>
|
---|
641 | <para>
|
---|
642 | reads in a stream of graphs, combines the graphs into a single layout,
|
---|
643 | and produces a single graph serving as the union of the input graphs
|
---|
644 | </para>
|
---|
645 | <indexterm zone="graphviz gvpack">
|
---|
646 | <primary sortas="b-gvpack">gvpack</primary>
|
---|
647 | </indexterm>
|
---|
648 | </listitem>
|
---|
649 | </varlistentry>
|
---|
650 |
|
---|
651 | <varlistentry id="gvpr">
|
---|
652 | <term><command>gvpr</command></term>
|
---|
653 | <listitem>
|
---|
654 | <para>
|
---|
655 | is a graph stream editor inspired by <command>awk</command>. It
|
---|
656 | copies input graphs to its output, possibly transforming their
|
---|
657 | structure and attributes, creating new graphs, or printing arbitrary
|
---|
658 | information
|
---|
659 | </para>
|
---|
660 | <indexterm zone="graphviz gvpr">
|
---|
661 | <primary sortas="b-gvpr">gvpr</primary>
|
---|
662 | </indexterm>
|
---|
663 | </listitem>
|
---|
664 | </varlistentry>
|
---|
665 |
|
---|
666 | <varlistentry id="gxl2dot">
|
---|
667 | <term><command>gxl2dot</command></term>
|
---|
668 | <listitem>
|
---|
669 | <para>
|
---|
670 | converts between graphs represented in GXL and in the DOT
|
---|
671 | language. Unless a conversion type is specified using a flag,
|
---|
672 | <command>gxl2dot</command> will deduce the type of conversion from
|
---|
673 | the suffix of the input file, a
|
---|
674 | <filename class="extension">.dot</filename> suffix causing a
|
---|
675 | conversion from DOT to GXL, and a
|
---|
676 | <filename class="extension">.gxl</filename> suffix causing a
|
---|
677 | conversion from GXL to DOT
|
---|
678 | </para>
|
---|
679 | <indexterm zone="graphviz gxl2dot">
|
---|
680 | <primary sortas="b-gxl2dot">gxl2dot</primary>
|
---|
681 | </indexterm>
|
---|
682 | </listitem>
|
---|
683 | </varlistentry>
|
---|
684 |
|
---|
685 | <varlistentry id="gxl2gv">
|
---|
686 | <term><command>gxl2gv</command></term>
|
---|
687 | <listitem>
|
---|
688 | <para>
|
---|
689 | converts between graphs represented in GXL and in
|
---|
690 | the GV language
|
---|
691 | </para>
|
---|
692 | <indexterm zone="graphviz gxl2gv">
|
---|
693 | <primary sortas="b-gxl2gv">gxl2gv</primary>
|
---|
694 | </indexterm>
|
---|
695 | </listitem>
|
---|
696 | </varlistentry>
|
---|
697 | <!--
|
---|
698 | <varlistentry id="lefty">
|
---|
699 | <term><command>lefty</command></term>
|
---|
700 | <listitem>
|
---|
701 | <para>
|
---|
702 | is a two-view graphics editor for technical pictures
|
---|
703 | </para>
|
---|
704 | <indexterm zone="graphviz lefty">
|
---|
705 | <primary sortas="b-lefty">lefty</primary>
|
---|
706 | </indexterm>
|
---|
707 | </listitem>
|
---|
708 | </varlistentry>
|
---|
709 |
|
---|
710 | <varlistentry id="lneato">
|
---|
711 | <term><command>lneato</command></term>
|
---|
712 | <listitem>
|
---|
713 | <para>
|
---|
714 | is a graph editor for the X Window System. It may be run as a
|
---|
715 | standalone editor, or as a front end for applications that use
|
---|
716 | graphs. It can control multiple windows viewing different graphs
|
---|
717 | </para>
|
---|
718 | <indexterm zone="graphviz lneato">
|
---|
719 | <primary sortas="b-lneato">lneato</primary>
|
---|
720 | </indexterm>
|
---|
721 | </listitem>
|
---|
722 | </varlistentry>
|
---|
723 | -->
|
---|
724 | <varlistentry id="mm2gv">
|
---|
725 | <term><command>mm2gv</command></term>
|
---|
726 | <listitem>
|
---|
727 | <para>
|
---|
728 | converts a sparse matrix of the Matrix Market format
|
---|
729 | to a graph in the GV (formerly DOT) format
|
---|
730 | </para>
|
---|
731 | <indexterm zone="graphviz mm2gv">
|
---|
732 | <primary sortas="b-mm2gv">mm2gv</primary>
|
---|
733 | </indexterm>
|
---|
734 | </listitem>
|
---|
735 | </varlistentry>
|
---|
736 |
|
---|
737 | <varlistentry id="neato">
|
---|
738 | <term><command>neato</command></term>
|
---|
739 | <listitem>
|
---|
740 | <para>
|
---|
741 | draws undirected graphs using <quote>spring</quote> models. Input
|
---|
742 | files must be formatted in the <command>dot</command> attributed
|
---|
743 | graph language. By default, the output of <command>neato</command>
|
---|
744 | is the input graph with layout coordinates appended
|
---|
745 | </para>
|
---|
746 | <indexterm zone="graphviz neato">
|
---|
747 | <primary sortas="b-neato">neato</primary>
|
---|
748 | </indexterm>
|
---|
749 | </listitem>
|
---|
750 | </varlistentry>
|
---|
751 |
|
---|
752 | <varlistentry id="nop">
|
---|
753 | <term><command>nop</command></term>
|
---|
754 | <listitem>
|
---|
755 | <para>
|
---|
756 | reads a stream of graphs and prints each in pretty-printed (canonical)
|
---|
757 | format on stdout. If no files are given, it reads from stdin
|
---|
758 | </para>
|
---|
759 | <indexterm zone="graphviz nop">
|
---|
760 | <primary sortas="b-nop">nop</primary>
|
---|
761 | </indexterm>
|
---|
762 | </listitem>
|
---|
763 | </varlistentry>
|
---|
764 |
|
---|
765 | <varlistentry id="osage">
|
---|
766 | <term><command>osage</command></term>
|
---|
767 | <listitem>
|
---|
768 | <para>
|
---|
769 | draws clustered graphs. It takes any graph in DOT format as input
|
---|
770 | </para>
|
---|
771 | <indexterm zone="graphviz osage">
|
---|
772 | <primary sortas="b-osage">osage</primary>
|
---|
773 | </indexterm>
|
---|
774 | </listitem>
|
---|
775 | </varlistentry>
|
---|
776 |
|
---|
777 | <varlistentry id="patchwork">
|
---|
778 | <term><command>patchwork</command></term>
|
---|
779 | <listitem>
|
---|
780 | <para>
|
---|
781 | draws clustered graphs using a squarified treemap layout.
|
---|
782 | It takes any graph in DOT format as input
|
---|
783 | </para>
|
---|
784 | <indexterm zone="graphviz patchwork">
|
---|
785 | <primary sortas="b-patchwork">patchwork</primary>
|
---|
786 | </indexterm>
|
---|
787 | </listitem>
|
---|
788 | </varlistentry>
|
---|
789 |
|
---|
790 | <varlistentry id="prune">
|
---|
791 | <term><command>prune</command></term>
|
---|
792 | <listitem>
|
---|
793 | <para>
|
---|
794 | reads directed graphs in the same format used by
|
---|
795 | <command>dot</command> and removes subgraphs rooted at nodes
|
---|
796 | specified on the command line via options
|
---|
797 | </para>
|
---|
798 | <indexterm zone="graphviz prune">
|
---|
799 | <primary sortas="b-prune">prune</primary>
|
---|
800 | </indexterm>
|
---|
801 | </listitem>
|
---|
802 | </varlistentry>
|
---|
803 |
|
---|
804 | <varlistentry id="sccmap">
|
---|
805 | <term><command>sccmap</command></term>
|
---|
806 | <listitem>
|
---|
807 | <para>
|
---|
808 | decomposes digraphs into strongly connected components and an
|
---|
809 | auxiliary map of the relationship between components. In this map,
|
---|
810 | each component is collapsed into a node. The resulting graphs are
|
---|
811 | printed to stdout
|
---|
812 | </para>
|
---|
813 | <indexterm zone="graphviz sccmap">
|
---|
814 | <primary sortas="b-sccmap">sccmap</primary>
|
---|
815 | </indexterm>
|
---|
816 | </listitem>
|
---|
817 | </varlistentry>
|
---|
818 |
|
---|
819 | <varlistentry id="sfdp">
|
---|
820 | <term><command>sfdp</command></term>
|
---|
821 | <listitem>
|
---|
822 | <para>
|
---|
823 | draws undirected graphs using the <quote>spring</quote> model,
|
---|
824 | but it uses a multi-scale approach to produce layouts of large
|
---|
825 | graphs in a reasonably short time
|
---|
826 | </para>
|
---|
827 | <indexterm zone="graphviz sfdp">
|
---|
828 | <primary sortas="b-sfdp">sfdp</primary>
|
---|
829 | </indexterm>
|
---|
830 | </listitem>
|
---|
831 | </varlistentry>
|
---|
832 |
|
---|
833 | <varlistentry id="tred">
|
---|
834 | <term><command>tred</command></term>
|
---|
835 | <listitem>
|
---|
836 | <para>
|
---|
837 | computes the transitive reduction of directed graphs, and
|
---|
838 | prints the resulting graphs to standard output. This removes edges
|
---|
839 | implied by transitivity. Nodes and subgraphs are not otherwise
|
---|
840 | affected
|
---|
841 | </para>
|
---|
842 | <indexterm zone="graphviz tred">
|
---|
843 | <primary sortas="b-tred">tred</primary>
|
---|
844 | </indexterm>
|
---|
845 | </listitem>
|
---|
846 | </varlistentry>
|
---|
847 |
|
---|
848 | <varlistentry id="twopi">
|
---|
849 | <term><command>twopi</command></term>
|
---|
850 | <listitem>
|
---|
851 | <para>
|
---|
852 | draws graphs using a radial layout. Basically, one node is
|
---|
853 | chosen as the center and put at the origin. The remaining nodes are
|
---|
854 | placed on a sequence of concentric circles centered about the origin,
|
---|
855 | each a fixed radial distance from the previous circle
|
---|
856 | </para>
|
---|
857 | <indexterm zone="graphviz twopi">
|
---|
858 | <primary sortas="b-twopi">twopi</primary>
|
---|
859 | </indexterm>
|
---|
860 | </listitem>
|
---|
861 | </varlistentry>
|
---|
862 |
|
---|
863 | <varlistentry id="unflatten">
|
---|
864 | <term><command>unflatten</command></term>
|
---|
865 | <listitem>
|
---|
866 | <para>
|
---|
867 | is a preprocessor to <command>dot</command> that is used to
|
---|
868 | improve the aspect ratio of graphs having many leaves or disconnected
|
---|
869 | nodes. The usual layout for such a graph is generally very wide or tall
|
---|
870 | </para>
|
---|
871 | <indexterm zone="graphviz unflatten">
|
---|
872 | <primary sortas="b-unflatten">unflatten</primary>
|
---|
873 | </indexterm>
|
---|
874 | </listitem>
|
---|
875 | </varlistentry>
|
---|
876 |
|
---|
877 | <varlistentry id="vimdot">
|
---|
878 | <term><command>vimdot</command></term>
|
---|
879 | <listitem>
|
---|
880 | <para>
|
---|
881 | is a simple script which launches the <command>gvim</command>
|
---|
882 | or <command>vim</command> editor along with a GUI window
|
---|
883 | showing the <command>dot</command> output of the edited file
|
---|
884 | </para>
|
---|
885 | <indexterm zone="graphviz vimdot">
|
---|
886 | <primary sortas="b-vimdot">vimdot</primary>
|
---|
887 | </indexterm>
|
---|
888 | </listitem>
|
---|
889 | </varlistentry>
|
---|
890 |
|
---|
891 | <varlistentry id="libcdt">
|
---|
892 | <term><filename class="libraryfile">libcdt.so</filename></term>
|
---|
893 | <listitem>
|
---|
894 | <para>
|
---|
895 | manages run-time dictionaries using standard container data
|
---|
896 | types: unordered set/multiset, ordered set/multiset, list, stack,
|
---|
897 | and queue
|
---|
898 | </para>
|
---|
899 | <indexterm zone="graphviz libcdt">
|
---|
900 | <primary sortas="c-libcdt">libcdt.so</primary>
|
---|
901 | </indexterm>
|
---|
902 | </listitem>
|
---|
903 | </varlistentry>
|
---|
904 |
|
---|
905 | <varlistentry id="libcgraph">
|
---|
906 | <term><filename class="libraryfile">libcgraph.so</filename></term>
|
---|
907 | <listitem>
|
---|
908 | <para>
|
---|
909 | supports graph programming by maintaining graphs in memory and
|
---|
910 | reading and writing graph files. Graphs are composed of nodes,
|
---|
911 | edges, and nested subgraphs
|
---|
912 | </para>
|
---|
913 | <indexterm zone="graphviz libcgraph">
|
---|
914 | <primary sortas="c-libcgraph">libcgraph.so</primary>
|
---|
915 | </indexterm>
|
---|
916 | </listitem>
|
---|
917 | </varlistentry>
|
---|
918 |
|
---|
919 | <varlistentry id="libgvc">
|
---|
920 | <term><filename class="libraryfile">libgvc.so</filename></term>
|
---|
921 | <listitem>
|
---|
922 | <para>
|
---|
923 | provides a context for applications wishing to manipulate
|
---|
924 | and render graphs. It provides command line parsing interfaces,
|
---|
925 | common rendering code, and a plugin mechanism for renderers
|
---|
926 | </para>
|
---|
927 | <indexterm zone="graphviz libgvc">
|
---|
928 | <primary sortas="c-libgvc">libgvc.so</primary>
|
---|
929 | </indexterm>
|
---|
930 | </listitem>
|
---|
931 | </varlistentry>
|
---|
932 |
|
---|
933 | <varlistentry id="libpathplan">
|
---|
934 | <term><filename class="libraryfile">libpathplan.so</filename></term>
|
---|
935 | <listitem>
|
---|
936 | <para>
|
---|
937 | contains functions to find the shortest path between two points
|
---|
938 | in a simple polygon
|
---|
939 | </para>
|
---|
940 | <indexterm zone="graphviz libpathplan">
|
---|
941 | <primary sortas="c-libpathplan">libpathplan.so</primary>
|
---|
942 | </indexterm>
|
---|
943 | </listitem>
|
---|
944 | </varlistentry>
|
---|
945 |
|
---|
946 | <varlistentry id="libxdot">
|
---|
947 | <term><filename class="libraryfile">libxdot.so</filename></term>
|
---|
948 | <listitem>
|
---|
949 | <para>
|
---|
950 | provides support for parsing and deparsing graphical
|
---|
951 | operations specified by the xdot language
|
---|
952 | </para>
|
---|
953 | <indexterm zone="graphviz libxdot">
|
---|
954 | <primary sortas="c-libxdot">libxdot.so</primary>
|
---|
955 | </indexterm>
|
---|
956 | </listitem>
|
---|
957 | </varlistentry>
|
---|
958 |
|
---|
959 | </variablelist>
|
---|
960 |
|
---|
961 | </sect2>
|
---|
962 |
|
---|
963 | </sect1>
|
---|