Closed nanodeath closed 6 years ago
I understand how to make the DAG go from top -> bottom, based on #4, but what if I want to go bottom -> top -- so that the arrows are all pointing upwards?
Found it -- it's documented on the dagre page itself, here. Setting rankDir: 'BT' in the layout did the trick.
rankDir: 'BT'
The API at the root of this repo mentions rankDir, but only TB and LR as available options.
rankDir
TB
LR
I understand how to make the DAG go from top -> bottom, based on #4, but what if I want to go bottom -> top -- so that the arrows are all pointing upwards?