pub fn parse_yaml_file(path: impl AsRef<Path>) -> Result<Diagram, ParseError>
Parses a YAML file into a validated Diagram.
Diagram