source: general/genutils/graphviz.xml@ 028de44

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/xf86-video-removal
Last change on this file since 028de44 was 028de44, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Upstream released a very minor update-graphviz-7.0.3.

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