summaryrefslogblamecommitdiff
path: root/lib/Graph/GEXF/Role/Viz/Size.pm
blob: aef157487f5460bf61464336a7bf1b916b8f077d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                     
                               



      
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',
        traits  => ['Chained'],
    );
};

1;