RailRoady Diagram Generation