rate a JSON structure suitable for loadJSON classes
=head1 SYNOPSIS
use HTML::InfoVis;
my $graph = HTML::InfoVis::Graph->new;
$graph->add_edge( 'foo' => 'bar' );
print "var json = " .
$graph->as_json . "\n";
=head1 DESCRIPTION
HTML::InfoVis::Graph is used to generate a JSON structure suitable for loading
by any InfoVis Javascript object that has the C<loadJSON> method.
This is a
raph, and a single method
for generating an anonymous JSON structure representing the graph.
=head1 METHODS
=cut
use 5.006;
use strict;
use JSON 2.16 ();
use Graph 0.85 ();
our $VERSION = '0.03';