Skip to content

Breaking Change

DJJo edited this page Mar 27, 2023 · 10 revisions

1.0.0

Data should be passed to init(), not options.

import MindElixir, { E } from 'mind-elixir'
import example from 'mind-elixir/dist/example1'

let mind = new MindElixir(options)

mind.install(plugin) // install your plugin

// create new map data
const data = MindElixir.new('new topic')
// or `example`
// or the data return from `.getAllData()`
mind.init(data) // <--- HERE

2.0.0

Remove Node menu from mind-elixir-core.

Remove updateNodeTags, updateNodeIcons, updateNodeHyperLink. Use updateNodeStyle instead.

Options changes:

primaryLinkStyle => mainLinkStyle
primaryNodeVerticalGap => mainNodeVerticalGap 
primaryNodeHorizontalGap => mainNodeHorizontalGap
Clone this wiki locally