GithubHelp home page GithubHelp logo

timelyportfolio / shinytree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shinytree/shinytree

2.0 3.0 0.0 804 KB

Shiny integration with the jsTree library

License: MIT License

R 23.43% CSS 70.02% JavaScript 6.55%

shinytree's Introduction

shinyTree

The shinyTree package enables Shiny application developers to use the jsTree library in their applications.

shiny tree screenshot

Installation

You can install the latest development version of the code using the devtools R package.

# Install devtools, if you haven't already.
install.packages("devtools")

library(devtools)
install_github("schaffman5/shinyTree")

Getting Started

01-simple (Live Demo)

library(shiny)
runApp(system.file("examples/01-simple", package="shinyTree"))

A simple example to demonstrate the usage of the shinyTree package.

02-attributes (Live Demo)

library(shiny)
runApp(system.file("examples/02-attributes", package="shinyTree"))

Manage properties of your tree by adding attributes to your list when rendering.

03-checkbox (Live Demo)

library(shiny)
runApp(system.file("examples/03-checkbox", package="shinyTree"))

Use checkboxes to allow users to more easily manage which nodes are selected.

04-selected (Live Demo)

library(shiny)
runApp(system.file("examples/04-selected", package="shinyTree"))

An example demonstrating how to set an input to the value of the currently selected node in the tree.

05-structure (Live Demo)

library(shiny)
runApp(system.file("examples/05-structure", package="shinyTree"))

Demonstrates the low-level usage of a shinyTree as an input in which all attributes describing the state of the tree can be read.

06-search (Live Demo)

library(shiny)
runApp(system.file("examples/06-search", package="shinyTree"))

An example showing the use of the search plugin to allow users to more easily navigate the nodes in your tree.

07-drag-and-drop (Live Demo)

library(shiny)
runApp(system.file("examples/07-drag-and-drop", package="shinyTree"))

An example demonstrating the use of the drag-and-drop feature which allows the user to reorder the nodes in the tree.

08-class (Live Demo)

library(shiny)
runApp(system.file("examples/08-class", package="shinyTree"))

An example demonstrating the use of the ability to style nodes using custom classes.

09-themes

library(shiny)
runApp(system.file("examples/09-themes", package="shinyTree"))

An example demonstrating the use of built-in tree themes.

10-node-ids

library(shiny)
runApp(system.file("examples/10-node-ids", package="shinyTree"))

An example demonstrating the ability to label and return node identifiers and classes.

11-tree-update

library(shiny)
runApp(system.file("examples/11-tree-update", package="shinyTree"))

An example demonstrating the ability to update a tree with a new tree model. This was broken in the original version as the tree was destroyed upon initialization.

Known Bugs

See the Issues page for information on outstanding issues.

License

The development of this project was generously sponsored by the Institut de Radioprotection et de Sûreté Nucléaire and performed by Jeff Allen. The code is licensed under The MIT License (MIT).

Copyright (c) 2014 Institut de Radioprotection et de Sûreté Nucléaire

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

shinytree's People

Contributors

schaffman5 avatar timelyportfolio avatar trestletech avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.