Description Usage Arguments Details Author(s) See Also Examples
The getDefaultAttrs
function can be used to generate a default
global attribute list for Graphviz. The checkAttrs
function
can be used to verify that such a list is valid for use.
1 2 | getDefaultAttrs(curAttrs = list(), layoutType = "dot")
checkAttrs(attrs)
|
curAttrs |
Any attributes currently defined |
layoutType |
The layout method being used. Defaults to dot, and
see |
attrs |
An attribute list of graphviz attributes |
The getDefaultAttrs
function generates a four element list
(elements being “graph”, “cluster”, “node” and
“edge”). Contained in each is another list where the element
names correspond to attributes and the value is the value for that
attribute. This list can be used to set global attributes in
Graphviz, and the exact list returned by getDefaultAttrs
represents the values that are used as basic defaults.
The checkAttrs
function can be used to verify that a global
attribute list is properly formed.
Jeff Gentry
1 2 | z <- getDefaultAttrs()
checkAttrs(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.