Breaking Changes
-
Node Data Type Change: The data of each node now uses the
INodetype instead ofFlextreeNode<INode>. Ensure your implementation is updated to handle this change. -
Asynchronous
mm.setData: Themm.setDatamethod is now asynchronous. If your code depends on the rendered DOM of markmap, you must await the promise returned bymm.setData. For example:await mm.setData(root); mm.fit();
Notable Changes
- Render Efficiency: Enhanced rendering performance by eliminating the test round rendering process.
- Size Detection: Improved size detection accuracy by adding
ResizeObserverfor rendered nodes. - Active Node Highlighting: Automatically highlights the active node for better user interaction.
Full Changelog: v0.17.2...v0.18.0