NAME

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

VERSION

version 2.20210102

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 editing 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
value_line_doubleclick_hook
node_style_hook
conf_dialog
toggle_clause_collapsing

AUTHOR

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

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

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

Martin Popel <popel@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.