Skip to content
/ grafikon Public

Timetables for model railway. Useful for meets with modules (like FREMO, Free-mo etc).

License

Notifications You must be signed in to change notification settings

jub77/grafikon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

360f835 · Apr 5, 2025
Mar 24, 2024
Mar 3, 2025
Apr 5, 2025
Apr 5, 2025
Apr 3, 2025
Mar 18, 2025
Apr 4, 2025
Apr 3, 2025
Mar 18, 2025
Mar 4, 2025
Mar 31, 2025
Dec 23, 2024
Jun 9, 2021
Jan 31, 2024
Sep 17, 2016
Apr 5, 2025
Feb 24, 2025
Mar 31, 2025
Apr 2, 2018
Apr 2, 2018
Feb 23, 2025

Repository files navigation

Grafikon

Timetables for model railway. Useful for meets with modules (like FREMO, Free-mo etc...).

Examples

Examples of gtm files with timetables can be found here: gtm_examples.zip

Zip Archive

  1. download one of the releases (zip file grafikon-<x.y.z>.zip - releases)
  2. unpack it
  3. check if you have installed java
  4. start Grafikon
    • using java -jar grafikon.jar from command line
    • or double-click on grafikon.jar
    • or use grafikon.cmd (grafikon.sh)

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.

Grafikon

Binaries with Bundled Java

Binaries are available for Windows and Linux and contains startup binary and bundled java (grafikon-<x.y.z>-<windows|linux>-x86_64.zip).

  1. download zip file
  2. unpack it
  3. start the binary

Installer for Windows

Installer is available for Windows (grafikon-<x.y.z>.msi) and has the same content as the binary bundled with Java.

  1. download the installer
  2. install
  3. start from Start menu

Deb Package for Linux

Package is available for Linux and has the content as the binary bundled with Java

  1. download the package
  2. install
  3. start from the desktop

Zip with Bundled Java for macOS

The package for macOS contains only application bundled with Java without generated binaries.

  1. download zip file
  2. unpack it
  3. start grafikon-image/bin/grafikon

Simple String Substitution Templating

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).

About

Timetables for model railway. Useful for meets with modules (like FREMO, Free-mo etc).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages