# For use of graphviz package.

# Use internal latexmk variable to find the names of the pdf file(s)
# to be created by dot.
push @file_not_found, 'runsystem\(dot -Tpdf -o ([^ ]+) ';

add_cus_dep( 'dot', 'pdf', 0, 'dottopdf' );
sub dottopdf {
  system( "dot", "-Tpdf", "-o", "$_[0].pdf", "$_[0].dot" );
}

