Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seifer08ms/Rmarkmap
R Interface to markmap library
https://github.com/seifer08ms/Rmarkmap
d3 d3js htmlwidgets javascript markmap mindmap package r
Last synced: 13 days ago
JSON representation
R Interface to markmap library
- Host: GitHub
- URL: https://github.com/seifer08ms/Rmarkmap
- Owner: seifer08ms
- License: gpl-3.0
- Created: 2017-02-20T04:43:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T03:05:10.000Z (over 7 years ago)
- Last Synced: 2024-01-28T23:09:26.697Z (9 months ago)
- Topics: d3, d3js, htmlwidgets, javascript, markmap, mindmap, package, r
- Language: JavaScript
- Homepage:
- Size: 207 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shiny-extensions - Rmarkmap - Create interactive mind maps with the markmap JavaScript library. (Visualization / Tree and Hierarchical Data)
README
# R Interface to markmap library
Create Interactive Web MindMap with the JavaScript 'markmap' Library[markmap](https://github.com/dundalek/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:
```r
if (!require('devtools')) install.packages('devtools')
devtools::install_github('seifer08ms/rmarkmap')
```
## Usage### Built-in Theme
get started with a default theme:
```r
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:```r
markmap(md,options = markmapOption(preset='colorful')) # a markmap with the colorful theme
```### More Options about markmap
```r
# 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](http://www.gnu.org/licenses/gpl.html) version 3 or later.