JavaFX diagram