MindFusion.Diagramming for WinForms 版本發佈

查看各個版本中的最新內容,包含功能、增強與已解決問題的詳細資訊。

1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
MindFusion.Diagramming for WinForms 7.2.12026年8月15日
功能
  • Serialization Improvements:
    • Json element added to SaveToStringFormat enumeration, and can be used with SaveToString and LoadFromString methods.
    • For naming consistency with XML serialization methods, JSON methods (SaveToJsonFile, SaveToJsonObject, etc) have been renamed to SaveToJson and LoadFromJson, along with corresponding async versions.
    • SaveToJson and LoadFromJson methods added to DiagramView, which also save view state (scroll position and zoom level).
    • JSON serialization methods extended to provide full set of Stream overloads.
    • XML serialization methods extended to provide full set of Stream overloads (previously missing altogether from DiagramDocument and missing async versions in Diagram).
    • AutoDeleteItems now saved in JSON format.
      The Brush of DiagramItem.Pen is now saved in JSON format (fix for hatch pens getting reloaded as solid-color ones).
    • LaneGrid cell border styling now saved in JSON format.
    • LaneGrid header fonts now saved in JSON format.
    • The order of OutgoingLinks and IncomingLinks is now preserved in JSON format.
  • API Changes:
    • Attention: LoadFromJson(string) parameter now specifies file name. Call LoadFromString to load from
    • JSON data string instead. Replace SaveToJson -> String calls with SaveToString(SaveToStringFormat.Json).
    • SaveToJsonFile and SaveToJsonObject replaced by SaveToJson overloads.
    • LoadFromJsonFile and LoadFromJsonObject replaced by LoadFromJson overloads.
MindFusion.Diagramming for WinForms Professional 7.2主要版本2026年4月13日
功能
  • ItemListView Control:
    • ItemListView supersedes NodeListView and lets you show both nodes and links in the list. Items can be added by calling AddItem method, and removed by calling RemoveItem. DefaultNodeSize property from NodeListView is called NewInstanceSize in the new class. The AutoConnectLinks and AutoConnectDistance properties control whether links created via drag-and-drop should connect to nearby nodes in the target diagram. For compatibility with legacy code, NodeListView won't be removed from the library, but it won't be getting any new improvements.
  • Palette Control:
    • The Palette control represents a tool palette that displays DiagramItem objects grouped into categories. It implements an Accordion user interface that displays ItemListView components as its child panels, you can and category icon, title and collapse/expand button in pane headers. Each child ItemListView displays the items added to its corresponding category. Call the AddCategory method to define a category and create its respective accordion pane. Call AddItem to add an item to specified category. The control can also be populated by adding PaletteCategory objects to Palette.Categories collection, and adding items to PaletteCategory.Items. Palette provides same behavior and appearance properties as the ItemListView class.
  • Miscellaneous:
    • Embed font files in exported PDF documents by setting PdfExporter.EmbedFont predicate.
    • To further reduce reliance on BinaryFormatter when persisting binary files, we've added a BinarySerializer interface. Custom implementations should save objects using BinaryWriter and load them using BinaryReader. A BinarySerializer instance can be assigned to PersistContext.BinarySerializer. Its methods are invoked for each non-primitive property of the Control hosted in a ControlNode, and for the Tag and Id properties of DiagramItem.
  • API Changes:
    • DraggedNode, used to represent drag-and-drop data created by NodeListView, has been renamed to DraggedItem. DraggedItem can also be used in handlers of ItemListView drag-and-drop events.
    • DiagramNodeEventArgs used by NodeListView events has been renamed to ListNodeEventArgs.