MindFusion.Diagramming for WPF V3.8.0

Released: Nov 18, 2021

V3.8.0 中的更新

特性

  • Scrollable containers - You can now set the ContainerNode Scrollable property to let users scroll a container's contents.
  • Container improvements
    • ContainerNode containment is no longer implemented via a Group object. Child nodes are now stored in the dedicated Children collection and a node's container is returned by the Container property.
    • Added the ClipChildren property which specifies whether to clip child items to container’s boundaries.
    • You can now enable the AutoDeleteChildren property to automatically delete child nodes when a container is deleted.
    • Drag-and-drop operations from NodeListView, ShapeListBox and ShapeToolBar now automatically add the newly created node to a container if one is found at the drop position.
    • You can now call the ResizeToFitChildren method to resize a container, making it big enough to contain its child nodes.
    • The FoldedSize property of ContainerNode now specifies the container's size when it is folded.
    • The KeepInsideParent constraint of child nodes now also prevents them from overlapping the container's caption bar.

修補程式

  • API changes
    • ContainerNode's child nodes are no longer accessible via SubordinateGroup - use the container's Children collection instead.
    • A node's parent ContainerNode is no longer accessible via MasterGroup - use the Container property instead.
    • Child nodes are now also children of their Container in the WPF visual tree, instead of the Diagram, which could affect code that relies on VisualTreeHelper API.