d3-grid icon indicating copy to clipboard operation
d3-grid copied to clipboard

If both rows and cols are fixed, what happens if there are too many nodes?

Open jstcki opened this issue 12 years ago • 1 comments

E.g. if we have .cols(2).rows(2), where does the 5th node go? Repeat at 0,0? Create more rows (or columns)?

jstcki avatar May 31 '13 14:05 jstcki

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.

grossbart avatar Jun 01 '13 20:06 grossbart