ropensci / drake

An R-focused pipeline toolkit for reproducibility and high-performance computing
https://docs.ropensci.org/drake
GNU General Public License v3.0
1.34k stars 128 forks source link

Custom graph layout #844

Closed wlandau closed 5 years ago

wlandau commented 5 years ago

Prework

Description

For the graph visuals, the default Sugiyama layout does not look as good as the hierarchical layout, and we needed to get away from the hierarchical layout in order to solve #834. So I think it is time to impose custom x and y coordinates for the graph. Requirements:

wlandau commented 5 years ago

Local experimentation shows that post-hoc hacks to y coordinates are only roughly respected in visNetwork graphs (e.g. graph$x$nodes$y). I am not sure about the proper way to do this.