activity diagram support

Here is the requested pull request.