MindFusion.Diagramming for JavaScript 4.2

Released: May 14, 2022

4.2 での更新項目

機能

  • Multiple labels per node
    • Added NodeLabel class which allows you to display multiple captions for a single diagram node.
  • Multi-touch improvements
    • The DiagramView 'multiTouchDraw' property now helps prevent you simultaneously drawing multiple items, while keeping other multitouch gestures enabled.
    • Added 'handleTouchHitDistance' property to DiagramView which makes it easier to grab adjustment handles on mobile devices.
  • Miscellanous
    • MoveLabels behavior now lets users move link and node labels interactively.
    • LinkEventArgs now includes 'origin' and 'destination' properties that report respective candidate nodes to 'linkCreating' and 'linkModifying' event handlers.
    • The 'node.attach' method now automatically detaches from previous master.
    • 'SvgNode.contentAlign' property now specifies alignment of a SVG drawing inside the node.
    • 'DiagramLink.lineAlignment' property sets the vertical position of link text.

不具合の修正

  • Horizontal scroll gestures should now work on Macbook trackpad when using virtual scroll mode.
  • DiagramLink.baseShape serialization fix.
  • Fix for createDiagramLink not working with Point arguments (to create unconnected links).
  • Fix for link adjustment handles not applying stroke from HandlesVisualStyle.