source: general/genutils/graphviz.xml@ 87351a9

10.0 10.1 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 87351a9 was 87351a9, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Tag most of General Libraries and their dependencies

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23542 af4574ff-66df-0310-9fd7-8a98e5e911e0

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