//! Format exporter port trait.
//!//! Interface for exporting visual graphs to different formats.
//!//! Revision History
//! - 2025-10-02T16:00:00Z @AI: Initial FormatExporter port.
/// Port trait for format exporters
pubtraitFormatExporter{/// Export visual graph to string
fnexport(&self,
visual_graph:&crate::graph::visualization::domain::visual_graph::VisualGraph,
)->crate::result::hex_result::HexResult<String>;/// Get format name
fnformat_name(&self)->&str;/// Get file extension
fnfile_extension(&self)->&str;}