Layout disconnected graphs