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

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

Serving Software Downloads in 956 Categories, Downloaded 49.483.145 Times

Tree::Visualize 0.01

  Date Added: January 21, 2010  |  Visits: 1.088

Tree::Visualize

Report Broken Link
Printer Friendly Version


Product Homepage
Download (194 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
USER REVIEWS
More Reviews or Write Review


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  -  Perl6::Builtins 0.0.3
Perl6::Builtins is a Perl module that provides erl 5 versions of the new Perl 6 builtins. SYNOPSIS use Perl6::Builtins qw( system ); system $system_cmd or die "Could not $system_cmd: $!"; my $package = caller->{package}; my $file =...
4.1 KB  
Programming  -  JOLIE 0.9.2
JOLIE is an interpreter for a new high level programming language, designed for SOAs (Service Oriented Architecture) orchestration (as, for example, WSBPEL by OASIS). The whole program is written entirely in Java to ensure cross-platform...
235.52 KB  
Screen Savers  -  Santa Fish 1.0
Santa Fish is underwater new year screensaver. Underwater tree, underwater santa.... Yes! It's for underwater crazy funs!
31.87 MB  
Programming  -  The Nice Programming Language 1.0
New object-oriented programming language based on Java, with the following advanced features: parametric types, anonymous functions, multi-methods, tuples, optional parameters.Nice also detects more errors during compilation (null pointers, casts).
1.29 MB  
Code Management Tools  -  X Language 0.7.1
X Language is a new multi-syntax programming including a portable set of APIs to create console or graphical applications runnable on many platforms (UNIX/X11, Win32, ...). X Language comes with an interpreter, a compiler and a debugger. X...
358.4 KB  
Games  -  ControllerMate for Mac OS 4.4.2
Takes a new approach to programming keyboard functions onto HID game controllers. Using a highly graphical interface and drag-and-drop editing, users can easily program complex keyboard sequences onto the buttons of joysticks, gamepads, trackballs...
9.9 MB  
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Education  -  MathPiper 0.79f Beta
MathPiper is a new mathematics-oriented programming language which is simple enough to be learned as a first programming language and yet powerful enough to be useful in any science, mathematics, or engineering related career. MathPiper is also a...
16.57 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
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...
3.88 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