Plugins
The logic is quite straightforward, just manipulate the MindElixirInstance
in any way, and you can call it a plugin.
Taking @mind-elixir/node-menu as an example, you can insert custom elements into the Mind Elixir container by using mind.container.append(menuContainer)
; in the case of @mind-elixir/export-xmind, you can directly add new methods to the Mind Elixir object like me.exportXmind = function(){ /* ... */}
.
Existing Plugins
- @mind-elixir/node-menu
- @mind-elixir/node-menu-neo
- @mind-elixir/export-xmind
- @mind-elixir/export-html
Feel free to submit a PR for your own plugins!
Node Menu
@mind-elixir/node-menu is a commonly used plugin that provides a menu for modifying node styles.
@mind-elixir/node-menu-neo is written in Svelte and includes an image selector.
Output Extensions
@mind-elixir/export-xmind and @mind-elixir/export-html plugins enable Mind Elixir to output files in Xmind and HTML formats, significantly increasing the versatility of output files.