PHP Classes

Diagram 2: Draw an hierarchic diagram from a XML definition

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-03-21 (10 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 3,149 All time: 1,066 This week: 1,176Down
Version License Categories  
diagram2 1.0.0GNU General Publi...XML, Graphics
Description Author  

This package can draw diagrams of hierarchy trees defined in XML files.

The diagram class is a follow-up of another class released here before. Instead of arrays, now it uses XML to define the diagram.

It also implements more features supporting: borders, text colors, fonts, text alignments, backgrounds, paddings, margins, text over the node connections and the thickness of the connections.

The tree XML files define the structure of nodes of the tree as well the graphical attributes that define details of how the diagram should be rendered.

Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 32
All time rank: 252 in Portugal Portugal
Week rank: 170 Down2 in Portugal Portugal Equal
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  • test.png
  Files folder image Files  
File Role Description
Plain text file class.diagram-ext.php Class Class extension
Accessible without login Plain text file class.diagram.php Class Main class
Plain text file class.xmlparser.php Class Small auxiliary class to parse xml
Plain text file readme.txt Doc. Read it first if you're not sure what you're doing
Plain text file test.php Example This will load one of the two examples
HTML file test1.html Data Example 1
Plain text file test1.xml Data Test1 diagram in xml format
HTML file test2.html Data Example 2
Plain text file test2.php Example This will load the class with an array
Plain text file test2.xml Data Test2 diagram in xml format
Plain text file test4.php Example Test class extension

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,149All time:1,066
 This week:0This week:1,176Down
User Ratings User Comments (2)  
 All time
5 years ago (kishore kumar)
good exam.
6 years ago (Nguyen Duy Hai)