Skip to content

A yFiles-based editor for SBGN diagrams written in Kotlin


Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit



54 Commits

Repository files navigation

Krayon for SBGN


Application Screenshot

Krayon is a yFiles-based editor for SBGN diagrams that is written in kotlin.

Features include

  • Full feature set for SBGN Process Description Language Level 1, v1.3
  • Loading and saving SBGN diagram in the standardized SBGN-ML format.
  • Printing, and exporting diagrams to PNG, GIF, JPG, SVG, PDF, and EPS.
  • Easy-to-apply predefined diagram styles
  • Easy-to-create custom styling
  • Fully mouse-driven diagram creation
  • Many keyboard-shortcuts for the power-users
  • Easy-to-enter special characters (subscripts, superscripts, greek letters)
  • SBGN strict mode that helps you to create valid SBGN diagram quickly
  • SBGN bricks
  • Different UI Styles

Predefined Diagram Styles

Default Material
Colorful Dark

Available UI Styles

Material Dark System (OS default)
UI Styles

Tutorial Videos

Source Code Installations:

Setting up your IDEA project:

  1. Open as Project or as Project from Version Control
  2. Set Java 8 as project SDK
  3. Set project language level to 8
  4. Set the compile output path to 'out'
  5. Copy yFiles for Java v3.1.0.1 jar file to yfiles-lib-and-license/lib
  6. Copy yFiles for Java license file to yfiles-lib-and-license/license

Testing your installation:

  1. Navigate to krayon.editor.sbgn.KrayonForSbgn and run it with a Java 8 JRE.
  2. To run it with a Java 9 or 10 JRE provide the additional VM parameter --add-modules=java.xml.bind.

No Icons?

The source code does not include application icons. The binary application includes IconExperience O-Collection icons, which are available under a commercial license.

Binary Application Installations:

  1. Go to the release section of this project and fetch the latest version either as self-contained windows installer, or as zip file containing all necessary jar files to run the application.
  2. With the windows installer, simply follow the instructions, to install and run the application.
  3. For the zipped jar distribution, you need to have a Java JRE 8, 9 or 10 installed. To run the software switch to the installation folder and execute on the command line:
  • with Java 8: java -jar krayon4sbgn.jar
  • with Java 9 or 10: java --add-modules=java.xml.bind -jar krayon4sbgn.jar