pikru 1.2.1

A pure Rust implementation of pikchr, a PIC-like diagram markup language that generates SVG
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    // Test rounded corners on boxes
    let input = r#"
box "Normal"
arrow
box "Rounded" radius 10
arrow
box "More Round" radius 20
"#;
    match pikru::pikchr(input) {
        Ok(svg) => println!("{}", svg),
        Err(e) => eprintln!("Error: {}", e),
    }
}