source: general/genutils/graphviz.xml@ ad1831a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ad1831a was ad1831a, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to graphviz-2.47.1

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