summaryrefslogblamecommitdiff
path: root/lib/Graph/GEXF/Role/Viz/Size.pm
blob: d192db69f17fc0239d0687ae81f3a1cc02716b09 (plain) (tree)



















                                     
package Graph::GEXF::Role::Viz::Size;

use MooseX::Role::Parameterized;

parameter as => (
    is       => 'ro',
    required => 1,
);

role {
    my $p = shift;

    has $p->as => (
        is      => 'rw',
        isa     => 'Num',
        default => '1.0',
    );
};

1;