grip: Graph Drawing with Intelligent Placement (GRIP)

Implements GRIP multiscale graph layout with a unified choice between hop-count and geometry-aware edge-length graph metrics in 2D and 3D. Provides layout scoring, candidate comparison, multiscale trace diagnostics, synthetic graph families, and advanced experimental geodesic-KK utilities for weighted-layout evaluation and polish. Based on Gajer and Kobourov (2002) <doi:10.7155/jgaa.00052> and Gajer, Goodrich and Kobourov (2004) <doi:10.1016/j.comgeo.2004.03.014>. Includes derived graph datasets from the SuiteSparse Matrix Collection, with source attribution and transformation metadata.

Version: 0.3.0
Depends: R (≥ 3.5.0)
Imports: Rcpp
LinkingTo: Rcpp
Suggests: bslib, DT, dgraphs (≥ 0.4.0), FNN, geometry, igraph, htmltools, htmlwidgets, httpuv, knitr, later, plotly, rmarkdown, rgl, shiny, smacof (≥ 2.1-7), testthat (≥ 3.0.0), withr
Enhances: ivue (≥ 0.1.0)
Published: 2026-11-08
DOI: 10.32614/CRAN.package.grip
Author: Pawel Gajer [aut, cre], Jonathan Zheng [ctb, cph] (Author and copyright holder of MIT-licensed s_gd2 code adapted for the metric-MDS SGD backend), Daniel Hangan [ctb] (Author of the SGD-MDS implementation in his scikit-learn fork adapted for the metric-MDS SGD backend), The scikit-learn developers [cph] (Copyright holders of BSD-3-Clause code adapted from Daniel Hangan's scikit-learn fork for the metric-MDS SGD backend)
Maintainer: Pawel Gajer <pgajer at gmail.com>
BugReports: https://github.com/pgajer/grip/issues
License: GPL (≥ 3)
Copyright: See inst/COPYRIGHTS for software and dataset attribution. Bundled SuiteSparse-derived graph data are distributed under CC BY 4.0; see inst/extdata/suitesparse/PROVENANCE.md.
grip copyright details
URL: https://pgajer.github.io/grip/, https://github.com/pgajer/grip
NeedsCompilation: yes
SystemRequirements: C++17
Materials: README, NEWS
CRAN checks: grip results

Documentation:

Reference manual: grip.html , grip.pdf
Vignettes: Embedding Fermat distances on a paraboloid, saddle and helix (source, R code)
Finding your way around grip (source, R code)
Graph gallery: multiscale GRIP (source, R code)
Graph gallery: SGD metric MDS (source, R code)
Graph gallery: further examples (source, R code)
Getting Started with grip (source, R code)
Choosing and evaluating a layout (source, R code)
Tracing and Diagnosing Layouts (source, R code)
Comparing graph layout engines (source, R code)
Interactive exploration with gripui (source, R code)
Higher-dimensional metric MDS for 3D visualization (source, R code)
A biological network: HMP/U01 (source, R code)
Animating metric MDS: paraboloid and saddle (source, R code)
Metric MDS: SGD, SMACOF, and stress weighting (source, R code)
Metric MDS: complete experiment (source, R code)
Sparse metric MDS: complete experiment (source, R code)
Sparse SGD for larger graphs (source, R code)
Graph gallery (source, R code)
Layouts with meaningful edge lengths (source, R code)

Downloads:

Package source: grip_0.3.0.tar.gz
Windows binaries: r-devel: grip_0.2.0.zip, r-release: grip_0.2.0.zip, r-oldrel: grip_0.2.0.zip
macOS binaries: r-release (arm64): grip_0.2.0.tgz, r-oldrel (arm64): grip_0.2.0.tgz, r-release (x86_64): grip_0.2.0.tgz, r-oldrel (x86_64): grip_0.2.0.tgz
Old sources: grip archive

Reverse dependencies:

Reverse suggests: dgraphs, geosmooth, ivue

Linking:

Please use the canonical form https://CRAN.R-project.org/package=grip to link to this page.