
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-mind-fork
Advanced tools
react-mind is a JavaScript library for building mind, not only in react, also in angular, any web framwork
npm install react-mind
We have several examples Here is the first one to get you started:


import { Minder } from 'react-mind';
var mind = {
"meta":{
"name":"demo",
"author":"792300489@qq.com",
"version":"0.2",
},
"format":"node_tree",
"data":{"id":"root","topic":"mind","children":[
{"id":"easy","topic":"Easy","direction":"left","expanded":false,"children":[
{"id":"easy1","topic":"Easy to show"},
{"id":"easy2","topic":"Easy to edit"},
{"id":"easy3","topic":"Easy to store"},
{"id":"easy4","topic":"Easy to embed","children":[
{"id":"easy41","topic":"Easy to show"},
{"id":"easy42","topic":"Easy to edit"},
{"id":"easy43","topic":"Easy to store"},
{"id":"open44","topic":"BSD License","children":[
{"id":"open441","topic":"on GitHub"},
{"id":"open442","topic":"BSD License"}
]},
{"id":"easy45","topic":"Easy to embed"}
]}
]},
{"id":"open","topic":"Open Source","direction":"right","children":[
{"id":"open1","topic":"on GitHub"},
{"id":"open2","topic":"BSD License","children":[
{"id":"open21","topic":"on GitHub"},
{"id":"open22","topic":"BSD License","children":[
{"id":"open221","topic":"on GitHub"},
{"id":"open222","topic":"BSD License"}
]}
]}
]},
{"id":"powerful","topic":"Powerful","direction":"right","expanded":false,"children":[
{"id":"powerful1","topic":"Base on Javascript"},
{"id":"powerful2","topic":"Base on HTML5"},
{"id":"powerful3","topic":"Depends on you","expanded":false,"children":[
{"id":"powerful31","topic":"Base on Javascript"},
{"id":"powerful32","topic":"Base on HTML5"},
{"id":"powerful33","topic":"Depends on you"}
]}
]},
{"id":"other","topic":"test node","direction":"left","children":[
{"id":"other1","topic":"I'm from ajax"},
{"id":"other2","topic":"I can do everything"}
]}
]}
};
var options = {
container:'mind_container',
editable:true,
theme:'primary'
}
var mind = Mind.show(options,mind);
format
node_tree代表是树形的结构node_array代表数组的结构;
expanded:判断是否展开
direction:判断该节点是在左侧还是右侧;
editable是否可以编辑,true为可以,false为不可以;
theme皮肤
mind.get_data()获取数据
mind.set_readonly()设置为只读
mind.add_node("sub2","sub23", "new node", {"background-color":"red"});增加节点
mind.set_node_color('sub21', 'green', '#ccc');设置节点颜色
type控制 --> 已经实现组织结构图,鱼骨图还未实现;React-mind is available as the react-mind package on npm.
this rope base on https://github.com/hizzgdev/jsmind @hizzgdev
React-mind is BSD licensed. We also provide an additional patent grant.
React-mind documentation is Creative Commons licensed.
Examples provided in this repository and in the documentation are separately licensed.
FAQs
web for react mind
We found that react-mind-fork demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.