option dump_xml_to_json => (
is => 'rw',
isa => IsDir,
format => 's',
doc => 'Specify a directory to convert and dump XML files in the workflow as JSON. This implies a dr
ttlib_base_dir
);
}
if ( $self->dump_xml_to_json && ! $self->dryrun ) {
$self->logger->info( 'dump_xml_to_json is enabled without a dryrun. Enabling dryrun as well.' );
);
}
sub __maybe_dump_xml_to_json {
my $self = shift;
my $dump_path = $self->dump_xml_to_json || return;
my $logger = $self->logger;
require JSON;
my $sv
;
my $d3 = Graph::D3->new(
graph => $g,
type => 'json',
);
print $d3->force_directed_graph;
}
=head1 SEE ALSO
L<App::Oozi