Skip to main content

vulkro-sf flowmap

Maps how the project's automations connect: Flow -> subflow, Flow -> Apex class and Flow -> object edges.

vulkro-sf flowmap . > flowmap.json
vulkro-sf flowmap . --format mermaid > flowmap.mmd
vulkro-sf flowmap . --format dot | dot -Tsvg > flowmap.svg

The output is sorted, so two runs over the same source are byte-identical: good for a diff, an architecture review or a committed file. No org connection is needed.

The map is best-effort. It cannot see dynamic subflow launches, Type.forName Apex dispatch, managed-package automation, or wiring that exists only in the live org.

FlagWhat it does
[PATH]SFDX project or retrieved metadata. Default ..
--format <json|mermaid|dot>json (nodes and edges), mermaid (flowchart LR) or dot (Graphviz digraph). Default json.

Exit codes​

CodeMeaning
0The project has no flows (empty map).
1At least one flow or edge was rendered.
2Error (unscannable path, unknown --format).