ggraph: 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.

Version: 2.2.1
Depends: R (≥ 2.10), ggplot2 (≥ 3.5.0)
Imports: dplyr, ggforce (≥ 0.3.1), grid, igraph (≥ 1.0.0), scales, MASS, ggrepel, utils, stats, viridis, rlang, tidygraph, graphlayouts (≥ 1.1.0), withr, cli, vctrs, lifecycle, memoise
LinkingTo: cpp11
Suggests: network, knitr, rmarkdown, purrr, tibble, seriation, deldir, gganimate, covr, sf, sfnetworks
Published: 2024-03-07
DOI: 10.32614/CRAN.package.ggraph
Author: Thomas Lin Pedersen ORCID iD [cre, aut], RStudio [cph]
Maintainer: Thomas Lin Pedersen <thomasp85 at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: ggraph results


Reference manual: ggraph.pdf
Vignettes: Edges
tidygraph and ggraph


Package source: ggraph_2.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggraph_2.2.1.tgz, r-oldrel (arm64): ggraph_2.2.1.tgz, r-release (x86_64): ggraph_2.2.1.tgz, r-oldrel (x86_64): ggraph_2.2.1.tgz
Old sources: ggraph archive

Reverse dependencies:

Reverse depends: clustree, ggkegg, GOxploreR, miaViz
Reverse imports: akc, apisensr, arulesViz, bartMan, basket, CBNplot, CCPlotR, ceRNAnetsim, chemodiv, CIARA, CIMICE, CiteFuse, CKMRpop, clevRvis, clustringr, corrViz, dce, dyngen, enrichplot, epiCo, epiregulon.extra, finnsurveytext, fobitools, foodingraph, genBaRcode, genekitr, ggdag, goat, HospitalNetwork, HTT, imcRtools, immunarch, inferCSN, LabApplStat, manynet, MEGENA, miloR, mnda, motifr, mulea, multinma, mverse, NAIR, netcom, NetFACS, netropy, numbat, pareg, pathfindR, pathlinkR, pGRN, phylepic, phylopath, PLEXI, ReactomePA, refdb, saotd, scClassify, scholar, scRepertoire, scTreeViz, snahelper, spacejamr, specr, sSNAPPY, stminsights, TOP, vissE, vivainsights, whomds, wpa
Reverse suggests: amt, atrrr, cito, clustNet, CohortCharacteristics, correlation, crosstalkr, cspp, debkeepr, deepdep, drake, dsem, ecoCopula, EcoNetGen, economiccomplexity, ecpc, eHDPrep, fairadapt, ggokabeito, ghypernet, goldfish, graphlayouts, greed, industRial, isotracer, khroma, malan, MetaNet, multifear, netplot, OmnipathR, PaRe, particles, pcutils, POMA, purgeR, ReporterScore, rSDI, rsetse, rvinecopulib, see, sfcr, signnet, spreadr, svines, TextMiningGUI, textplot, tgver, tidySEM, visNetwork, widyr


Please use the canonical form to link to this page.