yFiles for Java 2.x Packages

Next-generation 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.

Distribution Types

yFiles for Java 2.x is available in four distributions, each containing a different combination of the Basic, Layout, and Viewer components.

Basic Distribution

This distribution contains only the Basic component.

Viewer Distribution

The Viewer distribution contains both the yFiles for Java 2.x Basic and Viewer components.

Layout Distribution

The Layout distribution contains both the yFiles for Java 2.x Basic and Layout components.

Complete Distribution

The Complete distribution contains the yFiles for Java 2.x Basic, Layout , and Viewer components.

Distribution Features

The following table provides an overview of the features of the yFiles for Java 2.x distributions.

yFiles for Java 2.x Distribution
BasicLayoutViewerComplete
Basic Component
efficient Graph data type implementation for the structural information of graph elements
wide variety of graph and network algorithms
Algorithms Component
support for geometry(position / size) of graph elements
algorithms for automatic layout of graphs and diagrams
algorithms for automatic layout of connections in diagrams
automatic label placement
Viewer Component
support for the visual representation of graph elements
powerful graph viewer component for the presentation and creation/editing of diagrams
extensive user interaction support
support for nested graph structures
Swing-based GUI elements for properties and parameters
support for diverse input/output file formats for diagrams and export-only image file formats
printing support, incl. poster printing
animations and layout morphing

yFiles for Java 2.x Building Blocks

There are currently three different yFiles for Java components, which can be combined as four different yFiles for Java 2.x distributions (see above).

Basic

The Basic component contains essential classes and data types for graph analysis. From highly efficient implementations of Graph, Priority Queue, and other advanced data types, to a wide variety of graph and network algorithms, The Basic component provides an indispensable toolkit for a range of network analysis tasks.

Layout

The Layout component builds upon the Basic component to offer a perfect suite of graph layout algorithms. Diverse layout styles including hierarchic, orthogonal, and circular are provided as easy-to-integrate components that can be configured programmatically to suit most layout demands. Even incremental algorithms is made simple, and our edge routing algorithms make it easy to route edges into existing diagrams.

Viewer

The Viewer component also builds upon the Basic component. It features the powerful graph viewer UI component showcased in the yEd graph editor, along with several other useful Swing-based GUI elements. The Viewer component also supports diverse graph and image file formats (GraphML, JPG, GIF) and has excellent printing capabilities.

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.