[6722219] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[6722219] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a1fbba7] | 7 | <!ENTITY graphviz-download-http "http://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz">
|
---|
[ac4b41a] | 8 | <!ENTITY graphviz-download-ftp " ">
|
---|
[6bd7ca9] | 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)">
|
---|
[6722219] | 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 |
|
---|
[ac4b41a] | 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 |
|
---|
[a0968dcc] | 41 | &lfs83_checked;
|
---|
[6722219] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[ac4b41a] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&graphviz-download-http;"/>
|
---|
| 48 | </para>
|
---|
[6722219] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[ac4b41a] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&graphviz-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[6722219] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[ac4b41a] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &graphviz-md5sum;
|
---|
| 58 | </para>
|
---|
[6722219] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[ac4b41a] | 61 | <para>
|
---|
| 62 | Download size: &graphviz-size;
|
---|
| 63 | </para>
|
---|
[6722219] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[ac4b41a] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &graphviz-buildsize;
|
---|
| 68 | </para>
|
---|
[6722219] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[ac4b41a] | 71 | <para>
|
---|
| 72 | Estimated build time: &graphviz-time;
|
---|
| 73 | </para>
|
---|
[6722219] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[f6ebe7e] | 76 |
|
---|
[a01c60a] | 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 |
|
---|
[69b2349] | 90 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 91 | <itemizedlist spacing="compact">
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>
|
---|
[f6ebe7e] | 94 | Optional patch to use <xref linkend="qt5"/>:
|
---|
| 95 | <ulink url="&patch-root;/graphviz-&graphviz-version;-qt5-1.patch"/>
|
---|
[69b2349] | 96 | </para>
|
---|
| 97 | </listitem>
|
---|
| 98 | </itemizedlist>
|
---|
[f6ebe7e] | 99 |
|
---|
[6722219] | 100 | <bridgehead renderas="sect3">Graphviz Dependencies</bridgehead>
|
---|
| 101 |
|
---|
[31ef4b60] | 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>
|
---|
[ac4b41a] | 120 | <para role="optional">
|
---|
[31ef4b60] | 121 | <xref linkend="pango"/>, with
|
---|
| 122 | <xref linkend="cairo"/>,
|
---|
| 123 | <xref linkend="xorg7-lib"/>,
|
---|
| 124 | <xref linkend="fontconfig"/>, and
|
---|
| 125 | <xref linkend="libpng"/>, to generate images in bitmap SVG, postscript,
|
---|
| 126 | PNG, and PDF formats, or displaying the image on screen
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para role="optional">
|
---|
| 130 | Adding
|
---|
| 131 | <xref linkend="gtk2"/> with
|
---|
| 132 | <xref linkend="libjpeg"/> allows to add JPEG, BMP, TIF, and ICO formats,
|
---|
| 133 | and to display the image in a GTK+ window
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
| 136 | <para role="optional">
|
---|
| 137 | <ulink url="http://www.libgd.org/">GD Library</ulink> may be used
|
---|
| 138 | instead of <application>Pango</application>. It adds the ability to
|
---|
| 139 | generate images in GIF, VRML, and GD formats, but
|
---|
| 140 | <application>Pango</application> provides better outputs for the other
|
---|
| 141 | formats, and is needed for displaying images
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <para role="optional">
|
---|
| 145 | Other formats may be added with
|
---|
| 146 | <xref linkend="libwebp"/> (WebP support is considered experimental),
|
---|
[ac4b41a] | 147 | <ulink url="http://openil.sourceforge.net/projects.php">DevIL</ulink>,
|
---|
| 148 | <ulink url="http://sourceforge.net/projects/lasi/">libLASi</ulink>,
|
---|
[31ef4b60] | 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 -->
|
---|
[ac4b41a] | 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <bridgehead renderas="sect4">Optional (To Build Language Bindings)</bridgehead>
|
---|
| 179 | <para role="optional">
|
---|
[7dfb8c9] | 180 | <xref linkend="swig"/> (<application>SWIG</application> must be
|
---|
| 181 | installed or no bindings will be built),
|
---|
[31ef4b60] | 182 | <xref linkend="gcc"/> (for the go language),
|
---|
[ac4b41a] | 183 | <xref linkend="guile"/>,
|
---|
[49b50d4] | 184 | <xref linkend="openjdk"/>,
|
---|
[32d4980] | 185 | <xref linkend="lua"/>,
|
---|
[ac4b41a] | 186 | <xref linkend="php"/>,
|
---|
| 187 | <xref linkend="python2"/>,
|
---|
| 188 | <xref linkend="ruby"/>,
|
---|
[69b2349] | 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>
|
---|
[ac4b41a] | 195 | </para>
|
---|
[6722219] | 196 |
|
---|
[31ef4b60] | 197 | <bridgehead renderas="sect4">Optional (building tools)</bridgehead>
|
---|
| 198 | <para role="optional">
|
---|
| 199 | <ulink url="https://github.com/Snaipe/Criterion">Criterion</ulink>
|
---|
| 200 | (framework for tests),
|
---|
| 201 | <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
[6722219] | 204 | <para condition="html" role="usernotes">User Notes:
|
---|
[82fac2c] | 205 | <ulink url="&blfs-wiki;/graphviz"/>
|
---|
| 206 | </para>
|
---|
[6722219] | 207 | </sect2>
|
---|
| 208 |
|
---|
| 209 | <sect2 role="installation">
|
---|
| 210 | <title>Installation of Graphviz</title>
|
---|
| 211 |
|
---|
[f6ebe7e] | 212 | <para>
|
---|
| 213 | If <xref linkend="ruby"/> is installed, and you want to build Ruby
|
---|
| 214 | bindings, fix ruby's detection:
|
---|
| 215 | </para>
|
---|
| 216 |
|
---|
[d60cd837] | 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>
|
---|
[f6ebe7e] | 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 |
|
---|
[ac4b41a] | 227 | <para>
|
---|
| 228 | Install <application>Graphviz</application> by running the following
|
---|
| 229 | commands:
|
---|
| 230 | </para>
|
---|
[6722219] | 231 |
|
---|
[6bd7ca9] | 232 | <screen><userinput>sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac &&
|
---|
[87ff6f30] | 233 |
|
---|
[f6ebe7e] | 234 | autoreconf &&
|
---|
| 235 | ./configure --prefix=/usr &&
|
---|
[6722219] | 236 | make</userinput></screen>
|
---|
| 237 |
|
---|
[ac4b41a] | 238 | <para>
|
---|
[75457cc] | 239 | This package does not come with a test suite that provides
|
---|
| 240 | meaningful results.
|
---|
[ac4b41a] | 241 | </para>
|
---|
[6722219] | 242 |
|
---|
[ac4b41a] | 243 | <para>
|
---|
| 244 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 245 | </para>
|
---|
[6722219] | 246 |
|
---|
| 247 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 248 |
|
---|
[ac4b41a] | 249 | <para>
|
---|
| 250 | If desired, create a symbolic link in the system documents directory
|
---|
| 251 | to the documentation installed in
|
---|
[82fac2c] | 252 | <filename class="directory">/usr/share/graphviz/doc</filename> using the
|
---|
[ac4b41a] | 253 | following command as the <systemitem class="username">root</systemitem>
|
---|
| 254 | user:
|
---|
| 255 | </para>
|
---|
[6722219] | 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 |
|
---|
[75457cc] | 262 | <sect2 role="commands">
|
---|
| 263 | <title>Command Explanations</title>
|
---|
| 264 |
|
---|
[87ff6f30] | 265 | <para>
|
---|
| 266 | <command>sed ... configure.ac</command>: This command is needed to
|
---|
| 267 | avoid installing files in /usr/lib64.
|
---|
| 268 | </para>
|
---|
[f6ebe7e] | 269 | <!-- Seems php bindings can be built now (not tested)
|
---|
[75457cc] | 270 | <para>
|
---|
[f6ebe7e] | 271 | <parameter>- -disable-php</parameter>: This version of graphviz
|
---|
[6c88333] | 272 | does not support php version 7.
|
---|
[f6ebe7e] | 273 | </para>-->
|
---|
[41d241e] | 274 |
|
---|
[6022da1] | 275 | <para>
|
---|
[9d66e9a2] | 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.
|
---|
[6022da1] | 283 | </para>
|
---|
| 284 |
|
---|
[31ef4b60] | 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 |
|
---|
[75457cc] | 296 | </sect2>
|
---|
| 297 |
|
---|
[6722219] | 298 | <sect2 role="configuration">
|
---|
| 299 | <title>Configuring Graphviz</title>
|
---|
| 300 |
|
---|
| 301 | <sect3 id="graphviz-config">
|
---|
| 302 | <title>Config Files</title>
|
---|
[5b38e37] | 303 |
|
---|
| 304 | <para>
|
---|
| 305 | <filename>/usr/lib/graphviz/config</filename>
|
---|
| 306 | </para>
|
---|
[6722219] | 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 |
|
---|
[ac4b41a] | 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
|
---|
[82fac2c] | 326 | <filename class="directory">/usr/lib/graphviz</filename>.
|
---|
[ac4b41a] | 327 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 342 | <seg>
|
---|
| 343 | acyclic, bcomps, ccomps, circo, cluster, diffimg, dijkstra,
|
---|
[08bd91b] | 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
|
---|
[ac4b41a] | 349 | </seg>
|
---|
| 350 | <seg>
|
---|
[e22693da] | 351 | libcdt.so, libcgraph.so, libgvc.so, libgvpr.so, libpathplan.so,
|
---|
[08bd91b] | 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.
|
---|
[ac4b41a] | 356 | </seg>
|
---|
| 357 | <seg>
|
---|
| 358 | /usr/include/graphviz,
|
---|
[08bd91b] | 359 | /usr/lib/graphviz,
|
---|
[41d241e] | 360 | /usr/lib/tcl8.6/graphviz,
|
---|
[08bd91b] | 361 | /usr/share/doc/graphviz-&graphviz-version;, and
|
---|
[82fac2c] | 362 | /usr/share/graphviz
|
---|
| 363 | </seg>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 375 | <para>
|
---|
| 376 | is a filter that takes a directed graph as input and outputs a
|
---|
[0d7900a] | 377 | copy of the graph with sufficient edges reversed to make the
|
---|
[ac4b41a] | 378 | graph acyclic.
|
---|
| 379 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 389 | <para>
|
---|
[0d7900a] | 390 | decomposes graphs into their biconnected components,
|
---|
[ac4b41a] | 391 | printing the components to standard output.
|
---|
| 392 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 402 | <para>
|
---|
[0d7900a] | 403 | decomposes graphs into their connected components,
|
---|
[ac4b41a] | 404 | printing the components to standard output.
|
---|
| 405 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 415 | <para>
|
---|
| 416 | draws graphs using a circular layout.
|
---|
| 417 | </para>
|
---|
[6722219] | 418 | <indexterm zone="graphviz circo">
|
---|
| 419 | <primary sortas="b-circo">circo</primary>
|
---|
| 420 | </indexterm>
|
---|
| 421 | </listitem>
|
---|
| 422 | </varlistentry>
|
---|
| 423 |
|
---|
[ac4b41a] | 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>
|
---|
[08bd91b] | 441 | (needs <ulink url="http://www.libgd.org/">GD Library</ulink>)
|
---|
[0d7900a] | 442 | generates an image where each pixel is the
|
---|
| 443 | difference between the corresponding pixel in
|
---|
[ac4b41a] | 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 |
|
---|
[6722219] | 452 | <varlistentry id="dijkstra">
|
---|
| 453 | <term><command>dijkstra</command></term>
|
---|
| 454 | <listitem>
|
---|
[ac4b41a] | 455 | <para>
|
---|
| 456 | reads a stream of graphs and for each computes the distance of
|
---|
| 457 | every node from sourcenode.
|
---|
| 458 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 507 | <indexterm zone="graphviz dotty">
|
---|
| 508 | <primary sortas="b-dotty">dotty</primary>
|
---|
| 509 | </indexterm>
|
---|
| 510 | </listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
[08bd91b] | 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 |
|
---|
[6722219] | 525 | <varlistentry id="fdp">
|
---|
| 526 | <term><command>fdp</command></term>
|
---|
| 527 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 548 | <indexterm zone="graphviz gc-graphviz">
|
---|
| 549 | <primary sortas="b-gc">gc</primary>
|
---|
| 550 | </indexterm>
|
---|
| 551 | </listitem>
|
---|
| 552 | </varlistentry>
|
---|
| 553 |
|
---|
[ac4b41a] | 554 | <varlistentry id="gml2gv">
|
---|
| 555 | <term><command>gml2gv</command></term>
|
---|
| 556 | <listitem>
|
---|
| 557 | <para>
|
---|
[0d7900a] | 558 | converts a graph specified in the GML format to
|
---|
[ac4b41a] | 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 |
|
---|
[2a879b7c] | 567 | <varlistentry id="graphml2gv">
|
---|
| 568 | <term><command>graphml2gv</command></term>
|
---|
[ac4b41a] | 569 | <listitem>
|
---|
| 570 | <para>
|
---|
[41d241e] | 571 | converts a graph specified in the GRAPHML format to a graph in
|
---|
[2a879b7c] | 572 | the GV (formerly DOT) format.
|
---|
[ac4b41a] | 573 | </para>
|
---|
[2a879b7c] | 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>
|
---|
[ac4b41a] | 600 | </indexterm>
|
---|
| 601 | </listitem>
|
---|
| 602 | </varlistentry>
|
---|
| 603 |
|
---|
[6722219] | 604 | <varlistentry id="gvcolor">
|
---|
| 605 | <term><command>gvcolor</command></term>
|
---|
| 606 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 612 | <indexterm zone="graphviz gvcolor">
|
---|
| 613 | <primary sortas="b-gvcolor">gvcolor</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
[ac4b41a] | 618 | <varlistentry id="gvedit">
|
---|
| 619 | <term><command>gvedit</command></term>
|
---|
| 620 | <listitem>
|
---|
| 621 | <para>
|
---|
[0d7900a] | 622 | provides a simple graph editor and viewer. It allows many
|
---|
[ac4b41a] | 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>
|
---|
[0d7900a] | 636 | generates a variety of simple, regularly-structured
|
---|
[ac4b41a] | 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>
|
---|
[0d7900a] | 649 | takes as input a graph in DOT format, finds node
|
---|
| 650 | clusters and produces a rendering of the graph as
|
---|
[ac4b41a] | 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 |
|
---|
[2a879b7c] | 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 |
|
---|
[6722219] | 672 | <varlistentry id="gvpack">
|
---|
| 673 | <term><command>gvpack</command></term>
|
---|
| 674 | <listitem>
|
---|
[ac4b41a] | 675 | <para>
|
---|
[0d7900a] | 676 | reads in a stream of graphs, combines the graphs into a single layout,
|
---|
[ac4b41a] | 677 | and produces a single graph serving as the union of the input graphs.
|
---|
| 678 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 713 | <indexterm zone="graphviz gxl2dot">
|
---|
| 714 | <primary sortas="b-gxl2dot">gxl2dot</primary>
|
---|
| 715 | </indexterm>
|
---|
| 716 | </listitem>
|
---|
| 717 | </varlistentry>
|
---|
| 718 |
|
---|
[2a879b7c] | 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 |
|
---|
[6722219] | 732 | <varlistentry id="lefty">
|
---|
| 733 | <term><command>lefty</command></term>
|
---|
| 734 | <listitem>
|
---|
[ac4b41a] | 735 | <para>
|
---|
| 736 | is a two-view graphics editor for technical pictures.
|
---|
| 737 | </para>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 752 | <indexterm zone="graphviz lneato">
|
---|
| 753 | <primary sortas="b-lneato">lneato</primary>
|
---|
| 754 | </indexterm>
|
---|
| 755 | </listitem>
|
---|
| 756 | </varlistentry>
|
---|
| 757 |
|
---|
[ac4b41a] | 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>
|
---|
[0d7900a] | 775 | draws undirected graphs using <quote>spring</quote> models. Input
|
---|
[ac4b41a] | 776 | files must be formatted in the <command>dot</command> attributed
|
---|
[0d7900a] | 777 | graph language. By default, the output of <command>neato</command>
|
---|
[ac4b41a] | 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 |
|
---|
[6722219] | 786 | <varlistentry id="nop">
|
---|
| 787 | <term><command>nop</command></term>
|
---|
| 788 | <listitem>
|
---|
[ac4b41a] | 789 | <para>
|
---|
[0d7900a] | 790 | reads a stream of graphs and prints each in pretty-printed (canonical)
|
---|
[ac4b41a] | 791 | format on stdout. If no files are given, it reads from stdin.
|
---|
| 792 | </para>
|
---|
[6722219] | 793 | <indexterm zone="graphviz nop">
|
---|
| 794 | <primary sortas="b-nop">nop</primary>
|
---|
| 795 | </indexterm>
|
---|
| 796 | </listitem>
|
---|
| 797 | </varlistentry>
|
---|
| 798 |
|
---|
[ac4b41a] | 799 | <varlistentry id="osage">
|
---|
| 800 | <term><command>osage</command></term>
|
---|
| 801 | <listitem>
|
---|
| 802 | <para>
|
---|
[0d7900a] | 803 | draws clustered graphs. As input, it takes any
|
---|
[ac4b41a] | 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>
|
---|
[0d7900a] | 816 | draws clustered graphs using a squarified treemap layout.
|
---|
[ac4b41a] | 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 |
|
---|
[6722219] | 825 | <varlistentry id="prune">
|
---|
| 826 | <term><command>prune</command></term>
|
---|
| 827 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 848 | <indexterm zone="graphviz sccmap">
|
---|
| 849 | <primary sortas="b-sccmap">sccmap</primary>
|
---|
| 850 | </indexterm>
|
---|
| 851 | </listitem>
|
---|
| 852 | </varlistentry>
|
---|
| 853 |
|
---|
[ac4b41a] | 854 | <varlistentry id="sfdp">
|
---|
| 855 | <term><command>sfdp</command></term>
|
---|
| 856 | <listitem>
|
---|
| 857 | <para>
|
---|
[0d7900a] | 858 | draws undirected graphs using the <quote>spring</quote> model,
|
---|
[ac4b41a] | 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 |
|
---|
[6722219] | 868 | <varlistentry id="tred">
|
---|
| 869 | <term><command>tred</command></term>
|
---|
| 870 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 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>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 892 | <indexterm zone="graphviz twopi">
|
---|
[8c9e2f6e] | 893 | <primary sortas="b-twopi">twopi</primary>
|
---|
[6722219] | 894 | </indexterm>
|
---|
| 895 | </listitem>
|
---|
| 896 | </varlistentry>
|
---|
| 897 |
|
---|
| 898 | <varlistentry id="unflatten">
|
---|
| 899 | <term><command>unflatten</command></term>
|
---|
| 900 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 906 | <indexterm zone="graphviz unflatten">
|
---|
| 907 | <primary sortas="b-unflatten">unflatten</primary>
|
---|
| 908 | </indexterm>
|
---|
| 909 | </listitem>
|
---|
| 910 | </varlistentry>
|
---|
| 911 |
|
---|
[ac4b41a] | 912 | <varlistentry id="vimdot">
|
---|
| 913 | <term><command>vimdot</command></term>
|
---|
[6722219] | 914 | <listitem>
|
---|
[ac4b41a] | 915 | <para>
|
---|
| 916 | is a simple script which launches the <command>gvim</command>
|
---|
[0d7900a] | 917 | or <command>vim</command> editor along with a GUI window
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 922 | </indexterm>
|
---|
| 923 | </listitem>
|
---|
[0d7900a] | 924 | </varlistentry>
|
---|
[6722219] | 925 |
|
---|
| 926 | <varlistentry id="libcdt">
|
---|
[5b38e37] | 927 | <term><filename class="libraryfile">libcdt.so</filename></term>
|
---|
[6722219] | 928 | <listitem>
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 934 | <indexterm zone="graphviz libcdt">
|
---|
[ac4b41a] | 935 | <primary sortas="c-libcdt">libcdt.so</primary>
|
---|
[6722219] | 936 | </indexterm>
|
---|
| 937 | </listitem>
|
---|
| 938 | </varlistentry>
|
---|
| 939 |
|
---|
[ac4b41a] | 940 | <varlistentry id="libcgraph">
|
---|
[5b38e37] | 941 | <term><filename class="libraryfile">libcgraph.so</filename></term>
|
---|
[6722219] | 942 | <listitem>
|
---|
[ac4b41a] | 943 | <para>
|
---|
[0d7900a] | 944 | supports graph programming by maintaining graphs in memory and
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 950 | </indexterm>
|
---|
| 951 | </listitem>
|
---|
| 952 | </varlistentry>
|
---|
| 953 |
|
---|
[ac4b41a] | 954 | <varlistentry id="libgvc">
|
---|
[5b38e37] | 955 | <term><filename class="libraryfile">libgvc.so</filename></term>
|
---|
[6722219] | 956 | <listitem>
|
---|
[ac4b41a] | 957 | <para>
|
---|
| 958 | provides a context for applications wishing to manipulate
|
---|
[0d7900a] | 959 | and render graphs. It provides a command line parsing,
|
---|
[ac4b41a] | 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>
|
---|
[6722219] | 964 | </indexterm>
|
---|
| 965 | </listitem>
|
---|
| 966 | </varlistentry>
|
---|
| 967 |
|
---|
| 968 | <varlistentry id="libpathplan">
|
---|
[5b38e37] | 969 | <term><filename class="libraryfile">libpathplan.so</filename></term>
|
---|
[6722219] | 970 | <listitem>
|
---|
[ac4b41a] | 971 | <para>
|
---|
| 972 | contains functions to find the shortest path between two points
|
---|
| 973 | in a simple polygon.
|
---|
| 974 | </para>
|
---|
[6722219] | 975 | <indexterm zone="graphviz libpathplan">
|
---|
[ac4b41a] | 976 | <primary sortas="c-libpathplan">libpathplan.so</primary>
|
---|
| 977 | </indexterm>
|
---|
| 978 | </listitem>
|
---|
| 979 | </varlistentry>
|
---|
| 980 |
|
---|
| 981 | <varlistentry id="libxdot">
|
---|
[5b38e37] | 982 | <term><filename class="libraryfile">libxdot.so</filename></term>
|
---|
[ac4b41a] | 983 | <listitem>
|
---|
| 984 | <para>
|
---|
[0d7900a] | 985 | provides support for parsing and deparsing graphical
|
---|
[ac4b41a] | 986 | operations specificed by the xdot language.
|
---|
| 987 | </para>
|
---|
| 988 | <indexterm zone="graphviz libxdot">
|
---|
| 989 | <primary sortas="c-libxdot">libxdot.so</primary>
|
---|
[6722219] | 990 | </indexterm>
|
---|
| 991 | </listitem>
|
---|
| 992 | </varlistentry>
|
---|
| 993 |
|
---|
| 994 | </variablelist>
|
---|
| 995 |
|
---|
| 996 | </sect2>
|
---|
| 997 |
|
---|
| 998 | </sect1>
|
---|