busbar-actions/Busbar Dependency Graph

Build a Salesforce metadata dependency graph, cluster it into packages, and emit JSON + SVG

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
metadata-pathPath to an SFDX project root, force-app source directory, or unzipped metadata folder.yes
output-dirWhere the graph, clusters, and SVG outputs land.no.busbar/artifacts/dependency-graph
emit-graphEmit the full dependency graph as JSON (nodes + typed edges).notrue
graph-pathRelative-to-output-dir filename for the graph JSON.nograph.json
emit-clustersCluster components into packages and emit clusters JSON.notrue
clusters-pathRelative-to-output-dir filename for the clusters JSON.noclusters.json
min-cluster-sizeMinimum components per cluster.no3
max-cluster-sizeMaximum components per cluster.no100
target-packagesTarget number of clusters (used for clustering heuristics and Voronoi paneling).no8
emit-svgEmit a Voronoi-style SVG of the clustered packages.notrue
svg-pathRelative-to-output-dir filename for the SVG.nopackages.svg
svg-widthSVG width in pixels.no1600
svg-heightSVG height in pixels.no1000
commitCommit the generated files back to the current branch.nofalse
commit-messageCommit message used when commit=true.nochore(deps): refresh dependency graph
git-user-namegit user.name for the commit.nobusbar-bot
git-user-emailgit user.email for the commit.nobot@busbar.agency
comment-prPost a summary comment on pull_request events.notrue
upload-artifactUpload outputs as a workflow artifact.notrue
artifact-nameArtifact name when upload-artifact=true.nodependency-graph
versionRelease tag of the sf-dependency-graph binary. Falls back to env.BUSBAR_ACTION_VERSION, then "latest".no""
binary-repoGitHub repo hosting prebuilt binary releases. Falls back to env.BUSBAR_ACTION_REPO, then busbar-actions/actions-dist.no""
namedescription
graph-pathPath to the emitted graph JSON (empty if emit-graph=false).
clusters-pathPath to the emitted clusters JSON (empty if emit-clusters=false).
svg-pathPath to the emitted SVG (empty if emit-svg=false).
component-countNumber of components in the graph.
edge-countNumber of dependency edges in the graph.
cluster-countNumber of clusters produced.
modularityModularity score of the clustering (empty if clusters not emitted).
changed"true" if commit=true and generated files were committed back.