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.
| Flag | What 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
| Code | Meaning |
|---|---|
0 | The project has no flows (empty map). |
1 | At least one flow or edge was rendered. |
2 | Error (unscannable path, unknown --format). |
Command reference
Generated from vulkro-sf flowmap --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Map how the org's automations (flows, triggers, processes) connect to each other.
vulkro-sf flowmap [OPTIONS] [PATH]
Arguments
| Argument | Description |
|---|---|
[PATH] | Path to the SFDX project or retrieved metadata (defaults to the current directory) Default: .. |
Options
| Flag | Description |
|---|---|
-f, --format <FORMAT> | Output format: json, mermaid, or dot. Default: json. |
-v, --verbose... | Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins) |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro-sf flowmap --help
Map how the org's automations (flows, triggers, processes) connect to each other.
Render the org's automation PROCESS MAP as a deterministic adjacency / edge list.
Builds the cross-file metadata reference graph once, extracts every Flow's logic model and dependency set, and emits the directed automation graph: `Flow -> subflow`, `Flow -> Apex class`, and `Flow -> object` edges. The map is sorted, so two runs over the same source produce byte-identical output suitable for a diff, an architecture review, or a committed artefact.
Output formats: `json` (nodes + edges envelope), `mermaid` (`flowchart LR`, paste into a Mermaid renderer), or `dot` (Graphviz `digraph`, pipe into `dot -Tsvg`). The map is best-effort: dynamic subflow launches, Type.forName Apex dispatch, managed-package automation, and live-org-only declarative wiring are not visible.
Exit codes: 0 = the project has no Flows (an honest-empty map); 1 = at least one Flow / edge was rendered (a non-empty map); 2 = error (unscannable path, unknown --format).
Usage: vulkro-sf flowmap [OPTIONS] [PATH]
Arguments:
[PATH]
Path to the SFDX project or retrieved metadata (defaults to the current directory)
[default: .]
Options:
-f, --format <FORMAT>
Output format: json, mermaid, or dot
[default: json]
-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')