Create UML diagrams from Apex code using the Tooling API
Clone or download
Latest commit 218fc8c Jan 21, 2019

README.md

Apex UML

Logo

Contributors

Currently this tool has the following contributors, please join us!

Apex UML (Native version)

Since Dreamforce 2013, I was contacted by John M. Daniel, who asked if it was possible to create a version of the tool without using a Heroku applicaiton, by consuming the Tooling API from Apex directly. About the same time James Loghry and I had also started working on a native Apex wrapper for the Tooling API. And so from this point forward the Apex UML tool is completly native, no Heroku instance is required!

Further information and blog posts...

NOTE: If you have installed the earlier version, don't worry, simply take the latest package install link below and it will automatically upgrade you to the native version.

Apex UML (Canvas version)

This version of the tool is no longer live. If you still want to know more about consuming the API from a Canvas / Java context though you can read more about this tool at my blog post here. You can also watch the Dreamforce 2013 presentation on how it was built here and download the slides from here.

Installing the Tool

  • Install via the latest package link below
  • Ensure your Apex classes are compiled
  • Assign the Apex UML permission set
  • Go to Apex Classes page and click the Compile all classes link
  • Navigate to the Apex UML page and select a class
  • Your good to go!

NOTE: If your org is not using My Domain, you will see a Remote Site setting message popup, follow it and then reload the page.

Package Versions

  • v1.7 Production Install or Sandbox Install - Fix for issue 14 collection size exceeded. Also migrated repo to SFDX and added Lightning support. Remote Site setup no longer required for My Domain orgs.

  • v1.5 Package install link - Fix for issue 5

  • v1.4 Package install link - Fix for issue 4 (depricated)

  • v1.3 Package install link (depricated)

  • v1.2 Package install link (depricated)

Known Issues

  • Read timeout error. This error currently seems to appear when the Tooling API has to demand compile code to determine the Symbol Table. We will look into ways to aviod this and/or provide feedback when this is happening. In the meantime please go to the Apex Classes page and click the Compile All Classes link before using the tool.
  • Canvas App not found error. This error occurs if you are running v1.2 of the tool, as the Canvas Connected App no longer exists, please upgrade to v1.3 or later.

Get Involved in Enhancing this Tool!

There has been great deal of interest in this tool and enhancing it since i launched it ahead of Dreamforce 2013. I'd like to start a list of ideas and enhancements for and invite the community to help build those features. Here is a list of ideas.