Wait until root item from model is extracted and casted to
CompartmentDiagram.

Candidate to fix issue #24