bratteliGraph {bratteli} | R Documentation |
LaTeX code drawing a Bratteli graph
Description
Generate a LaTeX file containing TikZ code that renders a picture of a Bratteli graph.
Usage
bratteliGraph(
outfile,
Mn,
N,
edgelabels = NA,
vertexlabels = "colnames",
colorpath = NA,
rootlabel = "\\varnothing",
latex = TRUE,
xscale = 50,
yscale = 50,
bending = 1,
hor = FALSE,
mirror = FALSE,
northsouth = FALSE
)
Arguments
outfile |
path to the output file |
Mn |
a function returning for each integer |
N |
the level up to which the graph is wanted |
edgelabels |
|
vertexlabels |
|
colorpath |
an index of a path to be colored, or |
rootlabel |
a label for the root vertex of the graph |
latex |
Boolean, whether to enclose all labels between dollars |
xscale , yscale |
scaling factors for the graph |
bending |
curvature when there are multiple edges |
hor |
Boolean, whether to render a horizontal graph |
mirror |
Boolean, whether to "reverse" the graph |
northsouth |
Boolean, whether to draw the edges with endpoints at the bottom and the top of the vertex labels |
Value
No return value; called to generate the LaTeX file.