NAME
Map::Tube::GraphViz::Utils - Utilities for Map::Tube::GraphViz module.
SYNOPSIS
use Map::Tube::GraphViz::Utils qw(node_color node_color_without_label color_line);
node_color($obj, $node);
node_color_without_label($obj, $node);
my $color = color_line($obj, $line);
SUBROUTINES
node_color($obj, $node)
-
Create GraphViz color node. $obj is Map::Tube::GraphViz object. Returns undef.
node_color_without_label($obj, $node)
-
Create GraphViz color node without label. $obj is Map::Tube::GraphViz object. Returns undef.
color_line($obj, $line)
-
Get line color. $obj is Map::Tube::GraphViz object. Returns color of metro line.
ERRORS
color_line():
No color for line '%s'.
DEPENDENCIES
Error::Pure, Exporter, Readonly.
SEE ALSO
REPOSITORY
https://github.com/tupinek/Map-Tube-GraphViz
AUTHOR
Michal Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2014 Michal Špaček
BSD 2-Clause License
VERSION
0.01