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