Learn R Programming

Rgraphviz (version 2.16.0)

graphData-methods: Get and set attributes of an Ragraph object

Description

Attributes of a graph can be accessed using graphData. The attributes could be defined using graphDataDefaults.

Usage

graphData(self, attr) graphData(self, attr) <- value

Arguments

self
A Ragraph-class instance
attr
A character vector of length one specifying the name of a graph attribute
value
A character vector to store as the attribute values