-redef class Model
- # Returns a UML package diagram of `main`
- redef fun tpl_module(ctx, main) do
- return main.tpl_module(ctx, main)
- end
+redef class MEntity
+ # Builds a dot UML package diagram entity from `self`
+ fun tpl_module(model: UMLModel): Writable is abstract