yFiles for Java (Swing) 2.xDiagramming made simple
yFiles for Java (Swing) 2.x is an extensive Java™ class library for the Java Swing world that provides algorithms and components enabling the analysis, visualization, and the automatic layout of graphs, diagrams, and networks.
The 2.x line of yFiles for Java (Swing) supports Java 7 and earlier. For today's Java Swing development and Java Swing projects that require Java 8, we strongly recommend the next-generation 3.x line of yFiles for Java (Swing).
yFiles for Java (Swing) 2.18 is the latest version of the classic 2.x line. Please refer to the release notes to learn more about the technical requirements and feature enhancements of this version.
Skip 2.x — Use the modern 3.x line of yFiles for Java (Swing)!
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.

We´d love to help you. Reach out and we'll get in touch with you.
Your message has been sent.
Documentation
- yFiles for Java (Swing) 2.18 Developer's Guide
- yFiles for Java (Swing) 2.18 API docs
- UML-enhanced yFiles for Java (Swing) 2.18 Javadoc API documentation (created by our Javadoc extension yWorks UML Doclet): PNG version, SVG version
- yFiles for Java tutorial source code demos
- yFiles for Java related scientific publications
Extension packages
Our Knowledge Base is an excellent resource for finding the answers to frequently asked questions.