if a document is loaded in design mode, the components in the tree will be expandable because the exact geometry is loaded.
if a document is loaded in visualization mode, the components in the tree cannot be expanded because the graphical information is being read from a CGR file