drawCFG | R Documentation |
getBlockGraph(x, cleanNames = cleanLoopNames, ...)
drawCFG(fun, blocks = getBlocks(fun), ids = names(blocks), x = 2, y = -seq(along = ids), text = ids, range = c(-1, 1))
fun |
the Function instance |
blocks |
the list of BasicBlocks of the Function |
ids |
the names of the BasicBlocks |
x |
the middle position of the canvas/figure |
y |
unused |
text |
the text to display for each block |
range |
a numeric vector of length 2 giving the extremes for the sub-blocks |
cleaNames |
a function to compute the name of of the
|
... |
additional arguments for methods, currently ignored |
a character vector containing the LaTeX code to display the blocks.
DTL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.