Paper is resized when realigning document tree.
Dynamic height rectangle is drawn next to complex types.
Basic implementation of non-expandable elements.
Pointer cursor state is used for expandable elements.