Graph::Easy::Attributes - Define and check attributes for Graph::Easy
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);
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.
Graph::Easy::Attributes
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.
Exports nothing.
Graph::Easy.
Copyright (C) 2004 - 2007 by Tels http://bloodgate.com
See the LICENSE file for information.
To install Graph::Easy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graph::Easy
CPAN shell
perl -MCPAN -e shell install Graph::Easy
For more information on module installation, please visit the detailed CPAN module installation guide.