generateDiff
function generateDiff(params): DiffOutput;Defined in: src/diff.ts:449
Generate an SVG diff diagram comparing two AWS Step Functions ASL definitions.
Added states are highlighted green, modified states yellow, and removed states red. Removed states are included as orphan end-nodes so they remain visible in the diagram.
Parameters
Section titled “Parameters”params
Section titled “params”Any additional DiagramOptions passed through to generateSvg
Returns
Section titled “Returns”DiffOutput with SVG markup and a per-category state summary
Remarks
Section titled “Remarks”With collapse set, a changed state that ends up inside a collapsed container’s
placeholder would otherwise vanish from the diagram along with its diff color. The
placeholder is flagged instead: an amber (modified) outline, plus a "<n> changed inside" annotation (unless the container itself already carries a more specific
added/removed status, which wins).