NAME

Treex::View::TreeLayout - Inspired by Treex::Core::TredView::TreeLayout

DESCRIPTION

Set of helper methods for generating layout for p-trees and labels These methods are heavily inspired by Treex::Core::TredView::TreeLayout

NOTE

TODO: Refactoring needed

METHODS

get_tree_label

Tree label based on tree type, current language and selector

get_layout_label

Returns comma separated string of layout labels - used for storing layout configuration.

NOT USED

get_zone_label

Zone label based on language and selectors

get_nodes

List of all nodes in given tree

get_sentence_for_a_zone

Get sentence - array of array refs, including separate words and pointers to tree nodes

value_line

Returns all sentences in current bundle, creating so called value_line

AUTHOR

Michal Sedlak <sedlak@ufal.mff.cuni.cz>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Michal Sedlak

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

BUGS

None reported... yet.