Login   Register  
PHP Classes
elePHPant
Icontem

Diagram 2: Draw an hierarchic diagram from a XML definition

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 3,132 All time: 1,069 This week: 1,366Down
Version License Categories  
diagram2 1.0.0GNU General Public Lice...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: 31
All time rank: 252 in Portugal Portugal
Week rank: 180 Down3 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

Screenshots  
  • 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,132All time:1,069
 This week:0This week:1,366Down
User Ratings User Comments (2)  
 All time
Utility:95%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:119
 
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar
good exam.
6 years ago (Nguyen Duy Hai)
75%StarStarStarStar