App-Oozie
view release on metacpan or search on metacpan
lib/App/Oozie/Deploy/Validate/DAG/Workflow.pm view on Meta::CPAN
sub _dump_graphviz {
my $self = shift;
my $g = $self->current_graph || die "current_graph is not set!";
my $file = $self->graph_filename;
require Graph::Writer::GraphViz;
Graph::Writer::GraphViz->new(
-edge_color => 1,
-fontsize => 8,
-format => 'png',
-layout => 'twopi',
-node_color => 2,
-ranksep => 1.5,
)->write_graph( $g, $file );
$self->logger->info( "$file is created." );
return;
}
( run in 1.291 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )