Timetables for model railway. Useful for meets with modules (like FREMO, Free-mo etc...).
Examples of gtm files with timetables can be found here: gtm_examples.zip
- download one of the releases (zip file
grafikon-<x.y.z>.zip
- releases) - unpack it
- check if you have installed java
- start Grafikon
- using
java -jar grafikon.jar
from command line - or double-click on
grafikon.jar
- or use
grafikon.cmd
(grafikon.sh
)
- using
Outputs can be added from menu (bundled with program as default): File > Import > Import outputs. The outputs are then generated from Outputs > Outputs... by pressing Generate all button.
In order to use Groovy string templates as well as output templates directly in the gtm, the type of the diagram in Settings > Settings... has to be set to raw. All Groovy scripts and templates are stripped from loaded gtm otherwise.
Binaries are available for Windows and Linux and contains startup binary and bundled java
(grafikon-<x.y.z>-<windows|linux>-x86_64.zip
).
- download zip file
- unpack it
- start the binary
Installer is available for Windows (grafikon-<x.y.z>.msi
) and has the same content as the binary bundled with Java.
- download the installer
- install
- start from Start menu
Package is available for Linux and has the content as the binary bundled with Java
- download the package
- install
- start from the desktop
The package for macOS contains only application bundled with Java without generated binaries.
- download zip file
- unpack it
- start
grafikon-image/bin/grafikon
Simple string templates can be used e.g. in name template of train. The following substitutions are available:
${variable}
- replace with variable${if:bool-variable:string}
- if the variable is true, the string is substituted, otherwise empty string${prefix:variable:string}
- prefix variable (if not empty) value with string, otherwise replace with empty string${suffix:variable:string}
- add string after variable (if not empty), otherwise replace with empty string${translate:variable:locale-variable|#locale-string}
- translation${default:variable:default-string}
- if variable is an empty string, it uses default value
Variable can have fields (${type.abbr}
) or index (${stations[1]}
- first, last or number).