line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::InfoVis; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=pod |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
HTML::InfoVis - Content generators for the InfoVis Javascript toolkit |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 DESCRIPTION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
B is an experimental set of packages that provide a Perl API |
12
|
|
|
|
|
|
|
to the JavaScript InfoVis tree/graph rendering library. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
More information can be found at L. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
In this initial implementation, the only available class is |
17
|
|
|
|
|
|
|
L, which assists in generation InfoVis-compatible |
18
|
|
|
|
|
|
|
JSON graph dumps. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=cut |
21
|
|
|
|
|
|
|
|
22
|
2
|
|
|
2
|
|
40380
|
use 5.006; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
92
|
|
23
|
2
|
|
|
2
|
|
14
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
552
|
|
24
|
2
|
|
|
2
|
|
12792
|
use HTML::InfoVis::Graph (); |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
94
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
our $VERSION = '0.03'; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SUPPORT |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Bugs should be reported via the CPAN bug tracker at |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
For other issues, or commercial enhancement or support, contact the author. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHORS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Adam Kennedy Eadamk@cpan.orgE |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Copyright 2009 - 2012 Adam Kennedy. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This program is free software; you can redistribute |
49
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
The full text of the license can be found in the |
52
|
|
|
|
|
|
|
LICENSE file included with this module. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |