Generate a LaTeX file containing TikZ code that renders a picture of a Bratteli graph.
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
)No return value; called to generate the LaTeX file.
path to the output file
a function returning for each integer n the incidence
matrix between levels n and n+1; the matrix Mn(0)
must have one and only one row
the level up to which the graph is wanted
"default", "letters", "order",
"kernels", NA, or a vectorized function with
four arguments: the level of the graph, the index of the "from" vertex,
the index of the "to" vertex, and the index of the edge among the
multiple edges, if there are multiple edges
"colnames" to use the column names of the
matrices, "dims" to use the dimensions of the vertices, NA,
or a function with one argument, the level of the graph, returning
for level n the vector of labels at the n-th level
an index of a path to be colored, or NA
a label for the root vertex of the graph
Boolean, whether to enclose all labels between dollars
scaling factors for the graph
curvature when there are multiple edges
Boolean, whether to render a horizontal graph
Boolean, whether to "reverse" the graph
Boolean, whether to draw the edges with endpoints at the bottom and the top of the vertex labels