source: general/genutils/graphviz.xml@ 3343c4c

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3343c4c was 3343c4c, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

graphviz: remove unneeded option

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