I'm implementing a custom layout provider and would like to ensure that
the contents of any compartments have the same layout applied. The
algorythm I'm applying needs to know the size of the nodes container. In
the case of the diagram I am using the following code: