4. Tree layout