DE.graphviz: Outputs a RAM model as a graphic

Description Usage Arguments Author(s) Examples

Description

Outputs a pdf graphic of the model using graphviz

Usage

1
2
3
4
5
  DE.graphviz(model, file = "deleteme",
    dotFilename = "graphic", rank.direction = "LR",
    max.rank = NULL, min.rank = NULL, same.rank = NULL,
    delete.dot = FALSE, silent = TRUE, label = "",
    node.labels = TRUE)

Arguments

model

The RAM model to be imaged.

file

location where the pdf file is to be stored

dotFilename

not used.

rank.direction

a string of the form, either "LR", or "TB", indicating Left to right or top to bottom

max.rank

a string of the form "V1, V2, V3", where variables 1-3 are either at the most-right of the page or top-most (depending on whether rank.direction = LR or TB)

min.rank

same as above but will be in most-left or bottom-most

same.rank

what variables should be lined up. Uses same format as max.rank and min.rank.

delete.dot

logical. Indicates whether the dot files should be deleted (and thus only return pdf files)

silent

Should R output information from system commands?

label

The label attached to the graphviz diagram. It will be displayed at the bottom of the image.

node.labels

Should the nodes be labeled?

Author(s)

Dustin Fife

Examples

1
2
3
4
5
# generate random model
rand.model = DE(LETTERS[1:5], paths=6)
# output to graphic
DE.graphviz(rand.model, min.rank="A, B, C")
# now go look at the root directory for the pdf graphic

dustinfife/DE documentation built on May 15, 2019, 6:03 p.m.