Visualizing Graphs

To render these DOT files, we can use either the Graphviz tools or a generic drawing package such as OmniGraffle for the Mac or the GraphVizio plugin for Visio on Windows. Let’s look at rendering with Graphviz and also with OmniGraffle.

Rendering with Graphviz

Graphviz[12] is an open-source graph visualization software developed by AT&T Labs which is distributed with various layout programs. If you don’t already have this installed, you can get a copy from the Graphviz download page.[13]

Graphviz ships with a number of tools for rendering DOT files. Typically, these are installed into /usr/local/bin on a Unix platform, but you need to check your own system for details of where they are located.

Now we can call the appropriate ...

Get Exploring Graphs with Elixir now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.