logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Autodia::Handler::dia - AutoDia handler for dia

Author

       Aaron Trevena, <aaron.trevena@gmail.com>

Description

       This provides Autodia with the ability to read dia files, allowing you to convert them via the Diagram
       Export methods to images (using GraphViz and VCG) or html/xml using custom templates.

       The dia handler will parse dia xml files using XML::Simple and populating the diagram object with class,
       superclass and package objects.

       the dia handler is registered in the Autodia.pm module, which contains a hash of language names and the
       name of their respective language - in this case:

Name

       Autodia::Handler::dia - AutoDia handler for dia

See Also

       Autodia::Handler

       Autodia::Diagram

Synopsis

       use Autodia::Handler::dia;

       my $handler = Autodia::Handler::dia->New(\%Config);

       $handler->Parse(filename); # where filename includes full or relative path.

   CONSTRUCTIONMETHOD
       my $handler = Autodia::Handler::dia->New(\%Config); This creates a new handler using the Configuration
       hash to provide rules selected at the command line.

   ACCESSMETHODS
       $handler->Parse(filename); # where filename includes full or relative path.

       This parses the named file and returns 1 if successful or 0 if the file could not be opened.

See Also