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


Rock and Roll

Posts: 752
Joined: Apr 6th, 2003
Diagramming for Java Swing, V4.9
May 27th, 2026 at 10:41am
Print Post  
We have released version 4.9 of JDiagram. It contains the following new features and improvements:

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.

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.

API changes
  • DiagramNodeEventArgs used by NodeListView events has been renamed to NodeListEvent.
  • A few *EventArgs classes renamed to *Event to follow Java conventions.

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