PHP Classes

PHP Tree Graph Ext: Render graphical diagrams of hierarchical trees

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,474 This week: 1All time: 2,651 This week: 42Up
Version License PHP version Categories
phptreegraphext 0.2GNU Lesser Genera...5.0PHP 5, Graphics, Data types
Description 

Author

This package can be used to render graphical diagrams of hierarchical trees of nodes.

It is a fork of the PHP Tree Graph class originally written by Mathias.

This version changes are:

- Added ability to set title of the node
- Added ability to insert nodes without any order
- Added ability to choose which node will be the root (all non-child nodes will not be shown)
- Added ability to set margins of the image

Picture of Alex Fomenko
Name: Alex Fomenko <contact>
Classes: 1 package by
Country: Canada Canada

Details

/** * phpTreeGraph * * * PHP version 5 * @copyright Mathias Herrmann 2007 * @author Mathias Herrmann <mathias_herrmann@arcor.de> * @author Alex Fomenko <alex.fomenko@gmail.com> * @license LGPL * * * This PHP class is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or (at your option) any later version. * * * * This PHP class is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * Lesser General Public License for more details. * * * * * * * * */ Documentation Please take a look at the examples (Demo1.php, Demo2.php) to see the possibilities of phptreeGraph. Classes: ------------------------------------------------------------------------------------ Tree.php - main class contains the layout algorithm (walker algorithm) for calculating the node positions. GDRenderer.php contains functions to draw the graph Node.php contains the Node class

Screenshots (2)  
  • Demo1.png
  • Demo2.png
  Files folder image Files (12)  
File Role Description
Files folder imageclasses (3 files)
Image file croc.png Icon Image
Plain text file Demo1.php Example Demo file to show possibilities
Plain text file Demo2.php Example Demo file to show possibilities
Image file fish.png Icon Image
Image file frosch.png Icon Image
Image file fungi.png Icon Image
Plain text file Readme Doc. Readme file

  Files folder image Files (12)  /  classes  
File Role Description
  Plain text file GDRenderer.php Class GD rendering class
  Plain text file Node.php Class node class
  Plain text file Tree.php Class Main class with layout algorithm

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,474
This week:1
All time:2,651
This week:42Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:50%StarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1248
 
Great Idea and very usefull class
16 years ago (marco v)
67%StarStarStarStar