source: general/genutils/graphviz.xml

trunk
Last change on this file was 1241ea19, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag xfce and dependencies

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