toSourceCode

fun toSourceCode(graph: Vista, diagramType: Transform.DiagramType, includeCompilerGenerated: Boolean = false): Vista

SOURCE_CODE / IR level: keep instructions only (flat — boxes dropped), filtered to real source-level "code instructions" (!isCompilerGenerated) unless includeCompilerGenerated (the IR level). Edges are contracted through the dropped instructions, then orphans are pruned — so the data-flow view collapses to the source→sink instruction path, and the control-flow view is the ICFG at code-instruction granularity.

Generated with STIG