yFiles for Java
Release Notes

Hide Description
Open in yEd LiveDownload

Skip 2.x — Use the modern 3.x line of yFiles for Java (Swing)!

Java 8
or higher

Beginning with version 3.0, the yFiles for Java (Swing) diagramming library features a brand-new, modern API which requires Java 8. This API is mature and provides many new features that are not available out-of-the-box in the 2.x line. It also provides the functionality of the ySVG, yExport and yBPMN package as source code application, therefore the extension packages are no longer required.

We recommend to start development with the next-generation yFiles for Java in new Java Swing projects.
Especially in projects that don't need to support legacy Java versions before Java 8, this is the recommended way to realize your application's diagram visualization part.

Release Notes

yFiles for Java version 2.19 is the newest major release available in the legacy yFiles for Java 2.x technology line. It contains many new features compared to older versions and is almost completely API compatible with the 2.18 series.
(See also the entire yFiles for Java change log.)

Technical Requirements

  • Oracle J2SDK 1.5 or higher is needed for software development with yFiles.
  • Oracle J2RE 1.5 or higher is needed to execute programs using yFiles.
  • A browser to view the HTML documentation.

yFiles 2.19 - Changes Since 2.18

New Features

Layout

  • SmartOrganicLayouter now offers the possibility to define tree substructures, see setTreeSubstructureStyle and setTreeSubstructureSize.
  • BalloonLayouter now supports node types. The types influence the ordering of child nodes and the subtrees rooted at them such that nodes of the same type are preferably placed next to each other. Node types are weaker than a user-specified custom comparator (see setComparator). To define types, register a data provider with the graph with key NODE_TYPE_DPKEY.
  • The new CactusGroupLayouter offers an alternative representation of hierarchically nested data. It places the children of a group along the groups circular border, resembling the structure of a cactus.
  • RadialLayouter now supports a new layering strategy that produces a circular dendrogram drawing.
  • RadialLayouter now supports two new edge routing styles, namely a radial polyline style and a curved style. The radial polyline style produces edge paths which consist of a series of straight and arc segments. The curved polyline style routes the edges as curved bezier paths. In the latter case, the edge paths can be also returned as control points that represent cubic bezier control points.
  • RadialLayouter now supports integrated node labeling i.e., the node labels are taken into consideration when determining the positions for the nodes of the graph and guarantees that labels will not overlap with other objects in the graph.
  • CircularLayouter now supports curved edge routing for edges routed within or between partitions.
  • IncrementalHierarchicLayouter: added support for so-called tabular group nodes. The children of such groups are arranged in a compact tabular fashion (i.e., like a single column table for layout orientation left-to-right).
  • Intersections provides methods to find and count intersections of elements in a graph.

Improvements

Layout

Bugfixes

Layout

Algorithms

Incompatible Changes

Changes in Technical Requirements

API Changes

Behavior Changes

Why, how, what? —
Just ask the diagramming experts!

Our team is happy to advise you – no strings attached. Let's talk about your project and find the perfect solution for your needs!

E-mail: hello@yworks.com

The data you enter will only be used to contact you regarding your request.
Learn more in our privacy policy.