This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
Releases: cedoor/mmp
Releases · cedoor/mmp
v0.2.9
v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
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