├── .gitignore ├── .prettierrc.js ├── .storybook ├── config.js ├── webpack.config.js └── webpack.config.test.js ├── LICENSE ├── README.md ├── package.json ├── screenshots ├── drag-and-drop.gif ├── drag-and-move.gif ├── node-pop-menu.jpg ├── node-popup-menu.gif ├── open-demo.jpg └── rich-edit.jpg ├── src ├── component │ ├── DiagramWidget.css │ ├── DiagramWidget.tsx │ ├── LinkWidget.tsx │ ├── MindDragScrollWidget.tsx │ ├── Modals.tsx │ ├── NodeLayerWidget.tsx │ ├── NodePopupMenu.tsx │ ├── NodePopupMenuItem.tsx │ ├── NodeWidget.tsx │ ├── RootNodeWidget.tsx │ ├── Theme.tsx │ ├── TopicContentWidget.tsx │ ├── common │ │ ├── BaseModal.tsx │ │ ├── BaseWidget.tsx │ │ ├── DragDropDestWidget.tsx │ │ ├── DragScrollWidget.tsx │ │ ├── Flex.tsx │ │ └── SaveRef.tsx │ └── utils │ │ └── index.tsx ├── config │ ├── DefaultFocusItemBorderSvg.tsx │ ├── DefaultNodeContentEditor.tsx │ ├── DefaultNodeDescEditor.tsx │ ├── DiagramConfig.tsx │ └── ThemeConfigs.ts ├── main.ts ├── model │ ├── DiagramState.ts │ ├── MindDiagramModel.ts │ ├── MindMapModel.ts │ ├── MindMapModelModifier.ts │ ├── MindNodeModel.ts │ ├── NodeRelationship.ts │ └── encoding │ │ ├── DataEncoding.ts │ │ └── MarkdownSerializer.ts ├── types │ ├── FunctionType.ts │ └── Node.ts └── util │ └── index.ts ├── stories ├── demo-blink-mind-react │ ├── AutoGenerateDepthForTest.tsx │ ├── SimpleDemo │ │ ├── Popup.scss │ │ ├── Popup.tsx │ │ ├── PopupExport.tsx │ │ ├── PopupOpenFile.tsx │ │ ├── Toolbar.scss │ │ ├── Toolbar.tsx │ │ ├── ToolbarItem.tsx │ │ ├── index.scss │ │ └── index.tsx │ └── demo.css ├── demo-drag-drop │ ├── Demo1.tsx │ ├── Demo2.tsx │ ├── Demo3.tsx │ ├── Demo4.tsx │ ├── Demo5.tsx │ ├── Demo6.tsx │ ├── Demo60.tsx │ ├── Demo7.tsx │ ├── Demo8.tsx │ ├── demo.scss │ └── demo8.scss ├── demo-scroll-api │ ├── Demo1.tsx │ ├── Demo2.tsx │ ├── Demo3.tsx │ └── demo.scss └── index.stories.tsx ├── tsconfig.json ├── tslint.json └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | singleQuote: true 3 | }; -------------------------------------------------------------------------------- /.storybook/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/.storybook/config.js -------------------------------------------------------------------------------- /.storybook/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/.storybook/webpack.config.js -------------------------------------------------------------------------------- /.storybook/webpack.config.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/.storybook/webpack.config.test.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/package.json -------------------------------------------------------------------------------- /screenshots/drag-and-drop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/drag-and-drop.gif -------------------------------------------------------------------------------- /screenshots/drag-and-move.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/drag-and-move.gif -------------------------------------------------------------------------------- /screenshots/node-pop-menu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/node-pop-menu.jpg -------------------------------------------------------------------------------- /screenshots/node-popup-menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/node-popup-menu.gif -------------------------------------------------------------------------------- /screenshots/open-demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/open-demo.jpg -------------------------------------------------------------------------------- /screenshots/rich-edit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/screenshots/rich-edit.jpg -------------------------------------------------------------------------------- /src/component/DiagramWidget.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/DiagramWidget.css -------------------------------------------------------------------------------- /src/component/DiagramWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/DiagramWidget.tsx -------------------------------------------------------------------------------- /src/component/LinkWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/LinkWidget.tsx -------------------------------------------------------------------------------- /src/component/MindDragScrollWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/MindDragScrollWidget.tsx -------------------------------------------------------------------------------- /src/component/Modals.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/Modals.tsx -------------------------------------------------------------------------------- /src/component/NodeLayerWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/NodeLayerWidget.tsx -------------------------------------------------------------------------------- /src/component/NodePopupMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/NodePopupMenu.tsx -------------------------------------------------------------------------------- /src/component/NodePopupMenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/NodePopupMenuItem.tsx -------------------------------------------------------------------------------- /src/component/NodeWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/NodeWidget.tsx -------------------------------------------------------------------------------- /src/component/RootNodeWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/RootNodeWidget.tsx -------------------------------------------------------------------------------- /src/component/Theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/Theme.tsx -------------------------------------------------------------------------------- /src/component/TopicContentWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/TopicContentWidget.tsx -------------------------------------------------------------------------------- /src/component/common/BaseModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/BaseModal.tsx -------------------------------------------------------------------------------- /src/component/common/BaseWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/BaseWidget.tsx -------------------------------------------------------------------------------- /src/component/common/DragDropDestWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/DragDropDestWidget.tsx -------------------------------------------------------------------------------- /src/component/common/DragScrollWidget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/DragScrollWidget.tsx -------------------------------------------------------------------------------- /src/component/common/Flex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/Flex.tsx -------------------------------------------------------------------------------- /src/component/common/SaveRef.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/common/SaveRef.tsx -------------------------------------------------------------------------------- /src/component/utils/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/component/utils/index.tsx -------------------------------------------------------------------------------- /src/config/DefaultFocusItemBorderSvg.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/config/DefaultFocusItemBorderSvg.tsx -------------------------------------------------------------------------------- /src/config/DefaultNodeContentEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/config/DefaultNodeContentEditor.tsx -------------------------------------------------------------------------------- /src/config/DefaultNodeDescEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/config/DefaultNodeDescEditor.tsx -------------------------------------------------------------------------------- /src/config/DiagramConfig.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/config/DiagramConfig.tsx -------------------------------------------------------------------------------- /src/config/ThemeConfigs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/config/ThemeConfigs.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/model/DiagramState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/DiagramState.ts -------------------------------------------------------------------------------- /src/model/MindDiagramModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/MindDiagramModel.ts -------------------------------------------------------------------------------- /src/model/MindMapModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/MindMapModel.ts -------------------------------------------------------------------------------- /src/model/MindMapModelModifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/MindMapModelModifier.ts -------------------------------------------------------------------------------- /src/model/MindNodeModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/MindNodeModel.ts -------------------------------------------------------------------------------- /src/model/NodeRelationship.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/NodeRelationship.ts -------------------------------------------------------------------------------- /src/model/encoding/DataEncoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/encoding/DataEncoding.ts -------------------------------------------------------------------------------- /src/model/encoding/MarkdownSerializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/model/encoding/MarkdownSerializer.ts -------------------------------------------------------------------------------- /src/types/FunctionType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/types/FunctionType.ts -------------------------------------------------------------------------------- /src/types/Node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/types/Node.ts -------------------------------------------------------------------------------- /src/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/src/util/index.ts -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/AutoGenerateDepthForTest.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/AutoGenerateDepthForTest.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/Popup.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/Popup.scss -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/Popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/Popup.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/PopupExport.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/PopupExport.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/PopupOpenFile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/PopupOpenFile.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/Toolbar.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/Toolbar.scss -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/Toolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/Toolbar.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/ToolbarItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/ToolbarItem.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/index.scss -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/SimpleDemo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-blink-mind-react/SimpleDemo/index.tsx -------------------------------------------------------------------------------- /stories/demo-blink-mind-react/demo.css: -------------------------------------------------------------------------------- 1 | .demo { 2 | height: 800px; 3 | } 4 | -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo1.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo2.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo3.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo3.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo4.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo4.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo5.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo5.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo6.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo6.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo60.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo60.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo7.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo7.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/Demo8.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/Demo8.tsx -------------------------------------------------------------------------------- /stories/demo-drag-drop/demo.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/demo.scss -------------------------------------------------------------------------------- /stories/demo-drag-drop/demo8.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-drag-drop/demo8.scss -------------------------------------------------------------------------------- /stories/demo-scroll-api/Demo1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-scroll-api/Demo1.tsx -------------------------------------------------------------------------------- /stories/demo-scroll-api/Demo2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-scroll-api/Demo2.tsx -------------------------------------------------------------------------------- /stories/demo-scroll-api/Demo3.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-scroll-api/Demo3.tsx -------------------------------------------------------------------------------- /stories/demo-scroll-api/demo.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/demo-scroll-api/demo.scss -------------------------------------------------------------------------------- /stories/index.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/stories/index.stories.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/tslint.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awehook/blink-mind-react/HEAD/webpack.config.js --------------------------------------------------------------------------------