This function draws a node-and-edge graph representing the current grid scene.
gridTree(grobNodeAttrs=list(shape="circle", fillcolor="black",
fontcolor="white"),
vpNodeAttrs=list(shape="box", fillcolor="grey90",
fontcolor="black"),
grob2grobAttrs=list(color="black", lty="solid", lwd=1),
vp2vpAttrs=list(color="black", lty="solid", lwd=1),
grob2vpAttrs=list(color="black", lty="dotted", lwd=1),
vp2grobAttrs=list(color="grey", lty="solid", lwd=2),
split=TRUE, grid=TRUE,
grobs=TRUE, viewports=TRUE, draw=TRUE)
Named list of attribute settings for nodes representing grobs.
Named list of attribute settings for nodes representing viewports.
Named list of attribute settings for edges between two grobs.
Named list of attribute settings for edges between two viewports.
Named list of attribute settings for edges from a grob to a viewport.
Named list of attribute settings for edges from a viewport to a grob.
Logical indicating whether to break long node names across multiple lines.
Logical indicating whether to draw the graph using traditional graphics or grid.
Logical indicating whether to include nodes in the graph for grobs in the scene.
Logical indicating whether to include nodes in the graph for viewports in the scene.
Logical indicating whether to draw the graph.
Invisibly returns a graph object.
The attribute names must be valid graphviz attribute names.