source: general/genutils/graphviz.xml@ ea0b5bb

11.2 11.3 12.0 12.1 gimp3 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 ea0b5bb was b9c353b, checked in by Ken Moffat <ken@…>, 2 years ago

Typo fixes from rhubarbpieguy.

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