NAME
Graphics::Grid::ViewportTree - Viewport tree
VERSION
version 0.001
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.
string()
my $tree_as_a_string = $tree->string();
Returns a string to represent the object.
SEE ALSO
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018-2023 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.