Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Graphviz is a staple in the visualization community. This section
introduces one possible approach for visualizing graphs of tweet data:
exporting them to the DOT language, a
simple text-based format that Graphviz consumes. Graphviz
binaries for all platforms can be downloaded from its official website, and the
installation is straightforward regardless of platform. Once Graphviz is
installed, *nix users should be able to easy_install pygraphviz per the norm to
satisfy the PyGraphviz dependency
NetworkX requires to emit DOT. Windows users will most likely experience
difficulties installing PyGraphviz,[9] but this turns out to be of little consequence since it’s
trivial to tailor a few lines of code to generate the DOT language
output that we need in this section.