File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -243,8 +243,12 @@ pub fn generate_deck(
243
243
// Find end-of-block, in case it's the end of a diagram.
244
244
if line == "```" {
245
245
if let Some ( diagram_str) = collecting_diagram. take ( ) {
246
- // This is the end of a mermaid block
247
- println ! ( "Got graph: {:?}" , diagram_str) ;
246
+ // This is the end of a dot block
247
+ log:: debug!( "Got graph: {:?}" , diagram_str) ;
248
+ log:: info!(
249
+ "Calling graphviz to render diagram in {}" ,
250
+ in_path. display( )
251
+ ) ;
248
252
let diagram = graphviz_rust:: exec_dot (
249
253
diagram_str,
250
254
vec ! [ graphviz_rust:: cmd:: CommandArg :: Format (
@@ -265,7 +269,7 @@ pub fn generate_deck(
265
269
if let Some ( graph_str) = collecting_diagram. as_mut ( ) {
266
270
graph_str. push_str ( line) ;
267
271
graph_str. push ( '\n' ) ;
268
- // Don't emit the mermaid code
272
+ // Don't emit the dot code
269
273
continue ;
270
274
}
271
275
You can’t perform that action at this time.
0 commit comments