pub fn decompile_model(
input: &Path,
format: Option<&str>,
verbose: bool,
) -> Result<DecompileResult, String>Expand description
Decompile an interchange file to SysML text with metadata.
This function converts an XMI/KPAR/JSON-LD file to SysML text plus a companion metadata JSON file that preserves element IDs for lossless round-tripping.
§Arguments
input- Path to the interchange fileformat- Optional format override (otherwise detected from extension)verbose- Enable verbose output
§Returns
A DecompileResult with SysML text and metadata JSON.