MindFusion.Diagramming for Java Swing 版本發佈

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

1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
MindFusion.Diagramming for Java Swing V4.9.12026年8月31日
功能
  • 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.
    • JSON serialization methods extended to provide full set of OutputStream / InputStream overloads.
    • XML serialization methods extended to provide full set of OutputStream / InputStream overloads (previously missing from DiagramDocument).
    • AutoDeleteItems now saved in JSON format.
    • Custom dash styles of DiagramItem's Pen property are now saved in JSON format.
    • 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.
  • Miscellaneous:
    • nodeModified event is now also raised when users adjust the shape of a FreeFormNode by moving a FreeFormHandle. The AdjustmentHandle property of NodeEvent now reports the AdjustmentHandle instance used to modify a node. Previous move/resize/rotate enumeration value is now returned by getNodeHandleType method.
  • 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.
    • The type of AdjustmentHandle property of NodeEvent changed from NodeHandleType enum to AdjustmentHandle reference. Previous move/resize/rotate enumeration value is now returned by getNodeHandleType method.
MindFusion.Diagramming for Java Swing V4.9主要版本2026年5月28日
功能
  • 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 removeItemAt. 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 Accordion user interface that displays ItemListView components as its child panels, 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 configured by setting its Model to an object implementing PaletteModel interface. Palette provides same behavior and appearance properties as the ItemListView class.
  • API Changes:
    • DiagramNodeEventArgs used by NodeListView events has been renamed to NodeListEvent.
    • A few *EventArgs classes renamed to *Event to follow Java conventions.
修正
  • Miscellaneous:
    • The jsonSerializeTag event now lets you set a new Representation (previous version allowed only modifying the provided JSON object).
    • Fixed JSON serialization of Tag values of char type.