mod parser;
#[cfg(test)]
mod tests;
pub use parser::parse_smartart_nodes;
#[derive(Debug, Clone)]
pub struct SmartArt {
pub data_xml: Vec<u8>,
pub colors_xml: Option<Vec<u8>>,
pub style_xml: Option<Vec<u8>>,
pub layout_xml: Option<Vec<u8>>,
pub drawing_xml: Option<Vec<u8>>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct SmartArtNode {
pub text: String,
pub children: Vec<SmartArtNode>,
}
pub(crate) mod smartart_rel_type {
pub const DIAGRAM_COLORS: &str =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors";
pub const DIAGRAM_STYLE: &str =
"http://schemas.microsoft.com/office/2007/relationships/diagramStyle";
pub const DIAGRAM_LAYOUT: &str =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout";
pub const DIAGRAM_DRAWING: &str =
"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing";
}