While almost all UML tools provide a means of obtaining the structural content of a body of source material, i.e. namespaces as: packages, Class, Interfaces, Attributes and Operations.

Has anyone come across a tool/library which can take an operation definition and construct a UML Activity model/Diagram ? Preferably open source.

1 Answer 1


I've done a bit of work in this arena and never encountered a product that generates Activity Diagrams.

Generated diagrams, e.g. Class and Sequence, tend to be too busy to be useful for all but trivial systems. Someone usually has to reduce them to just what is needed for some specific purpose. Otherwise it's like the proverbial sipping water from a fire hydrant.

I favor products that reverse structures (Classes and their attributes and methods) from the source code into some model and then let me draw upon that model to create useful diagrams, from a particular perspective and for a specific purpose.

I’ve had good luck with:

  1. Rational Rose, before IBM’s acquisition.
  2. Sparx Systems Enterprise Architect.
  3. Visual Studio and Visio (circa 2005), before Microsoft crippled the products. It's a shame they removed the round trip engineering capabilities - and more.

Personally I haven’t had much luck with free/open source products. Best of luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.