Difference between revisions of "Graphviz"

From CBLFS
Jump to navigationJump to search
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-{{Graphviz-Version}}.tar.gz
 
| http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-{{Graphviz-Version}}.tar.gz
Line 7: Line 7:
 
----
 
----
  
== Introduction to Graphviz ==
+
{{Package-Introduction|Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains.|http://www.graphviz.org/}}
  
The Graphviz package contains graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Graphviz has several main graph layout programs. It also has web and interactive graphical interfaces, auxiliary tools, libraries, and language bindings.
+
== Dependencies ==
 +
 
 +
=== Required ===
  
The Graphviz layout programs take descriptions of graphs in a simple text language, and creates diagrams in several useful formats such as images and SVG for web pages, Postscript for inclusion in PDF or other documents, or as objects displayed in an interactive graph browser. (Graphviz also supports GXL, an XML dialect.) In practice, graphs are usually generated from external data sources, but they can also be created and edited manually, either as raw text files or within a graphical editor. (Graphviz was not intended to be a Visio replacement, so it would probably be frustrating to try to use it that way.)
+
* [[Expat]]
  
This package is useful for automatic graph drawing which has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains. Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.
+
=== Recommended ===
  
== Dependencies ==
+
* [[Cairo]] (Required for [[Pango]])
 +
* [[FontConfig]] (Required for [[Pango]], optional for [[GD]])
 +
* [[FreeType]] (Required for [[Pango]], optional for [[GD]])
 +
* [[Glib2]] (Required for [[Pango]], optional for [[GD]])
 +
* [[libpng]] (Required for [[Cairo]], Optional for [[GD]])
 +
* [[Pango]]
  
 
=== Optional ===
 
=== Optional ===
 
* [[X Window System]]
 
* [[X Window System]]
 
* [[pkg-config]]
 
* [[pkg-config]]
* [[expat]]
 
* [[libpng]]
 
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[FreeType]]
 
* [[FreeType]]
Line 27: Line 32:
 
* [[TCL]]
 
* [[TCL]]
 
* [[Tk]]
 
* [[Tk]]
* [[Electric Fence]]
+
* [[DUMA]]
 +
* [[GD]]
  
 
=== Optional (Language Bindings) ===
 
=== Optional (Language Bindings) ===
Line 37: Line 43:
 
* [[Ruby]]
 
* [[Ruby]]
 
* [[TCL]]
 
* [[TCL]]
* [[DotGNU Portable.NET]] or [[Mono]]
+
* [[Mono]]
 
* [[io]]
 
* [[io]]
 
* [[Lua]]
 
* [[Lua]]
Line 94: Line 100:
  
 
  make install
 
  make install
 +
 +
== Contents ==
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/usr/share/graphviz, /usr/lib/graphviz, /usr/include/graphviz
 +
|-valign="top"
 +
!Installed Programs:
 +
|prune, dotty, lneato, lefty, gvpr, gc, gvcolor, gxl2dot, acyclic, nop, ccomps, sccmap, tred, unflatten, gvpack, dijkstra, bcomps, dot
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libgvc.{la,so}, libpathplan.{la,so}, libagraph.{la,so}, libgraph.{la,so}, libcdt.{la,so}, libgvc_builtins.{la,so}
 +
|}
 +
 +
[[Category:Programming]]

Latest revision as of 20:54, 11 April 2009

Download Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.26.3.tar.gz

Introduction to Graphviz

Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains.

Project Homepage: http://www.graphviz.org/

Dependencies

Required

Recommended

Optional

Optional (Language Bindings)

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --host=$CLFS_TARGET32 &&
make

Install the package

make install

N32

Compile the package:

sed -i -e "/PYTHON_LIBS=/s@/lib@&32@" \
       -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/PYTHON_LIBS=/s@/lib@&64@" \
       -e '/RUBY_LIBS="/s/".*"/"-lruby"/g' configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Directories: /usr/share/graphviz, /usr/lib/graphviz, /usr/include/graphviz
Installed Programs: prune, dotty, lneato, lefty, gvpr, gc, gvcolor, gxl2dot, acyclic, nop, ccomps, sccmap, tred, unflatten, gvpack, dijkstra, bcomps, dot
Installed Libraries: libgvc.{la,so}, libpathplan.{la,so}, libagraph.{la,so}, libgraph.{la,so}, libcdt.{la,so}, libgvc_builtins.{la,so}