Railroad diagrams should not use `java.awt` drawing functionality for graphics
In rail diagrams, lines consist of many short line segments as well as quarter arcs. The start and end of these segments must exactly fit onto each other to get a proper diagram, but
awt isn't very stable in its output. Toggling a setting can leave gaps in the connections.
As rail diagrams have a very limited number of segment types, the path to solve this seems to be plotting the segments ourselves.
Paint quarter arcs without
Paint horizontal and vertical lines without
Fix text size or alignment issue.
Debug alignment issues in the diagrams.