Allow configuration of graph layout direction.