source: general/genutils/graphviz.xml@ 62e3c6d

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 62e3c6d was 62e3c6d, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Update to graphviz-7.0.1

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