Create Interactive Web MindMap with the JavaScript 'markmap' Library
markmap is an open-source JavaScript library to visualize markdown documents as a interactive mindmap. This R package makes it easy to create markmap from R.
You can install this package from Github:
if (!require('devtools')) install.packages('devtools')
devtools::install_github('seifer08ms/rmarkmap')
get started with a default theme:
library(markmap)
md <- system.file('examples/test.md',package = 'Rmarkdown')
markmap(md) # a markmap with the default theme
create a markmap with the colorful theme:
markmap(md,options = markmapOption(preset='colorful')) # a markmap with the colorful theme
# using d3.scale.category20b() and bracker linkShape
markmap(md,options = markmapOption(color='category20b',linkShape='bracket'))
# using d3.scale.category20b() basic rendered and diagonal linkShape
markmap(md,options = markmapOption(color='category20b',linkShape='diagonal',renderer = 'basic'))
This package is licensed to you under the terms of the GNU General Public License version 3 or later.