Dependency Graph for SalesforceThis extension scans the Salesforce metadata and code stored in /force-app/main/default to extract class/method names and find dependencies between them then opens a dependency graph in an HTML page using Mermaid JS. FeaturesThis extension will open a dependency graph for the selected type of element. Activate with Ctrl + Shift + P or right click a folder or file then select one of the "Dependency graph..." options. Dependency graph for Aura components Dependency graph for Apex Classes Dependency graph for Lightning Web Components Dependency graph from the right click context menu RequirementsThe metadata must have been downloaded and available in the folder /force-app/main/default using "SFDX: Retrieve Source from Org". Extension SettingsThis extension has no settings to configure. Known IssuesSometimes when you open the same graph twice in a row, the graph is displayed slightly different. This seems to be related to the sort order. Release Notes1.0.10Fixed handling of folder names in Windows appearing as ///c%3a 1.0.9Fixed handling of folder names with spaces 1.0.8Better detection of non-method references, refactoring and new tests 1.0.7Enhanced the seeking of dependencies when an item is right-clicked 1.0.6Bug fix for Windows version 1.0.5Enhanced code that parses method calls to work better with Mermaid JS 1.0.4New icon, dependency graph for single item now includes "grandparents" and "grandchildren" dependencies, adjusted compatibility with VSCode 1.60 and later versions 1.0.3Increased maximum number of dependencies and added context menu items and ability to display the graph for only one item with all its dependencies 1.0.2Replaced the Node "open" package - it sometimes does not get installed properly for some reason 1.0.1Added issue reporting GitHub template 0.0.1Initial release of Dependency Graph for Salesforce |