graphviz.plot(x, highlight = NULL, layout = "dot",
shape = "circle", main = NULL, sub = NULL)
bn
or bn.fit
.dots
,
neato
, twopi
, circo
and fdp
. See
circle
or ellipse
.graphviz.plot
returns invisibly the graph
object
produced by
nodes
: a character vector, the labels
of the nodes to be highlighted.arcs
: the arcs to be highlighted (a
two-column matrix, whose columns are labeledfrom
andto
).and optionally one or more of the following formatting parameters:
col
: an integer or character string (the
highlight colour for the arcs and the node frames).
The default value isred
.textCol
: an integer or character string (the
highlight colour for the labels of the nodes). The
default value isblack
.fill
: an integer or character string (the
colour used as a background colour for the nodes).
The default value iswhite
.lwd
: a positive number (the line width of
highlighted arcs). It overrides the line width settings
instrength.plot
. The default value is to
use the global settings oflty
: the line type of highlighted arcs. Possible
values are 0, 1, 2, 3, 4, 5, 6, "blank", "solid", "dashed",
"dotted", "dotdash", "longdash" and "twodash". The default
value is to use the global settings ofplot.bn
.