Add railroad diagrams