Geoms to plot networks with ggplot2
Switch branches/tags
Nothing to show
Clone or download
Latest commit c1b1bae Dec 26, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Updated imports to include ggplot2::Stat to address issue #14 Dec 25, 2016
inst/doc canonical URLs Mar 24, 2016
man Updated imports to include ggplot2::Stat to address issue #14 Dec 25, 2016
tests 98.77% test coverage Mar 23, 2016
vignettes canonical URLs Mar 24, 2016
.travis.yml .travis.yml Dec 26, 2016
DESCRIPTION Package utils in Imports Jun 22, 2016
NAMESPACE version 0.5 - CRAN review 1 Mar 24, 2016 NEWS Dec 26, 2016 add @trinker to thanks Dec 26, 2016

This package allows to pass network objects to ggplot2, along with several geometries to plot their elements.

Install from CRAN, or from GitHub with devtools:

# stable

# dev

IMPORTANT: the ggnetwork package depends on ggplot2 version 2.0.0 or above.

The package vignette contains detailed examples of how to use its fortify method and each of its geometries.

For further examples that use ggnetwork with other packages to produce animated graphs, see James Curley's slides on “Interactive and Dynamic Network Visualization in R.”

Comments and suggestions are very welcome: please file them as issues.

See also the geomnet, ggnet and ggraph packages for related work.

Thanks to Michał Bojanowski, Heike Hofmann, Pedro Jordano, Moritz Marbach, Tyler Rinker, Bertrand Sudre, Samantha C. Tyner, and two anonymous R Journal reviewers.