The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Treex::Core::TredView - visualization of Treex files in TrEd

VERSION

version 0.05222

DESCRIPTION

This module is used only in an extension of the Tree editor TrEd developed for displaying .treex files. The TrEd extension is contained in the same distribution as this module. The extension itself is very thin. It only creates an instance of Treex::Core::TredView and then forwards calls of hooks (subroutines with predefined names called by TrEd at certain events) to this instance.

This module defines what information (especially which node attributes) should be displayed below nodes in the individual types of trees and what visual style (e.g. node and edge color, node size, edge thickness) should be used for them.

The TrEd visualization is precomputed statically after a file is loaded, therefore the extension can be currently used only for browsing, not for editting the treex files.

METHODS

Methods called from the TrEd extension

Methods called directly from the hooks in the TrEd extension:

file_opened_hook

Building Treex::Core::Document structure on the top of Treex::PML::Document structure which was provided by TrEd.

get_nodelist_hook
get_value_line_hook
node_style_hook
load_layouts
save_layouts
conf_dialog

Methods for displaying attributes below nodes

bundle_root_labels
tree_root_labels
nonroot_node_labels
nonroot_anode_labels
nonroot_nnode_labels
nonroot_pnode_labels
nonroot_tnode_labels

Methods for defining node's style

bundle_root_style
common_node_style
node_style
nnode_style
anode_style
tnode_style
pnode_style

Methods for configuring layout of the trees

get_layout_label
get_layout
move_layout
wrap_layout
normalize_layout

AUTHOR

Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz>

David Mareček <marecek@ufal.mff.cuni.cz>

Josef Toman <toman@ufal.mff.cuni.cz>

COPYRIGHT AND LICENSE

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 811:

You forgot a '=back' before '=head1'

Around line 813:

Non-ASCII character seen before =encoding in 'Zdeněk'. Assuming UTF-8