Treex::Core::TredView::TreeLayout - Layout of trees in Tred
version 2.20160630
This package supports the main Tred visualization package Treex::Core::TredView. It's purpose is to allow an user friendly configuration of the placement of the trees stored in a bundle.
The mechanism works only with bundles. Each bundle gets a label that describes it's content (combination of layers, languages and selectors). When there is a bundle to be displayed, the package constructs its label and tries to find its layout. If the label is unknown (no layout found), default is provided.
Therefore it's perfectly legal to have different sets of trees in each bundle in a single file. Also, when a layout is configured for some set of trees, it will be used each time the same set is displayed even if these sets occur in completely different and unrelated files.
The configuration is persistent - it is saved along with the tred extension in a special file.
Josef Toman <toman@ufal.mff.cuni.cz>
Copyright © 2011 by Institute of Formal and Applied Linguistics, Charles University in Prague
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Treex::Core, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treex::Core
CPAN shell
perl -MCPAN -e shell install Treex::Core
For more information on module installation, please visit the detailed CPAN module installation guide.