Login   Register  
PHP Classes
elePHPant
Icontem

Diagram: Draw an hierarchic diagram from an array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 31
All time rank: 252 in Portugal Portugal
Week rank: 183 Down4 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x


  Detailed description   Download Download .zip .tar.gz  
This class draws a diagram from an array that defines an hierarchy tree.

You can set font of the text labels and the colors used in the diagram image.

Please check the generated documentation for more details.

  Classes of Diogo Resende  >  Diagram  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Diagram
Base name: diagram
Description: Draw an hierarchic diagram from an array
Version: -
PHP version: -
License: The PHP License
All time users: 4948 users
All time rank: 490
Week users: 3 users
Week rank: 554 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
April 2004
Winner


Prize: One book of choice by O'Reilly
There are many packages for drawing all sorts of charts and graphs to be presented in Web applications. Most of them provide common types of graphs like bar charts, pie charts, line charts, etc..

One type of interesting graph for which it is not easy to find a ready to use package that generates it, is the hierarchic diagram. It is useful to provide a graphical representation of groups of entities that establish parent-child relationships.

This class provides a solution to generate a hierarchic diagrams using arrays to describe hierarchies.

Since arrays are very easy to define in PHP, the solution provided by this class is very simple to use, despite the complexity of generating this type of diagram with automatic layout of entities,

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (84%) Good (87%) Sufficient (78%) Good (81%) - - Sufficient (66%) 381
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login HTML file class.diagram.html Doc. generated documentation
Plain text file class.diagram.php Class Class
Accessible without login Plain text file test.php Example Loads class and creates a diagram

Download Download all files: diagram.tar.gz diagram.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.