Skip to main content

Catalogue

πŸ“„οΈ Weighted Hierarchy

Containment plays a central role in enabling abstraction in software engineering. It describes the relationship between two objects where one object is a part of – or belongs to – the other. It creates hierarchical structures where the parent objects (the containers) contain child objects (the containees). Conceptually, the lifespan of the containees is contingent on that of the container: when the container is deleted, so are the containees. The Weighted Hierarchy SMS exploits the support of composition (a restrictive form of association) in many DSLs to visualise recursive containment relationships, where each element can be attributed an importance or weight.