Nesting elements is not good, I know. But I agreed to break that rule sometime ago to model a complex organisational structure because there is a requirement to present it in a hierarchical format very similar to a work breakdown structure (WBS).
The immediate problem appears to be that, on the version of Sparx we are using on our live environment (v13), documentation templates do not include any nested elements below the 2nd level, they don't appear to be recursive. Currently we appear to have between 7 and 8 levels of nesting.
Is there a quick fix? Am I missing something?
In the long term, we will flatten the nested structure. However, we need to give some consideration to how to represent the relationship implied by the hierarchical structure. The hierarchical structure is representing 3 types of relationships:
- control, which we could represent using a Dependency
- type of, which we could represent using a Generalisation/Specialisation
- "consists of", which could represented using a Composition
Any thoughts on this are also welcomed?