MindFusion.Diagramming for JavaScript 4.2.2

Released: Jun 3, 2022

4.2.2 中的更新

特性

  • React functional components - The @mindfusion/diagramming-react package now contains functional-component wrappers for the DiagramView and auxiliary controls, and has been upgraded to React 18.
    • Old class-component wrappers have been moved to the @mindfusion/diagramming-react-cc package.
    • The DiagramView control exposes a forwardRef, that can be passed on to other controls, such as the Overview and ZoomControl.
    • To obtain a reference to the underlying core controls, use the respective find method of the ref.

修补程序

  • Fixed NodeListView not working correctly when hosted nodes contain NodeLabel objects.
  • Fixed exception in dispose method of Overview control if called before the overview is attached to the diagram.