Graph::Easy::Attributes - Define and check attributes for Graph::Easy
Contents
Description
"Graph::Easy::Attributes" contains the definitions of valid attribute names and values for Graph::Easy.
It is used by both the parser and by Graph::Easy to check attributes for being valid and well-formed.
There should be no need to use this module directly.
For a complete list of attributes and their possible values, please see Graph::Easy::Manual.
Export
Exports nothing.
Name
Graph::Easy::Attributes - Define and check attributes for Graph::Easy
See Also
Graph::Easy.
Synopsis
use Graph::Easy;
my $graph = Graph::Easy->new();
my $hexred = Graph::Easy->color_as_hex( 'red' );
my ($name, $value) = $graph->valid_attribute( 'color', 'red', 'graph' );
print "$name => $value\n" if !ref($value);
