added support for activity diagrams
added handling of enumerations