Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes Dependency Graph does not load #7

Open
sfdcschwabe opened this issue Feb 14, 2024 · 1 comment
Open

Classes Dependency Graph does not load #7

sfdcschwabe opened this issue Feb 14, 2024 · 1 comment

Comments

@sfdcschwabe
Copy link

Describe the bug
A clear and concise description of what the bug is and the context (PC or Mac, VSCode version, where you clicked, etc.)

When I've opened the "Dependency graph for Apex Classes" the following error message in my browser appears:
Classes Dependency Graph for /Users/christianschwabe/Salesforce/Salesforce/force-app/main/default

Number of Dependencies: 700
WARNING: Graph is limited to 700 dependencies.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image

image

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser: Safari
  • Version: Version 17.0 (19616.1.27.211.1)

Additional context
Add any other context about the problem here.

@Fernando-Fernandez
Copy link
Contributor

Fernando-Fernandez commented Jun 30, 2024

Sorry for the delayed response! Thank you for reporting the issue!

This is likely caused by class names that are too long combined with too many dependencies.
That results in a file that is too big to be handled by Mermaid.js

Unfortunately, I don't yet have a solution for that.
Maybe in the future I could implement a way to trim the class names or cut the number of dependencies reported (that would make the graph less accurate though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants