allow automatic sizing of stemma; put more data into the visualizer
[scpubgit/stemmatology.git] / TreeOfTexts / lib / TreeOfTexts / Model / Analysis.pm
CommitLineData
dbcf12a6 1package TreeOfTexts::Model::Analysis;
2
3use strict;
4use warnings;
dbcf12a6 5
eb20780f 6use base 'Catalyst::Model::Adaptor';
dbcf12a6 7
eb20780f 8__PACKAGE__->config(
9 class => 'Text::Tradition::Analysis',
e367f5c0 10 args => { 'traditions' => [
11 { 'file' => TreeOfTexts->path_to( 't', 'data', 'florilegium.xml' ),
eb20780f 12 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_a.dot' ) },
e367f5c0 13 { 'file' => TreeOfTexts->path_to( 't', 'data', 'heinrichi.xml' ),
14 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_h.dot' ) },
15 { 'file' => TreeOfTexts->path_to( 't', 'data', 'parzival.xml' ),
16 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_p.dot' ) },
17 ] },
eb20780f 18 );
dbcf12a6 19
dbcf12a6 201;