Layout nodes in format tree.