grobNodeNameSize: Return the size of node when the name of the node is plotted.

Description Usage Arguments Details Value See Also

View source: R/grplot.R

Description

This returns size of the label. Specifically, the return width is number of characters in the label.

Usage

1
  grobNodeNameSize(node, parents, rawdata = NULL)

Arguments

node

An integer of length 1, indicating which node the dimensions should be computed for.

parents

An object of class "parental" containing the graph that is to be plotted

rawdata

The rawdata

Details

The height is the number of newlines.

Value

A list of length 2 containing two items: width: An integer vector of length 1. The width in characters. height: An integer vector of length 1. The height in lines.

See Also

grplot


rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.