Skip to main content

write_dot_to_file

Function write_dot_to_file 

Source
pub fn write_dot_to_file(dot: &str, path: &str) -> Result<()>
Expand description

将 DOT 字符串写入文件

§参数

  • dot - DOT 格式字符串
  • path - 输出文件路径

§返回

成功返回 Ok(()),失败返回 IO 错误