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