Railroad diagram