Difference between revisions of "Graphviz"

From CBLFS
Jump to navigationJump to search
(I filled in the package description.)
 
(6 intermediate revisions by 3 users not shown)
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/}}
  
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.
+
== Dependencies ==
 
 
Graphviz is open source graph visualization software. It has several main graph layout programs. See the [http://www.graphviz.org/Gallery.php gallery] for some sample layouts. It also has web and interactive graphical interfaces, and auxiliary tools, libraries, and language bindings.
 
 
 
The Graphviz layout programs take descriptions of graphs in a simple text language, and make diagrams in several useful formats such as images and SVG for web pages, Postscript for inclusion in PDF or other documents; or display in an interactive graph browser. (Graphviz also supports GXL, an XML dialect.)
 
  
Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.
+
=== Required ===
  
In practice, graphs are usually generated from an 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 is probably frustrating to try to use it that way.)
+
* [[Expat]]
  
'''Project Home Page''': http://www.graphviz.org/
+
=== 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 33: Line 32:
 
* [[TCL]]
 
* [[TCL]]
 
* [[Tk]]
 
* [[Tk]]
* [[Electric Fence]]
+
* [[DUMA]]
 +
* [[GD]]
  
 
=== Optional (Language Bindings) ===
 
=== Optional (Language Bindings) ===
Line 43: Line 43:
 
* [[Ruby]]
 
* [[Ruby]]
 
* [[TCL]]
 
* [[TCL]]
* [[DotGNU Portable.NET]] or [[Mono]]
+
* [[Mono]]
 
* [[io]]
 
* [[io]]
 
* [[Lua]]
 
* [[Lua]]
Line 100: 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}