Graph visualization with Graphviz



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.)

Read full article as PDF:

Graphviz.pdf  (284.97 kB)

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.

  • 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.

  • Linkchecker 3.3

    Linkchecker grooms your site to uncover references to missing pages.

  • 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.

  • Perl: Google Chart Instructions

    A CPAN module passes drawing instructions in object-oriented Perl to Google Chart, which draws visually attractive diagrams.

comments powered by Disqus

Direct Download

Read full article as PDF:

Graphviz.pdf  (284.97 kB)