Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for Java Swing, V4.9.1 (Read 140 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 756
Joined: Apr 6th, 2003
Diagramming for Java Swing, V4.9.1
Aug 31st, 2026 at 10:37am
Print Post  
We have released version 4.9.1 of JDiagram. It contains the following new features and improvements:

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.

Distribution for the latest version can be downloaded here, or from the clients area on our site.
https://mindfusion.dev/JDiagramTrial.zip

Updated JAR is also available at the Maven Central Repository:
https://search.maven.org/artifact/eu.mindfusion/diagramming

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint