Cross-platform Diagramming

yFiles for JavaFX brings the proven power and ease of yFiles diagramming to your cutting-edge JavaFX™ applications.

The library contains UI controls for drawing, viewing, and editing diagrams and our mature graph layout algorithms for automatically arranging complex graphs and networks at the click of a button.

New major version yFiles for JavaFX 3.0!

New layout algorithms, new hierarchic layout features, edge bundling, improved API, and a ton more. Evaluate now!

Looking for a JavaSwing diagramming library instead? Choose yFiles for Java

Outstanding Features

The yFiles for JavaFX programming library allows you to create stunning JavaFX diagramming applications that use the full range of possibilities provided by the JavaFX framework. It features all essential functionality from the yFiles product family.

Powerful Graph Controls

yFiles for JavaFX provides powerful JavaFX controls that enable intuitive interaction with diagrams.
  • Easily edit and handle diagrams with simple mouse gestures.
  • Benefit from out-of-the-box support for zooming and panning, undo/redo, clipboard functionality, image export, and printing.
  • Enjoy smooth change animations and "magnetic" guide lines for manual element alignment.
  • All interaction capabilities are easily customizable to fit your specific needs. Use CSS styling to create your look in interaction contexts.
  • Out-of-the-box support for integrating native JavaFX controls in your diagrams.
  • Create applications supporting SVG export or BPM visualizations and specialized automatic layout for BPMN.

Graph Analysis and Automatic Layout

yFiles for JavaFX provides a wide variety of graph analysis algorithms that let you tackle the most challenging analysis tasks easily.
  • The suite of automatic graph layout algorithms includes Hierarchic, Orthogonal, and Circular layout styles to automatically yield clear and concise diagrams from your data.
  • Routing algorithms optimize connection lines in existing diagrams.
  • Ample configuration possibilities suit even sophisticated diagram layout demands.

Developer Support

  • Extensive developer support with Developer's Guide and API documentation viewer.

Showcase Application

yFiles for JavaFX demo highlights

The Demo Browser application lets you play with the demo applications of the yFiles for JavaFX diagramming library.
This application is executable using Java Web Start (requires Java 8).

» Launch demo

Source Code Demo Applications

yFiles for JavaFX ships with the full source code of the following demo applications.
To experience the automatic layout algorithms in action, please have a look at the Layout Styles online demo in the yFiles Demo Browser application.

Graph Editor

The Graph Editor demo application is a fully-featured showcase of the visualization and automatic layout capabilities of yFiles for JavaFX:
  • Add, delete, move, and label nodes and edges to create a graph
  • Interact using zoom and pan, undo/redo, copy/paste, and more
  • Apply graph layout algorithms
  • Load, save, and print graphs, and export graphs to images

Graph Viewer

The Graph Viewer demo application demonstrates user interaction possibilities such as zooming, panning, overview, and toggling additional node information.

Organization Chart

The Organization Chart demo application shows how to create an interactive organization chart with data loaded from XML.

Collapsible Tree

The Collapsible Tree demo application loads a tree with many nodes, whose branches can be expanded and collapsed. The nodes are rendered with custom icons that indicate their current state. After an expand or collapse operation, the graph is redrawn using a configurable layout algorithm.

Grouped Graph

The Grouped Graph demo application presents the grouping support of yFiles for JavaFX. Group nodes can be collapsed or expanded. Whenever group nodes are expanded or collapsed, a new incremental layout is calculated and the graph is redrawn.

Custom Styles

The Custom Styles tutorial shows how to easily change the look and feel of nodes, edges, and labels to create attractive visual representations of graph structures.

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Technical requirements: Oracle Java 8 JRE (8u40) or higher

Developer Information

Technical Requirements

To develop yFiles for JavaFX-based applications, Oracle JDK 8 (8u40) or higher is required.
To run applications based on yFiles for JavaFX, an Oracle Java 8 JRE (8u40) or higher is required.

Commercial Information

Need help?

Get in touch with our sales team to learn more about the terms and conditions for the commercial or academic use of the yFiles for JavaFX library.

Evaluate yFiles for JavaFX

Test and experience the yFiles for JavaFX diagramming library with a 60-day, fully functional evaluation version.

The evaluation package features:

  • unrestricted yFiles for JavaFX functionality, including Algorithms and Viewer components
  • step-by-step tutorials: extensive full source code tutorials to teach the essentials
  • source code: full source code of more than two dozens tutorial demo applications
  • developer documentation: Developer's Guide and API documentation, IDE setup tips

Contact yWorks

If you have any questions about us or our products, just send us a note:
Thank you!
Your message has been sent to
We are sorry,
Your request could not be sent to Please reload the page and try again.
If the problem persists, please report the error to