My task is to make a mosaic like in the picture.
But to assemble it manually for an entire room, and even in several rows, is quite long and difficult. Therefore, I have a question is there a way to procedurally generate a mosaic from a collection of elements, taking into account the fact that the sizes of the elements differ?
[Update 1] So I was shown a similar scheme here. And I made such a node tree:
However, I still can't get the desired result. I get either an array with empty spaces if I use Max Bounding Box:
Or getting a hodgepodge of objects if I use Min Bounding Box:

[Update 2] The solution suggested by Robin Betts is what I was looking for, thank you. You can find it here


