line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
############################################################################# |
2
|
|
|
|
|
|
|
# (c) by Tels 2004. Part of Graph::Easy. An anonymous (invisible) node. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
############################################################################# |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Graph::Easy::Node::Anon; |
7
|
|
|
|
|
|
|
|
8
|
49
|
|
|
49
|
|
36363
|
use Graph::Easy::Node; |
|
49
|
|
|
|
|
332
|
|
|
49
|
|
|
|
|
2406
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
@ISA = qw/Graph::Easy::Node/; |
11
|
|
|
|
|
|
|
$VERSION = '0.75'; |
12
|
|
|
|
|
|
|
|
13
|
49
|
|
|
49
|
|
308
|
use strict; |
|
49
|
|
|
|
|
116
|
|
|
49
|
|
|
|
|
1995
|
|
14
|
49
|
|
|
49
|
|
272
|
use warnings; |
|
49
|
|
|
|
|
118
|
|
|
49
|
|
|
|
|
13624
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub _init |
17
|
|
|
|
|
|
|
{ |
18
|
21
|
|
|
21
|
|
36
|
my $self = shift; |
19
|
|
|
|
|
|
|
|
20
|
21
|
|
|
|
|
123
|
$self->SUPER::_init(@_); |
21
|
|
|
|
|
|
|
|
22
|
21
|
|
|
|
|
64
|
$self->{name} = '#' . $self->{id}; |
23
|
21
|
|
|
|
|
38
|
$self->{class} = 'node.anon'; |
24
|
|
|
|
|
|
|
|
25
|
21
|
|
|
|
|
57
|
$self->{att}->{label} = ' '; |
26
|
|
|
|
|
|
|
|
27
|
21
|
|
|
|
|
184
|
$self; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub _correct_size |
31
|
|
|
|
|
|
|
{ |
32
|
7
|
|
|
7
|
|
18
|
my $self = shift; |
33
|
|
|
|
|
|
|
|
34
|
7
|
|
|
|
|
18
|
$self->{w} = 3; |
35
|
7
|
|
|
|
|
19
|
$self->{h} = 3; |
36
|
|
|
|
|
|
|
|
37
|
7
|
|
|
|
|
19
|
$self; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub attributes_as_txt |
41
|
|
|
|
|
|
|
{ |
42
|
9
|
|
|
9
|
1
|
18
|
my $self = shift; |
43
|
|
|
|
|
|
|
|
44
|
9
|
|
|
|
|
113
|
$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
|
6
|
|
|
6
|
1
|
19
|
'[ ]'; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
sub _as_part_txt |
58
|
|
|
|
|
|
|
{ |
59
|
10
|
|
|
10
|
|
50
|
'[ ]'; |
60
|
|
|
|
|
|
|
} |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub as_txt |
63
|
|
|
|
|
|
|
{ |
64
|
3
|
|
|
3
|
1
|
21
|
my $self = shift; |
65
|
|
|
|
|
|
|
|
66
|
3
|
|
|
|
|
16
|
'[ ]' . $self->attributes_as_txt(); |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub text_styles_as_css |
70
|
|
|
|
|
|
|
{ |
71
|
0
|
|
|
0
|
1
|
|
''; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub is_anon |
75
|
|
|
|
|
|
|
{ |
76
|
|
|
|
|
|
|
# is an anon node |
77
|
0
|
|
|
0
|
1
|
|
1; |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |
81
|
|
|
|
|
|
|
__END__ |