Tokyo trains organized into a GraphViz Dot file.
Contributions welcome!
Each line is a subgraph named %LINE_NAMEStations (e.g. HibiyaStations). The
node color should be set as a graph default to the line's color.
Stations are named %BADGE%02NUM (e.g. H03).
labelis a record format string:{%NAME_JP|%NAME_EN}|{%BADGE|%NUM}poscontains the position as%LATITUDE,%LONGITUDE!(where!indicates that the node position should not change)
Each train type is a subgraph named %LINE_NAME%TRAIN_TYPE (e.g. `ToyokoLocal).
The edge color should be set as a graph default for the train type. This graph
contains no nodes and only edges. The edges connect the stations that the train
will stop at as it travels from the first station to the last (i.e. the reverse
direction should not be added).
lenis the length (in minutes) that it takes the train to travel the edge.returnmay beno(defaultyes) to indicate this is a one-way route.reservedmay beyes(defaultno) to indicate seats may be reserved.
Similar to train types, the transfers out from each line are kept in a graph
named %LINE_NAMETransfers (e.g. ChiyodaTransfers).
lenis the length (in minutes) that it takes transfer (by walking).labeldenotes which cars are best positioned for the transfer and, if applicable, the best exit to use when transferring to a different station. The two values should be separated by a|.