pub fn parse_file<T: AsRef<OsStr>>(file: T) -> Result<Parser>
Transform RustDOT from file at run time. Input is tried as UTF-8, UTF-16 and Latin-1 (see details at parse_bytes()).
parse_bytes()
let g = parse_file("polka.dot");