diff --git a/src/elements/graphviz.rs b/src/elements/graphviz.rs index 9ecb080..6af8b1a 100644 --- a/src/elements/graphviz.rs +++ b/src/elements/graphviz.rs @@ -38,6 +38,7 @@ struct Graphviz { pub location: Token, pub dot: String, pub layout: Layout, + pub width: String, pub caption: Option, } @@ -66,9 +67,13 @@ impl Graphviz { ) { Ok(svg) => { let out = String::from_utf8_lossy(svg.as_slice()); - let split_at = out.find("