Package: grip 0.2.0.9001

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.

Authors:Pawel Gajer [aut, cre], Jonathan Zheng [ctb, cph], Daniel Hangan [ctb], The scikit-learn developers [cph]

grip_0.2.0.9001.tar.gz
grip_0.2.0.9001.zip(r-4.7-x86_64)grip_0.2.0.9001.zip(r-4.7-arm64)grip_0.2.0.9001.zip(r-4.6-x86_64)grip_0.2.0.9001.zip(r-4.6-arm64)grip_0.2.0.9001.zip(r-4.5-x86_64)
grip_0.2.0.9001.tgz(r-4.6-x86_64)grip_0.2.0.9001.tgz(r-4.6-arm64)grip_0.2.0.9001.tgz(r-4.5-x86_64)grip_0.2.0.9001.tgz(r-4.5-arm64)
grip_0.2.0.9001.tar.gz(r-4.7-arm64)grip_0.2.0.9001.tar.gz(r-4.7-x86_64)grip_0.2.0.9001.tar.gz(r-4.6-arm64)grip_0.2.0.9001.tar.gz(r-4.6-x86_64)
grip_0.2.0.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
grip/json (API)

# Install 'grip' in R:
install.packages('grip', repos = c('https://pgajer.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pgajer/grip/issues

Pkgdown/docs site:https://pgajer.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.95 score 420 downloads 108 exports 1 dependencies

Last updated from:5de12956d1. Checks:2 WARNING, 12 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING276
linux-devel-x86_64WARNING269
source / vignettesERROR448
linux-release-arm64ERROR274
linux-release-x86_64ERROR281
macos-release-arm64ERROR428
macos-release-x86_64ERROR599
macos-oldrel-arm64ERROR266
macos-oldrel-x86_64ERROR412
windows-devel-arm64ERROR375
windows-devel-x86_64ERROR907
windows-release-arm64ERROR426
windows-release-x86_64ERROR687
windows-oldrel-x86_64ERROR533
wasm-releaseOK186

Exports:build.misfbuild.weighted.misfclassical.mdscompare.layoutscube.asymmetric.cavities.surface.graphcube.channel.network.surface.graphcube.periodic.tunnels.surface.graphcylinder.surface.graphedge.kkedge.length.density.stiffnessedge.repulsive.stageedge.repulsive.stateedges.cubeedges.cycleedges.cylinderedges.kary.treeedges.meshedges.pathedges.sierpinski.carpetedges.sierpinski.tetrahedronedges.sierpinski.triangleedges.torusestimate.preparationgeodesic.kkgeometry.diagnosticsglobalrep.gripglobalrep.weighted.gripgraph.riemannian.star.structuregripgripui.appgripui.family.appgripui.graph.family.cataloggripui.projectgripui.project.from.comparegripui.project.from.dirgripui.validate.projectirregular.annulus.surface.graphirregular.ball.solid.graphirregular.double.torus.surface.graphirregular.pair.of.pants.surface.graphirregular.rectangle.surface.graphirregular.shell.solid.graphirregular.sphere.surface.graphirregular.torus.surface.graphkary.tree.weighted.graphkeep.asymmetric.notcheskeep.periodic.holeskeep.slit.channelskeep.staggered.windowskernel.gram.gkklandmark.geodesic.kklayout.coordslegacy.gripmask.asymmetric.holesmask.bordermask.cornermask.crossmask.cube.asymmetric.cavitiesmask.cube.channel.networkmask.cube.periodic.tunnelsmask.tetrahedron.classicmask.tetrahedron.corner.missingmask.triangle.bridgemask.triangle.classicmenger.sponge.surface.graphmesh.surface.graphmetric.mdsmisf.geodesic.kkoccupied.mesh.surface.graphparams.from.summaryplot.layoutprepare.edge.kkprepare.geodesic.kkprepare.graph.geodesic.mdsprepare.landmark.geodesic.kkprepare.misf.geodesic.kkproject.3drecursive.cube.mask.surface.graphrecursive.mask.grid.surface.graphrecursive.tetrahedron.mask.surface.graphrecursive.triangle.mask.surface.graphrepulsive.stagerepulsive.staterun.gripuirun.gripui.familysampled.rectangle.surface.graphsampled.rectangle.surface.graphsscore.coordinatesscore.geodesic.kkscore.gmdsscore.landmark.geodesic.kkscore.layoutscore.misf.geodesic.kkscore.surfacesierpinski.carpet.surface.graphsierpinski.tetrahedron.surface.graphsierpinski.triangle.surface.graphsphere.surface.graphsuitesparse.graphsuitesparse.graphstorus.surface.graphtrace.griptrace.legacy.griptriangulated.annulus.surface.graphtriangulated.pair.of.pants.surface.graphtriangulated.polyhedron.surface.graphvicsek.surface.graphweighted.grip.nd

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
grip: Graph dRawing with Intelligent Placementgrip-package
Build a maximal independent set filtration (MISF) for a graphbuild.misf
Build a weighted MISF hierarchybuild.weighted.misf
Classical-MDS baseline layout for GMDS experimentsclassical.mds
Compare multiple layout candidates across seedscompare.layouts
Cube mask pattern helpers for recursive porous familiescube_mask_pattern_helpers mask.cube.asymmetric.cavities mask.cube.channel.network mask.cube.periodic.tunnels
Weighted cylinder surface helperscylinder.surface.graph cylinder_surface_helpers
Optimize an edge-KK local repair layoutedge.kk
Construct edge-length stiffnesses for edge-isometric GMDS layoutsedge.length.density.stiffness
Optimize one edge-isometric repulsive unfolding stageedge.repulsive.stage
Evaluate an edge-isometric repulsive unfolding objectiveedge.repulsive.state
Estimate preparation storage before allocating graph distancesestimate.preparation
Optimize a layout under the full geodesic KK energygeodesic.kk
Geometry-aware diagnostics against a canonical targetgeometry.diagnostics
Compute a GRIP layout with coarse global repulsionglobalrep.grip
Compute a weighted geometry-aware GRIP layoutglobalrep.weighted.grip
Sample graph generatorsedges.cube edges.cycle edges.cylinder edges.kary.tree edges.mesh edges.path edges.sierpinski.carpet edges.sierpinski.tetrahedron edges.sierpinski.triangle edges.torus graph_generators
Build a local Riemannian star structure for Gram-gKK layoutsgraph.riemannian.star.structure
Compute a GRIP layoutgrip
Migrate code to the grip 0.2 APIgrip-0.2-migration grip.build.misf grip.build.misf.weighted grip.compare.layouts grip.edge.length.density.stiffness grip.edge.repulsive.state grip.geometry.diagnostics grip.gmds.layout.result grip.layout grip.layout.globalrep grip.layout.globalrep.weighted grip.layout.legacy grip.layout.trace grip.layout.trace.legacy grip.layout.trace.weighted grip.layout.weighted grip.layout.weighted.nd grip.metric.mds.layout grip.optimize.edge.gkk.layout grip.optimize.edge.isometric.layout grip.optimize.edge.kk.layout grip.optimize.edge.repulsive.stage grip.optimize.geodesic.kk grip.optimize.kernel.gram.gkk.layout grip.optimize.landmark.geodesic.kk grip.optimize.misf.geodesic.kk grip.optimize.repulsive.stage grip.params.from.summary grip.plot grip.prepare.edge.kk grip.prepare.geodesic.kk grip.prepare.graph.geodesic.mds grip.prepare.landmark.geodesic.kk grip.prepare.misf.geodesic.kk grip.project.3d grip.repulsive.state grip.score.geodesic.kk grip.score.gmds.layout grip.score.landmark.geodesic.kk grip.score.layout grip.score.misf.geodesic.kk
Migrating classical and metric stress MDS workflowsgrip-mds-migration
Build the 'gripui' Shiny applicationgripui.app
Build the graph-family geometry explorer Shiny applicationgripui.family.app
Catalog of graph families for the geometry explorer appgripui.graph.family.catalog
Create a normalized 'gripui' project objectgripui.project
Convert 'compare.layouts()' output into a 'gripui_project'gripui.project.from.compare
Create a 'gripui_project' from a directory of saved artifactsgripui.project.from.dir
Validate a 'gripui_project'gripui.validate.project
HMP Illumina 16S Giant-Component Graphhmp.gc
HMP/U01 Coarsened Giant-Component Graphhmp.u01.gc.coarse
Weighted irregular annulus surface helpersirregular.annulus.surface.graph irregular_annulus_surface_helpers
Weighted irregular ball solid helpersirregular.ball.solid.graph irregular_ball_solid_helpers
Weighted irregular double-torus surface helpersirregular.double.torus.surface.graph irregular_double_torus_surface_helpers
Weighted irregular pair-of-pants surface helpersirregular.pair.of.pants.surface.graph irregular_pair_of_pants_surface_helpers
Irregular rectangle surface helpersirregular.rectangle.surface.graph irregular_rectangle_surface_helpers
Weighted irregular shell solid helpersirregular.shell.solid.graph irregular_shell_solid_helpers
Weighted irregular sphere surface helpersirregular.sphere.surface.graph irregular_sphere_surface_helpers
Weighted irregular torus surface helpersirregular.torus.surface.graph irregular_torus_surface_helpers
Intrinsically weighted k-ary tree helperskary.tree.weighted.graph kary_tree_weighted_graph_helpers
Optimize a kernel Gram-gKK layoutkernel.gram.gkk
Optimize a layout under the landmark geodesic KK energylandmark.geodesic.kk
Extract coordinates from a layout resultlayout.coords
Compute the legacy GRIP layoutlegacy.grip
Mask pattern helpers for recursive grid familiesmask.asymmetric.holes mask.border mask.corner mask.cross mask_pattern_helpers
Weighted Menger sponge surface helpersmenger.sponge.surface.graph menger_sponge_surface_helpers
Weighted mesh surface helpersmesh.surface.graph mesh_surface_helpers
Metric stress MDS using stochastic gradient descent or SMACOFmetric.mds
Optimize an embedding with the MISF-based geodesic-KK pipelinemisf.geodesic.kk
Occupied-mesh and perforated-grid helpersoccupied.mesh.surface.graph occupied_mesh_surface_helpers
Extract layout parameters from a comparison summary rowparams.from.summary
Deterministic perforated-grid occupancy helperskeep.asymmetric.notches keep.periodic.holes keep.slit.channels keep.staggered.windows perforated_grid_helpers
Quick plot for graph layoutsplot.layout
Weighted porous cube-mask surface helperscube.asymmetric.cavities.surface.graph cube.channel.network.surface.graph cube.periodic.tunnels.surface.graph porous_cube_surface_helpers
Prepare an edge-only graph for edge-KK repairprepare.edge.kk
Prepare full geodesic KK data for repeated layout evaluationprepare.geodesic.kk
Prepare a graph-first geodesic-MDS path cacheprepare.graph.geodesic.mds
Prepare sparse landmark-geodesic KK data for repeated layout evaluationprepare.landmark.geodesic.kk
Prepare a MISF-based multiscale geodesic-KK objectprepare.misf.geodesic.kk
Print a geodesic-MDS layout summaryprint.grip_gmds_layout
Print a multiscale hierarchy summaryprint.grip_misf
Project 3D coordinates to 2D for static plottingproject.3d
Weighted recursive cube-mask surface helpersrecursive.cube.mask.surface.graph recursive_cube_mask_surface_helpers
Weighted recursive mask-grid surface helpersrecursive.mask.grid.surface.graph recursive_mask_grid_surface_helpers
Weighted recursive tetrahedron-mask surface helpersrecursive.tetrahedron.mask.surface.graph recursive_tetrahedron_mask_surface_helpers
Weighted recursive triangle-mask surface helpersrecursive.triangle.mask.surface.graph recursive_triangle_mask_surface_helpers
Optimize one pure repulsive layout stagerepulsive.stage
Evaluate a pure repulsive layout objectiverepulsive.state
Run the 'gripui' Shiny applicationrun.gripui
Run the graph-family geometry explorer Shiny applicationrun.gripui.family
Sampled rectangle surface helperssampled.rectangle.surface.graph sampled.rectangle.surface.graphs sampled_rectangle_surface_helpers
Score coordinates against corresponding reference observationsscore.coordinates
Score a layout under the full geodesic KK energyscore.geodesic.kk
Score a layout with the common GMDS diagnostic panelscore.gmds
Score a layout under the landmark geodesic KK energyscore.landmark.geodesic.kk
Score a single layout using graph-aware quality heuristicsscore.layout
Score a MISF-based geodesic-KK fitscore.misf.geodesic.kk
Estimate symmetric area-weighted distance between triangular surfacesscore.surface
Weighted Sierpinski carpet surface helperssierpinski.carpet.surface.graph sierpinski_carpet_surface_helpers
Weighted Sierpinski tetrahedron surface helperssierpinski.tetrahedron.surface.graph sierpinski_tetrahedron_surface_helpers
Weighted Sierpinski triangle surface helperssierpinski.triangle.surface.graph sierpinski_triangle_surface_helpers
Weighted sphere surface helperssphere.surface.graph sphere_surface_helpers
Bundled SuiteSparse Graphssuitesparse.graph suitesparse.graphs
Tetrahedron mask helpers for recursive gasket familiesmask.tetrahedron.classic mask.tetrahedron.corner.missing tetrahedron_mask_helpers
Weighted torus surface helperstorus.surface.graph torus_surface_helpers
Trace a GRIP layouttrace.grip
Compute a trace for the legacy GRIP layouttrace.legacy.grip
Triangle mask helpers for recursive gasket familiesmask.triangle.bridge mask.triangle.classic triangle_mask_helpers
Weighted triangulated annulus surface helperstriangulated.annulus.surface.graph triangulated_annulus_surface_helpers
Weighted triangulated pair-of-pants surface helperstriangulated.pair.of.pants.surface.graph triangulated_pair_of_pants_surface_helpers
Weighted triangulated polyhedron surface helperstriangulated.polyhedron.surface.graph triangulated_polyhedron_surface_helpers
Weighted Vicsek surface helpersvicsek.surface.graph vicsek_surface_helpers
Weighted GRIP layout in arbitrary dimensionsweighted.grip.nd