Some preparation for dynamic layout recomputation. Collapsed/Expanded nodes are not considered yet.