This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
v0.2.0
Pre-release
Pre-release
Aries 0.2.0 ✨
Mmp supports now multiple instances, it gains more stability solving some bugs and updating the api structure.
New functions
- mmp.create(id, [options])
- map.remove()
- map.updateOptions(property, value)
- map.deselectNode()
Updated functions
- mmp.new() => map.new([map])
- mmp.image(callback, [type]) => map.exportAsImage(callback, [type])
- mmp.data() => map.exportAsJson()
- mmp.zoomIn() => map.zoomIn([duration])
- mmp.zoomOut() => map.zoomOut([duration])
- mmp.repeat() => map.redo()
- mmp.center() => map.center([type], [duration])
- mmp.node.add() => map.addNode([properties])
- mmp.node.select() => map.selectNode([id])
- mmp.node.update(property, value, [graphic]) => map.updateNode(property, value, [graphic])
- mmp.node.remove() => map.removeNode([id])
mmp.node.selectTo(direction)mmp.node.moveTo(direction, [range])
Improvements
- Add new parameters to some functions
- Improve general mmp performances
- Multiple mmp instances
- Improve node text editing
- Firefox and Opera compatibility
- Fixed several small bugs