View on GitHub

FXDiagram

A framework for diagrams using JavaFX

Download this project as a .zip file Download this project as a tar.gz file

Get Started

If you just want to use FXDiagram or play with the examples follow the instructions on this page. If you want to develop your own diagrams you should install the common requirements and setup an entire IDE instead.

Common Requirements

FXDiagram runs in Eclipse, in IDEA and in standalone JavaFX applications. In any case, you have to install the common requirements.

FXDiagram is build with JavaFX 8. To run it without glitches you need a Java 8 SDK u40 or higher. We rely on bugfixes in the rendering engine.

For auto-layout Graphviz must be installed on your system.

Running FXDiagram in Eclipse

You have now installed four different diagram configurations. They are bound to different types of model elements. If you need some example DSL files, download and install the Eclipse example project into your workspace.
The diagram view will automatically be opened and populated once you choose the Show in FXDiagram as… action from the context menu:

Most nodes can be explored using rapid buttons. Watch out for tooltips.

Running FXDiagram in plain Java

The demo application includes the slides of a talk I gave at EclipseCon Europe 2013 and demoes various features of FXDiagram. Some nodes can be explored using rapid buttons. Watch out for tooltips.

Running FXDiagram in IntelliJ IDEA (experimental)

After a restart, you will have a class diagram editor for Java classes. Choose Show in FXDiagram as… in the context menu of a Java class to take it for a spin.