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