graphWidth: Get width/height of an 'Ragraph' object

Description Usage Arguments Value Author(s) References See Also Examples

Description

These functions will return the width or height of an Rgraphviz Ragraph object in inches.

Usage

1
2
graphWidth(graph)
graphHeight(graph)

Arguments

graph

a laidout Ragraph object

Value

A numeric vector of length 1.

Author(s)

Ashley Noel Hinton

References

graphviz

See Also

Ragraph

Examples

1
2
3
4
5
6
7
8
9
gnel <- new("graphNEL",
            nodes=letters[1:3],
            edgeL=list(a=list(edges=c("b", "c")),
                       b=list(),
                       c=list()),
            edgemode="directed")
rag <- agopenTrue(gnel, "")
graphWidth(rag)
graphHeight(rag)


Search within the gridGraphviz package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.