PHP Classes

PHP Tree Graph Ext: Render graphical diagrams of hierarchical trees

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,471 All time: 2,653 This week: 129Up
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
Age: 45
All time rank: 186545 in Canada Canada
Week rank: 312 Up11 in Canada Canada Up

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  
  • Demo1.png
  • Demo2.png
  Files folder image Files  
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  /  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,471
This week:0
All time:2,653
This week:129Up
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:1227
 
Great Idea and very usefull class
15 years ago (marco v)
67%StarStarStarStar