Sentence:  The timing and <WSD>diagramming</WSD> staff, too, were on duty for up to 21 hours devising 80 engine, 60 guards' and 25 carriage working diagrams. 
Meaning of the word marked with <WSD> tags:  To schedule the operations of a locomotive or train according to a diagram.