New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mr-tree

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mr-tree

Geneology

latest
npmnpm
Version
1.7.0
Version published
Maintainers
1
Created
Source

Geneology Chart

Installation

npm install mr-tree

Usage

import Tree from mr-tree function App() { return (<Tree config={config}/> }

Config Structure

const config = { data:chartData[0], //Data for plotting Tree

legend : [{ 'icon': '#0000FF', 'name': 'Material' }, { 'icon': '#ff0000', 'name': 'Process Order ' }], //Legends of The Tree

contextmenu: [{ Text: 'HOME', Url: 'http://www.google.com', },

{ Text: 'Google Link', Url: 'http://www.google.com',

}, { Text: 'Google Link', Url: 'http://www.google.com', }, { Text: 'Yahoo!!', Url: 'http://www.google.com', } ], //Context Menu Right Click

zoom: true, //zoom

chartType: 'backward', //chartType

handleChartClick:this.handleChartClick, // on click of the node

selectedHeader:selectedHeader, // Header value

getBackwardData:getBackwardData, // for backward data

getForwardData:getForwardData, //for forward data

showTreePlot:showTreePlot, //Tree to be shown or not

nodeId:nodeId, // Id of the node

loader: false // loader }

FAQs

Package last updated on 04 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts