The related question is in https://github.com/vega/vega/issues/3010
I am using Vega to draw an interactive Gantt chart, in which case I would show the rects using BFS