ggraph adapts the Grammar of Graphics from ggplot2 for network and graph visualizations. It integrates with tidygraph/igraph data structures, providing a wide range of geoms, layouts (e.g. hive plots, circle packing), and layering methods tailored to hierarchical or relational data.

Features

  • Supports many layouts (igraph + custom hive, dendrogram, etc.)
  • Graph-specific geoms for nodes, edges, labels, and arcs
  • Compatible with tidygraph/igraph objects
  • Custom scales for edge weights, colors, and node size
  • Layer-by-layer construction parallel to ggplot2 grammar
  • Enables visualization of complex networks and hierarchies

Project Samples

Project Activity

See All Activity >