parse_yuml

Function parse_yuml 

Source
pub fn parse_yuml(yuml: &str) -> Result<ParsedYuml, YumlError>
Expand description

Generate the interediate DotFile from the yUML input. Usage:

use std::fs::read_to_string;
use yuml_rs::parse_yuml;

let yuml = read_to_string("activity.yaml").expect("can not read input file");
let dot = parse_yuml(&yuml).expect("invalid yUML");