Skip to content

seifer08ms/Rmarkmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R Interface to markmap library

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.

Installation

You can install this package from Github:

if (!require('devtools')) install.packages('devtools')
devtools::install_github('seifer08ms/rmarkmap')

Usage

Built-in Theme

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

More Options about markmap

# 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'))

License

This package is licensed to you under the terms of the GNU General Public License version 3 or later.