Perl6::MetaModel Diagrams


Here are some sample outputs of the Perl6::MetaModel class grapher. The bare metamodel is shown here, some select examples are shown below. These examples are taken from examples in the Perl6::MetaModel test suite.

How to read the diagrams:

- Meta Level classes are shown in Black.
- Roles are shown in Orange.
- User Level classes are shown in Green.
- Autogenerated Eigenclasses are shown in Light Grey.
- Instance of relationships are shown with a dotted Red line.
- Subclass of relationships are shown with a dashed Blue line.
- does() (Role) relationships are shown with a solid Orange line.

Examples

The diagram on this page could then be read as follows:

- Object is an instance of Class
- Package is a subclass of Object
- Package is an instance of Class
- Module is a subclass of Object
- Module is an instance of Class
- Class is a subclass of Module
- Class is an instance of Class (the cycle in our object model)
- Role is a subclass of Module
- Role is an instance of Class
- Class does Role
- EigenClass is a subclass of Class
- EigenClass is an instance of Class


© Copyright 2005 Stevan Little