type LayeredRankdir = 'TB' | 'BT' | 'LR' | 'RL';
Where the ranks run: top to bottom, bottom to top, left to right or right to left.