ggraph
2.2.2An Implementation of Grammar of Graphics for Graphs and Networks
Overview
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.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 92%
- Return-value docs
- 34%
- References docs
- 21%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/thomasp85/ggraph on 2026-07-19.
Show all practices
Dependencies
and 81 more packages.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 26 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
407 148 exported
Complexity
2 avg / 26 max
Call network
407 nodes / 487 edges
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| highschool | data.frame | 506 × 3 | – |
People & History
14 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.2.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.2.12024-03-07 · diff ↗
- 2.2.02024-02-27 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.1.02022-10-09 · diff ↗
- 2.0.62022-08-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.0.52021-02-23 · diff ↗
- 2.0.42020-11-16 · diff ↗
- 2.0.32020-05-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.0.22020-03-17 · diff ↗
Package metadata
- First published
- 2017-02-24
- Total releases
- 14 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 10.0 KB / 3 files
- Download size
- 3.4 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet