d3-grid
d3-grid copied to clipboard
If both rows and cols are fixed, what happens if there are too many nodes?
E.g. if we have .cols(2).rows(2), where does the 5th node go? Repeat at 0,0? Create more rows (or columns)?
Not that CSS is the best language to steal from, but could .overflow('cols') or .minRows(2) be something? I don't really like these suggestions, but they might get you somewhere…
If I set both dimensions, I think I'd expect items that don't fit to be hidden, otherwise I'd just set one of the two dimensions.