awehook / blink-mind

Fully customizable mindmap framework for react.js. 支持插件的,可被完全定制的思维导图库,基于react.js和immutable.js。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIT Slack Widget

A fully customizable mind map framework based on plugin mechanism. Customization of any desired effect can be achieved by writing a plugin based on this framework.

Design Ideas

  1. Use plugin mechanism to minimize coupling between components

  2. The framework pre-defines some plugins to provide default behavior. When you want to change the default behavior, you can write plugins that override the default behavior.

  3. The plugin functions of the same name are combined by the compose mechanism. Each plugin function controls the order of calls through the next parameter, similar to Koa's middleware mechanism.

  4. Runtime data is saved through the immutable.js data structure, optimizing performance based on immutable.js and component's shouldComponentUpdate.

Run Demo Locally

yarn install
yarn storybook

then open http://localhost:6007/

About

Fully customizable mindmap framework for react.js. 支持插件的,可被完全定制的思维导图库,基于react.js和immutable.js。

License:MIT License


Languages

Language:TypeScript 88.5%Language:CSS 8.0%Language:JavaScript 1.8%Language:SCSS 1.7%Language:Shell 0.1%