Description Usage Arguments Details Functions See Also Examples
Options for markmap creation
1 2 3 4 | markmapOption(preset = NULL, nodeHeight = 20, nodeWidth = 180,
spacingVertical = 10, spacingHorizontal = 120, duration = 750,
layout = "tree", color = "gray", linkShape = "diagonal",
renderer = "boxed", ...)
|
preset |
the name of built-in theme for markmap. If present, any other parameters will be ignored. |
nodeHeight |
the height of nodes in the markmap. |
nodeWidth |
the width of nodes in the markmap. |
spacingVertical |
space of vertical. |
spacingHorizontal |
space of horizontal. |
duration |
duration time for animation. |
layout |
layout mode of makrmap. Currently, only 'tree' is accepted. |
color |
color of markmap. A character color value ,either 'gray' or a categorical colors including 'category10','category20','category20b' and 'category20c'. |
linkShape |
link shape of markmap. A character value, either 'diagonal' or 'bracket'. |
renderer |
rendered shaped of markmap. A character value ,either 'basic' or 'boxed'. |
... |
other options. |
Currently,markmap have 'default' and 'colorful' themes. 'colorful' themes have three different parameters from default themes: nodeHeight: 10, renderer: 'basic',color: 'category20'
markmapOption
: Options for markmap creation
https://github.com/dundalek/markmap/blob/master/view.mindmap.js for details.
1 2 3 4 5 6 7 | md<-system.file('examples/test.md',package = 'Rmarkmap')
markmap(md,options = markmapOption(preset = 'colorful')) # 'colorful' theme
# more options for self-defined markmap
markmap(md,options = markmapOption(color='category20b',linkShape='bracket'))
markmap(md,options = markmapOption(color='category20b',linkShape='diagonal',renderer = 'basic'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.