source: general/genutils/graphviz.xml@ d723609

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since d723609 was d6ff5a1, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Update to graphviz-7.0.6

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