Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
JavaScript mind map libraries draw a central topic and its branching subtopics as an interactive tree in the browser. A mind map editor keeps the map as a tree of nodes that users add, drag, fold, and rename. These libraries let note-taking apps, planning tools, and AI assistants turn outlines into maps that people can edit.
Popularity
Mind Elixir has the most monthly downloads among the dedicated mind map editors in this comparison, at 178.6K.
<div id="myDiagramDiv" style="width:400px; height:200px;"></div>
<script src="https://cdn.jsdelivr.net/npm/gojs"></script>
<script>
const myDiagram = new go.Diagram('myDiagramDiv', {
// create a Diagram for the HTML div element 'undoManager.isEnabled': true // enable undo & redo
});
// define a simple Node template // the Shape will automatically surround the TextBlock myDiagram.nodeTemplate = new go.Node('Auto').add(
// add a Shape and a TextBlock to this "Auto" Panel new go.Shape('RoundedRectangle', { strokeWidth: 0, fill: 'white' }) // no border; default fill is white
.bind('fill', 'color'), // Shape.fill is bound to Node.data.color
new go.TextBlock({ margin: 8, font: 'bold 14px sans-serif', stroke: '#333' }) // some room around the text
.bind('text', 'key') // TextBlock.text is bound to Node.data.key
);
// but use the default Link template, by not setting Diagram.linkTemplate // create the model data that will be represented by Nodes and Links myDiagram.model = new go.GraphLinksModel(
[
{ key: 'Alpha', color: 'lightblue' },
{ key: 'Beta', color: 'orange' },
{ key: 'Gamma', color: 'lightgreen' },
{ key: 'Delta', color: 'pink' }
],
[
{ from: 'Alpha', to: 'Beta' },
{ from: 'Alpha', to: 'Gamma' },
{ from: 'Beta', to: 'Beta' },
{ from: 'Gamma', to: 'Delta' },
{ from: 'Delta', to: 'Alpha' }
]
);
</script>
Mind Elixir
Builds editable mind maps with drag-and-drop and operation history.
Downloads / mo
184.9K
Stars
3.2K
Last release
6.0.3
License
MIT
Strengths
Edits and moves nodes interactively.Use built-in node editing and drag-and-drop controls.
Restores branch visibility through undo.Undo collapse and expansion alongside other map operations.
Limitations
Markdown rendering needs a parser.Provide a parser when node topics should render Markdown.
Image exports include a watermark.Disable watermarkEnabled when an exported image should omit the mark.
import 'mind-elixir/style.css'
import MindElixir from 'mind-elixir'
let options = {
el: '#map', // or HTMLDivElement
}
let mind = new MindElixir(options)
// create new map dataconst data = MindElixir.new('new topic')
mind.init(data)
@logicflow/extension
Adds extensions to LogicFlow, including a mind map plugin.
function NodeRuntime() {
var runtime = this;
var minder = this.minder;
var hotbox = this.hotbox;
var fsm = this.fsm;
var main = hotbox.state('main');
var buttons = [
'前移:Alt+Up:ArrangeUp',
'下级:Tab|Insert:AppendChildNode',
'同级:Enter:AppendSiblingNode',
'后移:Alt+Down:ArrangeDown',
'删除:Delete|Backspace:RemoveNode',
'上级:Shift+Tab|Shift+Insert:AppendParentNode'
//'全选:Ctrl+A:SelectAll' ];
var AppendLock = 0;
buttons.forEach(function(button) {
var parts = button.split(':');
var label = parts.shift();
var key = parts.shift();
var command = parts.shift();
main.button({
position: 'ring',
label: label,
key: key,
action: function() {
if (command.indexOf('Append') === 0) {
AppendLock++;
minder.execCommand(command, '分支主题');
// provide in input runtime function afterAppend () {
if (!--AppendLock) {
runtime.editText();
}
minder.off('layoutallfinish', afterAppend);
}
minder.on('layoutallfinish', afterAppend);
} else {
minder.execCommand(command);
fsm.jump('normal', 'command-executed');
}
},
enable: function() {
return minder.queryCommandState(command) != -1;
}
});
});
main.button({
position: 'bottom',
label: '导入节点',
key: 'Alt + V',
enable: function() {
var selectedNodes = minder.getSelectedNodes();
return selectedNodes.length == 1;
},
action: importNodeData,
next: 'idle'
});
main.button({
position: 'bottom',
label: '导出节点',
key: 'Alt + C',
enable: function() {
var selectedNodes = minder.getSelectedNodes();
return selectedNodes.length == 1;
},
action: exportNodeData,
next: 'idle'
});
function importNodeData() {
minder.fire('importNodeData');
}
function exportNodeData() {
minder.fire('exportNodeData');
}
//main.button({ // position: 'ring', // key: '/', // action: function(){ // if (!minder.queryCommandState('expand')) { // minder.execCommand('expand'); // } else if (!minder.queryCommandState('collapse')) { // minder.execCommand('collapse'); // } // }, // enable: function() { // return minder.queryCommandState('expand') != -1 || minder.queryCommandState('collapse') != -1; // }, // beforeShow: function() { // if (!minder.queryCommandState('expand')) { // this.$button.children[0].innerHTML = '展开'; // } else { // this.$button.children[0].innerHTML = '收起'; // } // } //}) }
FAQ
Mind Elixir suits apps that need a ready mind map editor without a framework. Markmap suits apps that display Markdown outlines as maps. G6 and GoJS suit apps that need mind maps alongside other graph diagrams.
SimpleMindMap is an SVG mind map editor with native outline import. Export and presentation features come from separately registered plugins.
GoJS is a commercial diagramming SDK for trees, flowcharts, and org charts. It ships a tree layout and an interactive mind map sample, while the full editor UI is application code.
Markmap displays Markdown as an interactive map tree with zooming, panning, and folding. Parsing and SVG generation come from companion packages.
G6 is an open-source graph visualization framework with a first-party mind map layout. Mind Elixir is a dedicated mind map editor for apps that need only mind maps.
For coding agents
Found your mind map library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.