source: general/genutils/graphviz.xml@ 47b0660

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 47b0660 was 47b0660, checked in by Pierre Labastie <pierre.labastie@…>, 22 months ago

graphviz: move the note about date before "make"

Otherwise, all libraries get relinked during "make install"

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