The network.layout.animate.Graphviz
layout provides an interface for calling the various layouts provided by the Graphviz library (https://www.graphviz.org) if it is installed on your system. Since Graphviz is not an R package, you must manually install it on your system to get it to work.
install.graphviz()
On some platforms this function will open a web browser pointing to the download page for Graphviz.
skyebend
This function doesn't actually install Graphviz, it just points to these docs which give a very brief overview of how to do it on each platform.
download the "current stable release" installer from https://graphviz.org/download/
run the installer
Edit your system path variable to include the path to the directory containing the graphviz .exe files.
It seems that there is no longer a .pkg for the mac, but it can be installed easily via homebrew
install the brew package manager from https://brew.sh/
from the Terminal, run brew install graphviz
Graphviz is a standard package on many linux distributions. You can check if it is installed with a command like dpkg -s graphivz
. If it is not installed, you should be able to install it with your system's package manager. i.e. sudo apt-get install graphviz
or search 'graphivz' in the Software Center on Ubuntu.
When Graphviz is installed correctly on any platform the R command Sys.which('neato')
should print out the path to the installed libraries.
John Ellson et.al (2001) "Graphviz -- open source graph drawing tools" Lecture Notes in Computer Science. Springer-Verlag. p483-484 https://www.graphviz.org
See network.layout.animate.Graphviz
for more details about how ndtv usees Graphviz.