private AttributedGraphExporter getDefaultExporter() {

		// first try the last one used
		for (AttributedGraphExporter exporter : exporters) {
			if (lastUsedExporterName.equals(exporter.getName())) {
				return exporter;
			}
		}

		return exporters.isEmpty() ? null : exporters.get(0);
	}
Construct a new ExporterDialog for exporting a program, optionally only exported a
selected region.

@param graph the graph to save
@param exporters the list of known exporters
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/export/GraphExporterDialog.java