Method
addTraceLink(source:target:)
Adds a traceability link from a source model element to generated text.
@MainActor func addTraceLink(source: any EObject, target: String)
Parameters
source-
The source model element
target-
The target location identifier (e.g., file path)
Discussion
Trace links enable bidirectional navigation between models and generated text for debugging, impact analysis, and incremental generation.