import java.nio.file.*; import java.util.*; import click.kamil.springstatemachineexporter.service.ExportService; import click.kamil.springstatemachineexporter.exporter.*; import click.kamil.springstatemachineexporter.analysis.service.EnrichmentService; public class InspectGolden { public static void main(String[] args) throws Exception { Path inputDir = Path.of("state_machines/complex_state_machine"); Path tempDir = Files.createTempDirectory("golden-update-"); List exporters = List.of(new PlantUml(), new Dot(), new Scxml(), new JsonExporter()); EnrichmentService enrichmentService = new EnrichmentService(Collections.emptyList()); ExportService exportService = new ExportService(exporters, enrichmentService); exportService.runExporter(inputDir, tempDir, null, true); try (var stream = Files.list(tempDir)) { stream.forEach(System.out::println); } } }