source: general/genutils/graphviz.xml@ 4b1b99e8

elogind
Last change on this file since 4b1b99e8 was 4b1b99e8, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21160.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21161 af4574ff-66df-0310-9fd7-8a98e5e911e0

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