yFiles for Java 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 supports Java 7 and earlier. If your Java Swing project requires Java 8, we recommend the next-generation yFiles for Java.
Looking for a JavaFX™ diagramming library instead? Choose yFiles for JavaFX!
Beginning with version 3.0, the yFiles for Java 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.
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.
yFiles for Java provides you with the essential building blocks for writing Java applications that analyze, visualize, edit, or automatically draw graphs, diagrams, or networks.
If you need diagramming components, you need yFiles!
Total flexibility is one of the main advantages of choosing yFiles. Our many customers come from diverse application areas including:
- biochemical network analysis and visualization
- business process modeling
- data mining (e.g. log file analysis)
- database management and modeling
- network management
- social networks
- software engineering (e.g. UML diagramming)
- workflow management (e.g. flow chart generation)
- WWW visualization
- visual programming
The yFiles for Java library enables you to create impressive cross-platform Java diagramming applications. It features all essential functionality from the yFiles product family.
yFiles for Java functionality is divided into three parts - Basic, Layout, and Viewer component.
Learn more about the yFiles for Java product types, all available combinations of Basic, Layout, and Viewer components.
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.
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 layout is made simple, and our edge routing algorithms make it easy to route edges into existing diagrams.
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.
- yFiles for Java 2.14 Developer's Guide
- yFiles for Java 2.14 API docs
- yFiles for Java tutorial source code demos
- yFiles for Java related scientific publications
Our Knowledge Base is an excellent resource for finding the answers to frequently asked questions.
Test and experience the yFiles for Java diagramming library with a 60-day, fully functional evaluation version.
The evaluation package features:
- unrestricted yFiles for Java functionality, including Basic, Layout, and Viewer component
- source code: full source code of more than 100 tutorial demo applications
- developer documentation: Developer's Guide and API documentation, IDE setup tips
Your message has been sent to email@example.com
Your request could not be sent to firstname.lastname@example.org. Please reload the page and try again.
If the problem persists, please report the error to email@example.com