MCPcopy Index your code
hub / github.com/afawcett/apex-umlcanvas

github.com/afawcett/apex-umlcanvas @v1.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7 ↗ · + Follow
367 symbols 808 edges 33 files 25 documented · 7% updated 7y agov1.7 · 2019-01-21★ 1106 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

Shape

Function 367

Languages

TypeScript100%

Modules by API surface

force-app/main/default/staticresources/apexuml/scripts/jquery-1.11.0.js86 symbols
force-app/main/default/staticresources/apexuml/scripts/jquery-1.10.2.js83 symbols
force-app/main/default/staticresources/apexuml/scripts/jquery-1.11.0.min.js76 symbols
force-app/main/default/staticresources/apexuml/scripts/jquery-ui-1.10.4.custom.js54 symbols
force-app/main/default/staticresources/apexuml/scripts/umlcanvas/lib/Canvas2D.standalone.js51 symbols
force-app/main/default/staticresources/apexuml/scripts/jquery-ui-1.10.4.custom.min.js15 symbols
force-app/main/default/staticresources/apexuml/scripts/umlcanvas/DepCheck.js2 symbols

For agents

$ claude mcp add apex-umlcanvas \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page