textSGe: Label edges in a SpatialGraph plot

View source: R/textSGe.R

textSGeR Documentation

Label edges in a SpatialGraph plot

Description

A SpatialGraph contains a SpatialLinesDataFrame, describing the network topology. This function adds line IDs and direction arrows to an existing plot of a SpatialGraph.

Usage

textSGe(SG, acol='wheat', tcol='navyblue', arr.length=0.4)

Arguments

SG

SpatialGraph

acol

color of the graph direction arrows

tcol

color of the text for graph edge IDs

arr.length

length of the direction arrows

Value

Arrows and edge IDs added to a SpatialGraph plot


SpatialGraph documentation built on Sept. 28, 2023, 5:08 p.m.