Table of Contents
Gaphor has a data model based upon UML 2.0. UML 2.0 has a revised meta model (from which the data model is derived) that is designed to be more usable within modeling tools.
The meta model is split up in several packages. The packages currently used in Gaphor are:
Contains the basic needs for UML models. Amongst those is the definition of a Class.
Dependencies, relationships, etc. are defined here.
... interfaces...
Contains Use Case related data.
This package is added especially for Gaphor. It contains some extensions to the data model, such as the class Diagram and a relationship between diagram items and model elements.
All classes are put in one Python module: UML. For the remainder of this chapter, the packages are split up as they are in the official UML documentation.
The Kernel package described the core modeling concepts. Basically all functionallity given by an UML model is related to this package. Here you can find the definition of Class, Package, attributes and operations, as well as associations.