npm markmap-lib 0.18.0
v0.18.0

latest releases: 0.18.11, 0.18.11-alpha.0, 0.18.10...
2 months ago

Breaking Changes

  • Node Data Type Change: The data of each node now uses the INode type instead of FlextreeNode<INode>. Ensure your implementation is updated to handle this change.

  • Asynchronous mm.setData: The mm.setData method is now asynchronous. If your code depends on the rendered DOM of markmap, you must await the promise returned by mm.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

Don't miss a new markmap-lib release

NewReleases is sending notifications on new releases.