Graph visualization with Graphviz

DRAWING SET

Article from Issue 77/2007
Author(s):

Using drawing tools to manually create graphs and diagrams can be a slow and convoluted process. The Graphviz toolbox offers a faster way. Based on a short text with the information for the graph, Graphviz quickly generates a neat drawing.

Graphviz is a useful toolbox to have on hand if you need an automated approach to generating graphs (see the “Terminology” box). Computer users fumble through generating graphs, starting with E/ R diagrams for visualizing database schemas to hierarchicial tree structures that represent an organization’s shareholdings or a chain of command. Normally, the information is located in square boxes that must be positioned carefully, without overlap-
ping with other boxes, before drawing anyconnecting arrows. This is the kind of challenge in which Graphviz excels – users simply specify the relationships between the elements, and the tool automagically outputs an attractive drawing. Don’t look for a neat graphical editor in which you can specify the relations. Instead, Graphviz reads a textbased description of the graph in a special markup language. (LaTeX uses a similar approach, although the two systems have nothing in common apart from this.)

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Building a Munin Plugin

    Munin collects information and plots parameters of your choice automatically and with minimal configuration. But if you can't find a plugin that captures the data you want to graph, you might have to roll your own.

  • Linkchecker 3.3

    Linkchecker grooms your site to uncover references to missing pages.

  • Simple Groupware 0.500 with Offline Mode and Diagrams

    The web based groupware solution Simple Groupware is now available in version 0.500. New in this version is a module for rendering diagrams with another module implemented to allow offline viewing of folders and attachments.

  • Perl: Neo4j

    The Neo4j graph database is much better suited than relational databases for storing and quickly querying nodes and their mutual relationships. If your circle of friends is not wide enough to warrant a graph-based application, you might just want to inventory your LAN.

  • Perl: CPAN Additions

    Many people have declared the granddaddy of scripting, Perl, to be dead. A look at new items in the CPAN software repository, however, shows that the community is still quite active.

comments powered by Disqus

Direct Download

Read full article as PDF:

Graphviz.pdf  (284.97 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia