An Implementation of Grammar of Graphics for Graphs and Networks

The grammar of graphics as implemented in ggplot2 is a poor fit for graph and network visualizations due to its reliance on tabular data input. ggraph is an extension of the ggplot2 API tailored to graph visualizations and provides the same flexible approach to building up plots layer by layer.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.2 by Thomas Lin Pedersen, a year ago

Browse source code at

Authors: Thomas Lin Pedersen

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, dplyr, plyr, ggforce, grid, igraph, scales, MASS, digest, gtable, ggrepel, utils, stats, viridis

Depends on ggplot2

Suggests network, knitr, rmarkdown

Linking to Rcpp

Imported by MEGENA, bibliometrix, clustringr, enviGCMS, ggdag, phylopath, saotd, scholar, stminsights.

Depended on by clustree.

Suggested by EcoNetGen, XGR, drake, fivethirtyeight, graphlayouts, particles, rvinecopulib, visNetwork, widyr, wikisourcer.

See at CRAN