line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
############################################################################# |
2
|
|
|
|
|
|
|
# (c) by Tels 2004. Part of Graph::Easy. An anonymous group. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
############################################################################# |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Graph::Easy::Group::Anon; |
7
|
|
|
|
|
|
|
|
8
|
48
|
|
|
48
|
|
19400
|
use Graph::Easy::Group; |
|
48
|
|
|
|
|
92
|
|
|
48
|
|
|
|
|
1249
|
|
9
|
48
|
|
|
48
|
|
167
|
use warnings; |
|
48
|
|
|
|
|
47
|
|
|
48
|
|
|
|
|
1823
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
@ISA = qw/Graph::Easy::Group/; |
12
|
|
|
|
|
|
|
$VERSION = '0.76'; |
13
|
|
|
|
|
|
|
|
14
|
48
|
|
|
48
|
|
159
|
use strict; |
|
48
|
|
|
|
|
66
|
|
|
48
|
|
|
|
|
9492
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub _init |
17
|
|
|
|
|
|
|
{ |
18
|
16
|
|
|
16
|
|
14
|
my $self = shift; |
19
|
|
|
|
|
|
|
|
20
|
16
|
|
|
|
|
50
|
$self->SUPER::_init(@_); |
21
|
|
|
|
|
|
|
|
22
|
16
|
|
|
|
|
25
|
$self->{name} = 'Group #' . $self->{id}; |
23
|
16
|
|
|
|
|
19
|
$self->{class} = 'group.anon'; |
24
|
|
|
|
|
|
|
|
25
|
16
|
|
|
|
|
19
|
$self->{att}->{label} = ''; |
26
|
|
|
|
|
|
|
|
27
|
16
|
|
|
|
|
26
|
$self; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub _correct_size |
31
|
|
|
|
|
|
|
{ |
32
|
0
|
|
|
0
|
|
0
|
my $self = shift; |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
0
|
$self->{w} = 3; |
35
|
0
|
|
|
|
|
0
|
$self->{h} = 3; |
36
|
|
|
|
|
|
|
|
37
|
0
|
|
|
|
|
0
|
$self; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub attributes_as_txt |
41
|
|
|
|
|
|
|
{ |
42
|
5
|
|
|
5
|
1
|
8
|
my $self = shift; |
43
|
|
|
|
|
|
|
|
44
|
5
|
|
|
|
|
29
|
$self->SUPER::attributes_as_txt( { |
45
|
|
|
|
|
|
|
node => { |
46
|
|
|
|
|
|
|
label => undef, |
47
|
|
|
|
|
|
|
shape => undef, |
48
|
|
|
|
|
|
|
class => undef, |
49
|
|
|
|
|
|
|
} } ); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
sub as_pure_txt |
53
|
|
|
|
|
|
|
{ |
54
|
0
|
|
|
0
|
1
|
|
'( )'; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
sub _as_part_txt |
58
|
|
|
|
|
|
|
{ |
59
|
0
|
|
|
0
|
|
|
'( )'; |
60
|
|
|
|
|
|
|
} |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub as_graphviz_txt |
63
|
|
|
|
|
|
|
{ |
64
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
65
|
|
|
|
|
|
|
|
66
|
0
|
|
|
|
|
|
my $name = $self->{name}; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
# quote special chars in name |
69
|
0
|
|
|
|
|
|
$name =~ s/([\[\]\(\)\{\}\#])/\\$1/g; |
70
|
|
|
|
|
|
|
|
71
|
0
|
|
|
|
|
|
'"' . $name . '"'; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub text_styles_as_css |
75
|
|
|
|
|
|
|
{ |
76
|
0
|
|
|
0
|
1
|
|
''; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
sub is_anon |
80
|
|
|
|
|
|
|
{ |
81
|
|
|
|
|
|
|
# is an anon group |
82
|
0
|
|
|
0
|
1
|
|
1; |
83
|
|
|
|
|
|
|
} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
1; |
86
|
|
|
|
|
|
|
__END__ |