Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.155.683 Times

Tree::Visualize 0.01

  Date Added: January 21, 2010  |  Visits: 844

Tree::Visualize

Report Broken Link
Printer Friendly Version


Product Homepage
Download (177 downloads)

Tree::Visualize is a Perl module for visualizing Tree structures. SYNOPSIS use Tree::Visualize; use Tree::Binary; my $tree = Tree::Binary->new("*") ->setLeft( Tree::Binary->new("+") ->setLeft(Tree::Binary->new("2")) ->setRight(Tree::Binary->new("2")) ) ->setRight( Tree::Binary->new("+") ->setLeft(Tree::Binary->new("4")) ->setRight(Tree::Binary->new("5")) ); my $visualize = Tree::Visualize->new($tree, ASCII, TopDown); print $visualize->draw(); # +---+ # +--------| * |-------+ # | +---+ | # +---+ +---+ # +--| + |--+ +--| + |--+ # | +---+ | | +---+ | # +---+ +---+ +---+ +---+ # | 2 | | 2 | | 4 | | 5 | # +---+ +---+ +---+ +---+ my $tree = Tree::Binary::Search->new(); foreach my $value (7, 3, 1, 0, 2, 5, 4, 6, 11, 9, 10, 8, 13, 12, 14) { $tree->insert($value => $value); } my $visualize = Tree::Visualize->new($tree, ASCII, Diagonal); print $visualize->draw(); # (7)-------------(11)-----(13)-(14) # | | | # | | (12) # | | # | (9)-(10) # | | # | (8) # | # (3)-----(5)-(6) # | | # | (4) # | # (1)-(2) # | # (0) my $tree = Tree::Simple->new("test") ->addChildren( Tree::Simple->new("test-1") ->addChildren( Tree::Simple->new("test-1-1") ), Tree::Simple->new("test-2"), Tree::Simple->new("test-3") ); my $visualize = Tree::Visualize->new($tree, ASCII, TopDown); print $visualize->draw(); # | # +------+ # | test | # +------+ # ____________|_____________ # | | | # +--------+ +--------+ +--------+ # | test-1 | | test-2 | | test-3 | # +--------+ +--------+ +--------+ # | # | # +----------+ # | test-1-1 | # +----------+ NOTE: This is very early release alpha software The goal of this module is to provide a means of easily visualizing trees in a number of output formats and layouts. Currently only ASCII output and a limited number of formats are supported. There is some support for output as GraphViz dot files, but that is buggy at best right now. As I said, this is alpha software, and so please dont expect it to do all that much. Many of the classes inside are not even implemented, and few if any are documented. I am releasing this to CPAN largely as a means of self-motivation, although I can make no promises about the speed of my progress..

Requirements: No special requirements
Platforms: Linux
Keyword: Ascii Libraries Module New Perl Module Programming Tree Treevisualize Visualizing
Users rating: 0/10

License: Freeware Size: 15.36 KB
TREE::VISUALIZE RELATED
Libraries  -  Convert::ASCII::Armor 1.4
Convert::ASCII::Armor is a Perl module that can convert binary octets into ASCII armoured messages. SYNOPSIS See SYNOPSIS in Convert::ASCII::Armour. Empty subclass of Convert::ASCII::Armour for American English speakers..
6.14 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Module::Signature 0.55
Module::Signature is a Perl module signature file manipulation. SYNOPSIS As a shell command: % cpansign # verify an existing SIGNATURE, or # make a new one if none exists % cpansign sign # make signature; overwrites existing one %...
68.61 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  PerlPoint::Parser 0.45
PerlPoint::Parser Perl module is a PerlPoint Parser. SYNOPSIS # load the module: use PerlPoint::Parser; # build the parser and run it # to get intermediate data in @stream my ($parser)=new PerlPoint::Parser; $parser->run( stream =>...
419.84 KB  
Libraries  -  File::Comments 0.07
File::Comments is a Perl module that ecognizes file formats and extracts format-specific comments. SYNOPSIS use File::Comments; my $snoop = File::Comments->new(); # *---------------- # | program.c: # | /* comment */ # | main () {} #...
12.29 KB  
Libraries  -  File::Remote 1.17
File::Remote is a Perl module to read/write/edit remote files transparently. SYNOPSIS # # Two ways to use File::Remote # # First, the function-based style. Here, we can use the # special :replace tag to overload Perl builtins! # use...
15.36 KB  
Libraries  -  Class::Accessor::Fast::Contained 0.05
Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment. SYNOPSIS package Foo; use base qw(Class::Accessor::Fast::Contained); # The rest is the same as Class::Accessor::Fast This module does two things...
5.12 KB  
Libraries  -  Myco::Devel 1.22
Myco::Devel is a Perl module for myco Developers Guide. This guide is intended for developers wanting to build applications with myco. You should have a decent grasp of the Perl programming language, or else a solid grasp of another programming...
102.4 KB  
Libraries  -  Samba::LDAP 0.03
Samba::LDAP is a Perl module to manage a Samba PDC with an LDAP Backend. SYNOPSIS use Carp; use Samba::LDAP; my $samba = Samba::LDAP->new() or croak "Cant create objectn"; my $domain = $samba->get_local_sid();.
81.92 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.2
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB