Learn R Programming

RGraphSpace (version 1.5.2)

A Lightweight Interface Between 'igraph' and 'ggplot2' Graphics

Description

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.

Copy Link

Version

Install

install.packages('RGraphSpace')

Monthly Downloads

443

Version

1.5.2

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Mauro Castro

Last Published

August 24th, 2026

Functions in RGraphSpace (1.5.2)

as_colorraster

Map numeric values to a color raster
gs_image_toy

Toy 'GraphSpace' object
gs_subset

Filter nodes and edges in a GraphSpace object
inject_nodespace

Dynamic Scale Injection for Edge Clipping
gtoys

Toy 'igraph' objects
gs_features-utils

Manipulate node features in a GraphSpace object
gs_add_nodes

Add nodes to a GraphSpace object
ggplot-GraphSpace

Using ggplot2 with GraphSpace objects
updateGraphSpace,GraphSpace-method

Update a GraphSpace object
theme_gspace

RGraphSpace ggplot2 themes
gs_add_edges

Add edges to a GraphSpace object
summary,GraphSpace-method

Summarise a GraphSpace object
sfshape_star

Build star polygons
normalizeGraphSpace,GraphSpace-method

Normalize node coordinates to graph and image spaces
plot.GraphSpace

Plot GraphSpace objects
sfshape_ngon

Build regular polygons
plotGraphSpace,GraphSpace-method

Wrapper function to plot GraphSpace objects in ggplot2
GeomEdgeSpace

GeomEdgeSpace: a ggplot2 prototype for GraphSpace-class methods
GraphSpace-internal

Internal methods for GraphSpace
GeomNodeSpace

GeomNodeSpace: a ggplot2 prototype for GraphSpace-class methods
StatEdgeSpace

Attribute Processing for GeomEdgeSpace
GraphSpace-class

GraphSpace: An S4 class for igraph objects
GraphSpace-accessors

Accessors and attribute utilities for GraphSpace objects
cropGraphSpace,GraphSpace-method

Crop, rotate, flip, and transpose a GraphSpace
GraphSpace-subscript

Subscript operators for GraphSpace objects
GraphSpace,ANY-method

Create a GraphSpace object
as.GraphSpace

Convert objects to GraphSpace
getGraphSpace,GraphSpace-method

Accessors for fetching slots from a GraphSpace object
geom_edgespace

Draw edge elements in a 2D graph layout
geom_graphspace

Convenience wrapper for node and edge geoms
annotation_gspace_image

Annotate a GraphSpace Plot with an Image
geom_nodespace

Draw node elements in a 2D graph layout
normalizeGeometry,GraphSpace-method

Normalize or fit node geometry
StatNodeSpace

Attribute Processing for GeomNodeSpace
RGraphSpace-package

RGraphSpace: A Lightweight Interface Between 'igraph' and 'ggplot2' Graphics
.generate_gs_uuid

Generate a unique identifier for GraphSpace objects