layout

Executes the layout algorithm and returns the result.