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