Learn R Programming

SpatialGraph (version 1.0-4)

textSGe: 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)

Value

Arrows and edge IDs added to a SpatialGraph plot

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