Breaking Changes
-
Node Data Type Change: The data of each node now uses the
INode
type instead ofFlextreeNode<INode>
. Ensure your implementation is updated to handle this change. -
Asynchronous
mm.setData
: Themm.setData
method 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
ResizeObserver
for rendered nodes. - Active Node Highlighting: Automatically highlights the active node for better user interaction.
Full Changelog: v0.17.2...v0.18.0