thomasp85/ggraph
Grammar of Graph Graphics observed · 2026-08-28
Health v2 · maintenance only
41/100
- Activity 38
- Release rhythm 12
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3885
- days_rel: 373
- days_push: 373
- n_releases_24m: 1
Adoption not part of the score
1116 stars · 114 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ggraph is an R package that extends ggplot2's grammar of graphics to relational data such as networks, graphs, and trees. It adds the concept of layouts to the grammar and provides dedicated geom_node_*() and geom_edge_*() geoms so graph visualizations compose like any other ggplot2 plot.
Use cases
- visualize network graphs in R using ggplot2 syntax
- plot nodes and edges of an igraph or tidygraph graph
- draw trees, dendrograms, or hierarchical data as plots
- create treemaps, icicle plots, hive plots, or circle packing charts
- make faceted network visualizations grouped by node or edge attributes
- add statistical graph graphics to a tidyverse data-science workflow
When to choose
- You already use ggplot2 and the tidyverse and want network, graph, or tree plots in the same declarative style
- You need a wide choice of graph layouts (Kamada-Kawai, hive, treemap, circle packing, plus all igraph layouts) combined with layered geoms and facets
- You want publication-quality static graph figures with full control over nodes, edges, and theming
When to avoid
- You need interactive, browser-based network exploration rather than static graphics
- You are not working in R (the package is a ggplot2/tidygraph companion)
- You want a one-line plot function with no grammar-of-graphics learning curve
Facets
library · maturity stable
data-visualization charts data-visualization data-science cross-platform r ggplot2 ggplot2-extension tidygraph igraph network-graphs graph-layouts trees treemaps hive-plots circle-packing node-edge-geoms cran statistical-graphics
3 sources
- readme: https://github.com/thomasp85/ggraph · fetched 2026-08-28 · 128ee0eb2265
- homepage: https://ggraph.data-imaginist.com · fetched 2026-08-29 · af9b560f91c6
- site_page: https://ggraph.data-imaginist.com/authors.html · fetched 2026-08-29 · 4e7e59546a15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thomasp85/ggraph | main | 41 |
For agents
markdown · JSON · MCP: product_card(name="thomasp85/ggraph")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem