Model decomposition has a package level granularity. Smaller elements cannot be split into separate projects. Basically, each project package could be partitioned into separate projects; however, this is excessive.
The decision on how to split a model into parts should be made carefully. You should isolate model parts that form logically complete pieces of a structure (e.g., a subsystem, code library, or profile) and are not very dependent on each other.
When there are many one-way dependencies to a model part (e.g., parts A, B, C depend on a part D, but part D does not depend on any of the parts A, B, C), this part is a good candidate for placement into a separate project.
When one big project is used to store all modeling information (e.g., use case models, high level architectural models, detailed implementation level class, sequence, state, and other information), it may be useful to partition the models according to the modeling domains (i.e., use cases in one used project, architectural models in another, implementation level models in yet another). This allows unloading unnecessary used projects while working on one part (and improving the performance), while retaining the relationships between domains and loading used projects on demand.
Avoid decomposing a model into parts which have circular dependencies. That is, A ↔ B or A → B → C → A situations.
Usually programmers are very adept at splitting large code bases into libraries. The very same criteria should be applied for splitting large models into separate projects.
The MagicDraw project decomposition functionality allows two important options:
- Working without all used projects loaded.
- Using the project in the read-write accessibility mode.
Used projects are often exploited for storing profiles. However, a used project is not a profile, and it is important not to mix them. Any model part can be stored in a separate project.