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.
Full-featured electron app based on this library
Full-featured web app based on this library
A mind map vscode extension based on this library
Multiple online demo of specific features
Design Ideas
-
Use plugin mechanism to minimize coupling between components
-
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.
-
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.
-
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/