pub fn parse_yaml(input: &str) -> Result<Diagram, ParseError>
Parses a YAML string into a validated Diagram.
Diagram