Generating layouts

Hi all. I want to separate my entities into several layouts.
How to specify in which layout does the entity belong?
Is there a way to define layouts using dxflib as well?

Thanks,
Dejan