PHP Classes
elePHPant
Icontem

Diagram: Draw an hierarchic diagram from an array

Recommend this page to a friend!

  Author Author  
Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Innovation award
Innovation award
Nominee: 4x

Winner: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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: 1.0.0
PHP version: -
License: The PHP License
 
  Groups   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

  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

Install with Composer Install with Composer - 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.