Menu

jgraphml / Blog: Recent posts

1.2.9 released

Support hasColor for Fill and Border of ShapeNodes
Support icons in node labels
Support the horizontalTextPosition and verticalTextPosition attributes for labels

Posted by Hervé Girod 2024-04-14

1.2.8 released

Support constraints on edges
Add methods in the Utilities class to get all nodes and edges sorted by their names
Allow to add a node of group node to a node parent adding the node label directly

Posted by Hervé Girod 2024-02-10

1.2.7 released

Allow the usage of nodes and edges templates

Posted by Hervé Girod 2024-02-05

1.2.6 released

Fix the autosize of nodes for nodes for which the label is on several lines
Allow to reset the defaults
Add a global defaults instance

Posted by Hervé Girod 2024-01-31

1.2.5 released

Use Netbeans 12.5 for the development
Use docJGenerator 1.6.5.2 for the wiki generation
Support the drop shadow on nodes
Improve the handling of the autosized property

Posted by Hervé Girod 2023-09-27

1.2.4 released

Allow to have more than one possible value for an attribute filter
Fix the diagram children not correctly set
Allow to detect a group on both the group and folder types

Posted by Hervé Girod 2023-05-31

1.2.3 released

Add a Labeled interface shared by edges and nodes
Allow to specify the placement model for labels
Allow to specify the insets of the group directly in the group node
Allow to set the closed width and height of group nodes
Add an IGraphMLNode interface
Fix some problems when writing group nodes content

Posted by Hervé Girod 2023-05-18

1.2.2 released

The ShapeType interface has now declarations for the method used in the ShapeNode class
The GraphMLGroupNode class now implements the ShapeType interface and has therefore methods used in the ShapeNode class
Make sure the ShapeNode fields are propertly cloned when using the clone() method

Posted by Hervé Girod 2023-05-07

1.2.1 released

Fix the labels of group nodes not correctly parsed
Fix the group nodes and nodes inside of group nodes incorrectly set as children of the diagram in many cases during parsing

Posted by Hervé Girod 2023-02-16

1.2 released

Use the MDIUtils library for the Unit tests to categorize the tests
The URL and description fields are now handled in the node rather than in the ShapeNode
Make sure the d0 content node on the main diagram is always present
Handle group nodes

Posted by Hervé Girod 2023-02-14

1.1 released

Fix the licence tag on Java files which had a wrong URL for the project
Make sure that the output is UTF-8

Posted by Hervé Girod 2023-01-25

1.0 released

Handle the ratio parameter for edge labels
Handle the case where there are more than one labels on one edge

Posted by Hervé Girod 2022-06-26

0.9.2 released

Use docJGenerator 1.5.6.5 for the wiki generation
Support the "short", "cross", "convex", "crows_foot_one", and "skewed_dash" types for edges
Put some methods that were in the GraphMLDiagram class to the AbstractGraphMLDiagram class
Add methods in the GraphMLEdge class to directly customize the label position
Add methods in the GraphMLNode to directly add an edge from/to another node
Add a small application which allows to test the library using groovy

Posted by Hervé Girod 2022-02-27

0.9.1 released

Support the "circle" and "white_circle" types for edges

Posted by Hervé Girod 2022-02-22

0.9 released

Fix the background color and border color of edge labels not taken into account

Posted by Hervé Girod 2022-01-07

0.8 released

Support the setting of text color for node and edge labels
Support the setting of background color, border color, and insets for edge labels

Posted by Hervé Girod 2022-01-07

0.7 released

Allow to use Awt colors to set text, lines, and node colors
Add an autosize property to autosize the width and height of nodes depending on their content size
Add an autosize, padWidth and padHeight default values to configure auto-sizing of nodes
Separate several enumerations in specific interfaces

Posted by Hervé Girod 2021-12-13

0.6 released

Fix some cases where the html colors decoding was incorrect
The GraphMLNode and GraphMLEdge classes now have both a hashCode and an equals method, and are comparable
Add a nodeSet() method in the GraphMLDiagram to get a set over the nodes
The GraphMLNode, GraphMLEdge, and GraphMLDiagram classes now are clonable
Allow to repatriate a node from a diagram to another one
Integrate the BSD JUNG library in the model. Now the GraphMLDiagram implements the JUNG Graph interface
Add a support JGraphml-layout.jar jar file which allows to apply layout algorithms to a diagram. This jar file uses code from the BSD JUNG library
The distribution now contains 3 jars: the JGraphml.jar jar file contains only the core classes (excluding the layout classes), the JGraphml-layout.jar jar file contains only the layout classes, and depend on collections-generic-4.01.jar file, and the JGraphml-all.jar file contains all the classes for the library
Graphs can now be undirected. Note that in this case all nodes are undirected

Posted by Hervé Girod 2021-02-28

0.5 released

Rename the GraphmlFactory class to GraphMLFactory for consistency for the other classes names
Fix the labels default properties not set when performing edge.setLabel(text) or node.setLabel(text)
Separate the defaults for the edges labels font size from the defaults for the nodes labels font size
Change and simplify the defaults for the arrows styles for the source and the target of the arrow
Add the font style defaults for the nodes and the edges
Support the bendStyle
Allows to specify a color using an HTML color value (such as "White") rather than its hexadecimal value

Posted by Hervé Girod 2021-02-10

0.4 released

Allow to set the offsetX and offsetY of edge labels
Further fixes for the XML serialization of the output
Fix the edge labels distance serialization which was incorrect
Access the reader from the factory
Fix the graphml parser
Handle the path points for the reader and the writer

Posted by Hervé Girod 2021-02-05

0.3 released

Add default values for the nodes width and height
Add descriptions for nodes and edges
Improve the XML serialization of the output
Support several other types of arrows
Support the quad curve type of edge
Allow to set the default distance for edge labels
Allow to set the default color for edges
Allow to set the default border color for nodes
Allow to set the default fill color for nodes

Posted by Hervé Girod 2021-02-05

0.2 released

Add the capability to customize the position of the edge label along the edge

Posted by Hervé Girod 2021-02-03

0.1 released

Creation of the project and first release

Posted by Hervé Girod 2021-02-03