RGraphSpace: Rendering Graphs as Coherent Spatial Objects in 'ggplot2'

An interface for rendering 'igraph' objects as 'ggplot2' graphics within a normalized coordinate space. 'RGraphSpace' implements new geometries that treat a graph as a single coherent object, synchronizing node and edge layers under standard aesthetic mappings. Node features are resolved on demand, supporting high-dimensional data without expanding node tables. Spatial alignment is available at the pixel level, with node coordinates anchored to pixel centers through a half-pixel offset, enabling precise node positioning over external reference frames such as images and maps. Core functionality builds on 'igraph', 'ggplot2', and 'tidygraph'; optional geometry and large raster-background images use 'sf' and 'terra' when installed.

Package details

AuthorFlávio Gabriel Carazza-Kessler [aut] (ORCID: <https://orcid.org/0000-0002-5309-8043>), Jonathan André Back [aut] (ORCID: <https://orcid.org/0009-0008-7338-1197>), Lana Bazan Peters Querne [aut] (ORCID: <https://orcid.org/0000-0001-9967-028X>), Victor Henrique Apolonio dos Santos [aut] (ORCID: <https://orcid.org/0000-0002-6394-5840>), Vinicius Chagas [ctb], Mauro Antônio Alves Castro [aut, cre] (ORCID: <https://orcid.org/0000-0003-4942-8131>)
MaintainerMauro Antônio Alves Castro <mauro.a.castro@gmail.com>
LicenseArtistic-2.0
Version1.5.7
URL https://github.com/sysbiolab/RGraphSpace  https://sysbiolab.github.io/RGraphSpace/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("RGraphSpace")

Try the RGraphSpace package in your browser

Any scripts or data that you put into this service are public.

RGraphSpace documentation built on Oct. 9, 2026, 9:07 a.m.