Graph-Easy-As_svg
view release on metacpan or search on metacpan
lib/Graph/Easy/As_svg.pm view on Meta::CPAN
size|
style|
shape|
title|
type|
textstyle|
width|
rotate|
)\z/x;
my $overlay = {
edge => {
"stroke" => 'black',
"text-align" => 'center',
"font-size" => '13px',
},
node => {
"font-size" => '16px',
"text-align" => 'center',
},
};
$overlay->{graph} =
{
"font-size" => '16px',
"text-align" => 'center',
"border" => '1px dashed #808080',
};
# generate the class attributes first
my $style = $self->_class_styles( $skip, $mutator, '', ' ', $overlay);
$txt .=
"\n <!-- class definitions -->\n"
." <style type=\"text/css\"><![CDATA[\n$style ]]></style>\n"
if $style ne '';
$txt .="</defs>\n\n";
###########################################################################
# prepare graph label output
( run in 0.974 second using v1.01-cache-2.11-cpan-49f99fa48dc )