NAME
Graphics::Grid::ViewportTree - Viewport tree
VERSION
version 0.0000_03
SYNOPSIS
DESCRIPTION
This is a subclass of Forest::Tree, storing viewports at tree nodes.
METHODS
node()
my $viewport = $tree->node;
Get the viewport from the tree node.
path_from_root()
my $viewports = $tree->path_from_root();
Return an array of viewports, starting from the root node of the whole tree, all the way down in the tree and to the calling node.
stringify()
my $tree_as_a_string = $tree->stringify();
Return the tree structure as a string.
SEE ALSO
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.