Text this: Orientation and layout problems on graphs, with applications