Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@plait/mind

worktile496MIT0.81.2TypeScript support: included

Implementation of the core logic of the mind map plugin.

mind, mind map, whiteboard, logic, indent

readme

@plait/mind

Implementation of the core logic of the mind map plugin.

Basic functions

  1. Layout: logical layout, standard layout, indented layout
  2. Node quick creation (Tab, Enter), deletion (Delete, Backspace)
  3. Node theme text editing
  4. Expand and collapse nodes
  5. Copy and paste nodes
  6. Insert pictures
  7. Insert Emoji
  8. Node Abstract
  9. Color theme
  10. Width adjustment
  11. Multiple main topics

@plait/mind The core only includes data rendering and core interaction implementation, and does not include interface-based interaction implementations such as toolbars and attribute settings. Because these functions depend on specific interface styles (the plug-in layer does not want to introduce UI libraries), we The design tends to leave this part of the function to the user for custom implementation, and the plugin layer only provides event support and special configuration support.

Dependence

  • @plait/core
  • @plait/common
  • @plait/text
  • @plait/layouts