PHP Classes
elePHPant
Icontem

Reingold Tilford: Render tree structures in several image formats

Recommend this page to a friend!
  Info   View files View files (228)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-11-15 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 707 This week: 1All time: 4,464 This week: 1,047Up
Version License PHP version Categories
reingold-tilford 1.0BSD License5.3Algorithms, PHP 5, Graphics
Description Author

This package can render tree structures in several image formats.

It implements the Reingold-Tilford tree drawing algorithm using separate driver classes to render the trees in different output formats.

Currently it supports plain HTML, SVG, or any image format supported by the PHP GD and Imagick extensions.

The tree node shape style, edge style, colours, borders, etc. are configurable parameters.

Innovation Award
PHP Programming Innovation award nominee
November 2011
Number 4


Prize: One downloadable copy of Komodo IDE
Tree data structures are often used to represent hierarchical data relationships.

This class provides a solution to render tree structures in graphic formats, so it can be used in any PHP site.

Manuel Lemos
Picture of Stefan Löwe
Name: Stefan Löwe <contact>
Classes: 2 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 2x

Details
README
======

What is ReingoldTilford?
------------------------

ReingoldTilford is a collection of classes that are capable of visualising any tree-like structure or taxonomy in a number of image formats.

Features
--------

ReingoldTilford supports the following:

* implements the Reingold-Tilford tree drawing algorithm, a liner time (O(n)) algorithm, in pure PHP
* the core algorithm calculates a layout of a n-ary tree-like structure, with which a visualisation of the tree can be created, assuring the following aesthetic criteria:
** obviously, hierarchically and planar connected with straight edges
** the parent is positioned in the middle above its children
** isomorphic subtrees will have the same layout
** drawings of isomorphic subtrees are symmetric with respect to reflection
** in practise, drawings need only a with which is very close to the minimum, or even only the minimal width
* an additional set of classes can export this layout to various formats, e.g. plain HTML, SVG, as well as any format supported by gdlib or Imagick
* the layout and visualisation is highly customizable (shape style, edge style, colours, borders, ports, etc.)
* the package also contains classes to calculate the widths and height of a string of a given font family and size, needed for plotting of node labels etc.
* supporting custom tree-structures is just a matter of creating one class that implements the according interface (ReingoldTilford/Models/ITreeModel)
* when implementing this appropriate model/adapter, classes and libraries that are not available in source form can be made exportable (e.g. PHPs internal DOMNode class, as seen in the examples)
* supporting new formats (like HTML 5 canvas, PDF) is just a matter of creating one class that implements the according interface (Utils/Graphics2D/DrawingPanes/IDrawingPane)
* supporting new shapes (e.g. Triangles as shapes for tree nodes) is just a matter of creating one class that extends the according abstract class (Utils/Graphics2D/Shapes/Shape)
* due to the fact that it supports exporting to DOM documents (HTML, SVG), dynamic manipulation of both the visualized tree as well as the actual data structure is possible with ease
* data structures which are no trees but "almost-tree" can be exported first exporting a tree, then adding the extra edges in a post-processing step
* many more core features* 
* despite not being optimized for speed of execution (but more for ease of extensibility), the package is capable of exporting structures with around 1000 nodes in far less than one second (Intel Pentium T9300 Mobile processor, 4GB RAM, PHP 5.3.8 with Windows CLI), the layout calculation (excluding plotting) for random trees with 100.000 nodes takes around 30 seconds on a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ with PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch (cli) on Ubuntu 10.10

Requirements
------------

ReingoldTilford requires the following:

* PHP 5.3.X, due to namespace support
* PHP DOM extension (optional, needed fro HTML and SVG export)
* PHP GD Graphics Library (optional, needed for GIF/JPG/PNG export with php_gd2 extension)
* PHP ImageMagick (optional, needed for export with php_imagick extension)

Installation
------------

Extract the files to any path in your web root directory.

How to use ReingoldTilford?
-------------------

Point your web browser to the examples in the bin folder: 

Visualisation of the directory structure of this package
- http://localhost/ReingoldTilford/bin/example_directory_tree.php

Visualisation of the DOM structure of http://www.phpclasses.org/ (or any other website if you customize the example)
- http://localhost/ReingoldTilford/bin/example_DOM.php
  Files folder image Files  
File Role Description
Files folder imageapp (1 file)
Files folder imagebin (4 files)
Files folder imagedocs (64 files, 3 directories)
Files folder imagesrc (2 directories)
Accessible without login Plain text file LICENSE.txt Lic. License text
Accessible without login Plain text file README.txt Doc. Documentation
Accessible without login HTML file sample_output_DOM.svg Doc. sample output of bin/example_DOM.php
Accessible without login HTML file sample_output_filesystem.html Example sample output of bin/example_directory_tree_dynamic.php

  Files folder image Files  /  app  
File Role Description
  Accessible without login Plain text file bootstrap.inc Conf. bootstrap file of the package

  Files folder image Files  /  bin  
File Role Description
  Accessible without login Plain text file example_directory_tree.php Example example script that plots the directory structure of the installation
  Accessible without login Plain text file example_directory_tree_dynamic.php Example example with some dynamic CSS goodies
  Accessible without login Plain text file example_DOM.php Example example script that plots the DOM node structure of a given HTML document.
  Accessible without login Plain text file FontManagerServiceEndpoint.php Example AJAX service endpoint

  Files folder image Files  /  docs  
File Role Description
Files folder imagecss (7 files, 3 directories)
Files folder imageimages (16 files, 1 directory)
Files folder imagejs (8 files)
  Accessible without login Plain text file ajax_search.php Aux. Auxiliary script
  Accessible without login HTML file content.html Doc. Documentation
  Accessible without login HTML file db_app_bootstrap.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...orithms_Layout.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...lfordAlgorithm.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...s_DomTreeModel.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...ls_FSTreeModel.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...els_ITreeModel.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...dels_TreeModel.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...otters_Plotter.html Doc. Documentation
  Accessible without login HTML file db_src_ReingoldTil...yles_TreeStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Autoload_Autoloader.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Autol...FoundException.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Color_Color.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Color_RgbColor.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_File_Directory.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_File_File.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_File_FileSystemObject.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_File_IFileSystemObject.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Font_FontManager.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Font_FontMetric.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Font_...tMetricService.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Font_...ServiceFactory.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Font_...bServerService.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Geom_Dimension.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Geom_Point.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...DomDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...es_DrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...LibDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...tmlDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...MapDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...s_IDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...ageDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...ickDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...SvgDrawingPane.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...pes_DirectEdge.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graphics2D_Shapes_Edge.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...es_EdgeFactory.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...Shapes_Ellipse.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph..._Shapes_IShape.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...hapes_PolyEdge.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...apes_Rectangle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...D_Shapes_Shape.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...s_ShapeFactory.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graphics2D_Shapes_Star.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...es_BorderStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...yles_EdgeStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph..._Styles_IStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...yles_LineStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...les_ShapeStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...yles_TextStyle.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graphics2D_Shapes_Text.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Graph...es_TextFactory.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Logging_FileLogger.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_Logging_Logger.html Doc. Documentation
  Accessible without login HTML file db_src_Utils_URL_Url.html Doc. Documentation
  Accessible without login HTML file graph.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file nav.html Doc. Documentation
  Accessible without login HTML file report_deprecated.html Doc. Documentation
  Accessible without login HTML file report_markers.html Doc. Documentation
  Accessible without login HTML file report_parse_markers.html Doc. Documentation
  Accessible without login Plain text file search_index.xml Data Auxiliary data
  Accessible without login Plain text file structure.xml Data Auxiliary data

  Files folder image Files  /  docs  /  css  
File Role Description
Files folder imageblack-tie (1 file, 1 directory)
Files folder imagedocblox (1 file, 1 directory)
Files folder imageimages (16 files)
  Accessible without login Plain text file api-content.css Data Auxiliary data
  Accessible without login Plain text file default.css Data Auxiliary data
  Accessible without login Plain text file jquery-ui.css Data Auxiliary data
  Accessible without login Plain text file jquery.treeview.css Data Auxiliary data
  Accessible without login Plain text file navigation.css Data Auxiliary data
  Accessible without login Plain text file sen.full.min.css Data Auxiliary data
  Accessible without login Plain text file theme.css Data Auxiliary data

  Files folder image Files  /  docs  /  css  /  black-tie  
File Role Description
Files folder imageimages (16 files)
  Accessible without login Plain text file jquery-ui-1.8.2.custom.css Data Auxiliary data

  Files folder image Files  /  docs  /  css  /  black-tie  /  images  
File Role Description
  Accessible without login Image file ui-anim_basic_16x16.gif Icon Icon image
  Accessible without login Image file ui-bg_diagonals-thick_8_333333_40x40.png Icon Icon image
  Accessible without login Image file ui-bg_flat_65_ffffff_40x100.png Icon Icon image
  Accessible without login Image file ui-bg_glass_40_111111_1x400.png Icon Icon image
  Accessible without login Image file ui-bg_glass_55_1c1c1c_1x400.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-ha...00_f9f9f9_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-hard_40_aaaaaa_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-soft_50_aaaaaa_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_inset-hard_45_cd0a0a_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_inset-hard_55_ffeb80_1x100.png Icon Icon image
  Accessible without login Image file ui-icons_222222_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_4ca300_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_bbbbbb_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ededed_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ffcf29_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ffffff_256x240.png Icon Icon image

  Files folder image Files  /  docs  /  css  /  docblox  
File Role Description
Files folder imageimages (15 files, 1 directory)
  Accessible without login Plain text file jquery-ui-1.8.16.custom.css Data Auxiliary data

  Files folder image Files  /  docs  /  css  /  docblox  /  images  
File Role Description
Files folder imageicons (8 files)
  Accessible without login Image file ui-bg_glass_55_1c1c1c_1x400.png Icon Icon image
  Accessible without login Image file ui-bg_hexagon_15_232325_12x10.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-ha...00_f9f9f9_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-hard_40_232325_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-hard_65_232325_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-soft_40_aaaaaa_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_highlight-soft_50_aaaaaa_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_inset-hard_45_cd0a0a_1x100.png Icon Icon image
  Accessible without login Image file ui-bg_inset-hard_55_ffeb80_1x100.png Icon Icon image
  Accessible without login Image file ui-icons_222222_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_4ca300_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_bbbbbb_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ededed_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ffcf29_256x240.png Icon Icon image
  Accessible without login Image file ui-icons_ffffff_256x240.png Icon Icon image

  Files folder image Files  /  docs  /  css  /  docblox  /  images  /  icons  
File Role Description
  Accessible without login Image file chart.png Icon Icon image
  Accessible without login Image file chart15x12.png Icon Icon image
  Accessible without login Image file dashboard.png Icon Icon image
  Accessible without login Image file files.png Icon Icon image
  Accessible without login Image file namespaces.png Icon Icon image
  Accessible without login Image file packages.png Icon Icon image
  Accessible without login Image file reports.png Icon Icon image
  Accessible without login Image file reports9x12.png Icon Icon image

  Files folder image Files  /  docs  /  css  /  images  
File Role Description
  Accessible without login Image file ajax-loader.gif Icon Icon image
  Accessible without login Image file file.gif Icon Icon image
  Accessible without login Image file folder-closed.gif Icon Icon image
  Accessible without login Image file folder.gif Icon Icon image
  Accessible without login Image file minus.gif Icon Icon image
  Accessible without login Image file plus.gif Icon Icon image
  Accessible without login Image file treeview-black-line.gif Data Auxiliary data
  Accessible without login Image file treeview-black.gif Icon Icon image
  Accessible without login Image file treeview-default-line.gif Data Auxiliary data
  Accessible without login Image file treeview-default.gif Icon Icon image
  Accessible without login Image file treeview-famfamfam-line.gif Icon Icon image
  Accessible without login Image file treeview-famfamfam.gif Icon Icon image
  Accessible without login Image file treeview-gray-line.gif Data Auxiliary data
  Accessible without login Image file treeview-gray.gif Icon Icon image
  Accessible without login Image file treeview-red-line.gif Data Auxiliary data
  Accessible without login Image file treeview-red.gif Icon Icon image

  Files folder image Files  /  docs  /  images  
File Role Description
Files folder imageicons (14 files)
  Accessible without login Image file arrow_down.gif Icon Icon image
  Accessible without login Image file arrow_right.gif Icon Icon image
  Accessible without login Image file background.png Data Auxiliary data
  Accessible without login Image file clear_left.png Icon Icon image
  Accessible without login Image file collapse_all.png Icon Icon image
  Accessible without login Image file expand_all.png Icon Icon image
  Accessible without login Image file file.gif Icon Icon image
  Accessible without login Image file folder.gif Icon Icon image
  Accessible without login Image file icon48x48.png Icon Icon image
  Accessible without login Image file logo.png Icon Icon image
  Accessible without login Image file logo_old.png Icon Icon image
  Accessible without login Image file menu-background.png Icon Icon image
  Accessible without login Image file search.gif Icon Icon image
  Accessible without login Image file top-background.png Icon Icon image
  Accessible without login Image file top-stopper.png Icon Icon image
  Accessible without login Image file top.png Data Auxiliary data

  Files folder image Files  /  docs  /  images  /  icons  
File Role Description
  Accessible without login Image file arrow_down.png Icon Icon image
  Accessible without login Image file arrow_right.png Icon Icon image
  Accessible without login Image file class.png Icon Icon image
  Accessible without login Image file constant.png Icon Icon image
  Accessible without login Image file file-php.png Icon Icon image
  Accessible without login Image file function.png Icon Icon image
  Accessible without login Image file interface.png Icon Icon image
  Accessible without login Image file method.png Icon Icon image
  Accessible without login Image file ok.png Icon Icon image
  Accessible without login Image file property.png Icon Icon image
  Accessible without login Image file variable.png Icon Icon image
  Accessible without login Image file visibility_private.png Icon Icon image
  Accessible without login Image file visibility_protected.png Icon Icon image
  Accessible without login Image file visibility_public.png Icon Icon image

  Files folder image Files  /  docs  /  js  
File Role Description
  Accessible without login Plain text file jquery-1.4.2.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-ui-1.8.2.custom.min.js Data Auxiliary data
  Accessible without login Plain text file jquery.cookie.js Data Auxiliary data
  Accessible without login Plain text file jquery.splitter.js Data Auxiliary data
  Accessible without login Plain text file jquery.treeview.js Data Auxiliary data
  Accessible without login Plain text file menu.js Data Auxiliary data
  Accessible without login Plain text file sidebar.js Data Auxiliary data
  Accessible without login Plain text file SVGPan.js Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageReingoldTilford (4 directories)
Files folder imageUtils (8 directories)

  Files folder image Files  /  src  /  ReingoldTilford  
File Role Description
Files folder imageAlgorithms (2 files)
Files folder imageModels (4 files)
Files folder imagePlotters (1 file)
Files folder imageStyles (1 file)

  Files folder image Files  /  src  /  ReingoldTilford  /  Algorithms  
File Role Description
  Plain text file Layout.inc Class class that encapsulates the layout, i.e., the coordinates of nodes of a tree
  Plain text file ReingoldTilfordAlgorithm.inc Class main class implementing the Reingold-Tilford algorithm

  Files folder image Files  /  src  /  ReingoldTilford  /  Models  
File Role Description
  Plain text file DomTreeModel.inc Class TreeModel implementation for the PHP's DOMNode class
  Plain text file FSTreeModel.inc Class ITreeModel implementation for the FileSystemObject classes
  Plain text file ITreeModel.inc Class interface that defines the basic methods that are neccessary for a data structure to be processed by the Reingold-Tilford tree drawing algorithm
  Plain text file TreeModel.inc Class an abstract ITreeModel implementation, implementing the most basic elements

  Files folder image Files  /  src  /  ReingoldTilford  /  Plotters  
File Role Description
  Plain text file Plotter.inc Class class that can plot the layout returned by the Reingold-Tilford tree drawing algorithm

  Files folder image Files  /  src  /  ReingoldTilford  /  Styles  
File Role Description
  Plain text file TreeStyle.inc Class class that implements a style for trees

  Files folder image Files  /  src  /  Utils  
File Role Description
Files folder imageAutoload (2 files)
Files folder imageColor (2 files)
Files folder imageFile (4 files)
Files folder imageFont (3 files, 1 directory)
Files folder imageGeom (2 files)
Files folder imageGraphics2D (2 directories)
Files folder imageLogging (2 files)
Files folder imageURL (1 file)

  Files folder image Files  /  src  /  Utils  /  Autoload  
File Role Description
  Plain text file Autoloader.inc Class exception which is thrown when the autoloader is unable to locate a source file
  Plain text file SourceFileNotFoundException.inc Class the just-in-time class autoloader of this package

  Files folder image Files  /  src  /  Utils  /  Color  
File Role Description
  Plain text file Color.inc Class This class serves as abstract class for any color.
  Plain text file RgbColor.inc Class This class encapsulates an RGB color.

  Files folder image Files  /  src  /  Utils  /  File  
File Role Description
  Plain text file Directory.inc Class This class represents a directory in the file system. It contains a collection of children referencing files and other directories.
  Plain text file File.inc Class This class represents a file in the file system.
  Plain text file FileSystemObject.inc Class This class represents an abstract object in the file system.
  Plain text file IFileSystemObject.inc Class This interface defines a type for representing an abstract object in the file system.

  Files folder image Files  /  src  /  Utils  /  Font  
File Role Description
Files folder imageFontMetricServices (3 files)
  Plain text file FontManager.inc Class This class is responsible for managing font metrics.
  Plain text file FontMetric.inc Class This class encapsulates font metrics, i.e. for a given font family and font size given as text stlye.
  Accessible without login HTML file fontMetrics.tpl Data Auxiliary data

  Files folder image Files  /  src  /  Utils  /  Font  /  FontMetricServices  
File Role Description
  Plain text file FontMetricService.inc Class This class represents an abstract front metric service.
  Plain text file FontMetricServiceFactory.inc Class This class acts as factory for creating font metric services.
  Plain text file FontMetricWebServerService.inc Class This class implements a font metric calculation service for use when this package is invoked through the browser.

  Files folder image Files  /  src  /  Utils  /  Geom  
File Role Description
  Plain text file Dimension.inc Class This class encapsulates the width and height of an object in the two-dimensional space, e.g. a rectangle or an ellipse.
  Plain text file Point.inc Class This class represents a point in the two-dimensional space.

  Files folder image Files  /  src  /  Utils  /  Graphics2D  
File Role Description
Files folder imageDrawingPanes (8 files)
Files folder imageShapes (12 files, 1 directory)

  Files folder image Files  /  src  /  Utils  /  Graphics2D  /  DrawingPanes  
File Role Description
  Plain text file DomDrawingPane.inc Class This class implements an abstract drawing pane for DOM output.
  Plain text file DrawingPane.inc Class This class implements an abstract drawing pane.
  Plain text file GdLibDrawingPane.inc Class This class implements a drawing pane for the GD PHP extension.
  Plain text file HtmlDrawingPane.inc Class This class implements a drawing pane for HTML map output.
  Plain text file IDrawingPane.inc Class This interface defines a common super type for drawing panes.
  Plain text file ImageDrawingPane.inc Class This class implements an abstract drawing pane for binary image output.
  Plain text file ImagickDrawingPane.inc Class This class implements a drawing pane for Imagick PHP extension.
  Plain text file SvgDrawingPane.inc Class This class implements a drawing pane for SVG output.

  Files folder image Files  /  src  /  Utils  /  Graphics2D  /  Shapes  
File Role Description
Files folder imageStyles (6 files)
  Plain text file DirectEdge.inc Class This class represents a direct edge.
  Plain text file Edge.inc Class This class represents an abstract edge shape.
  Plain text file EdgeFactory.inc Class This class acts as factory for graphical edge elements.
  Plain text file Ellipse.inc Class This class represents an ellipse shape.
  Plain text file IShape.inc Class This interface defines a type for generic shapes.
  Plain text file PolyEdge.inc Class This class represents a poly-edge shape.
  Plain text file Rectangle.inc Class This class represents a rectangle shape.
  Plain text file Shape.inc Class This class represents an abstract shape.
  Plain text file ShapeFactory.inc Class This class acts as factory for graphical shape elements.
  Plain text file Star.inc Class This class represents a star shape.
  Plain text file Text.inc Class This class represents a text shape.
  Plain text file TextFactory.inc Class This class acts as factory for graphical text elements.

  Files folder image Files  /  src  /  Utils  /  Graphics2D  /  Shapes  /  Styles  
File Role Description
  Plain text file BorderStyle.inc Class This class implements a style for borders.
  Plain text file EdgeStyle.inc Class This class implements a style for edges.
  Plain text file IStyle.inc Class This interface defines a type for styles.
  Plain text file LineStyle.inc Class This class implements an abstract style for lines.
  Plain text file ShapeStyle.inc Class This class implements a style for shapes.
  Plain text file TextStyle.inc Class This class implements a style for texts.

  Files folder image Files  /  src  /  Utils  /  Logging  
File Role Description
  Plain text file FileLogger.inc Class class acts as a logger which prints to a file
  Plain text file Logger.inc Class class acts as a logger which prints to the standard output

  Files folder image Files  /  src  /  Utils  /  URL  
File Role Description
  Plain text file Url.inc Class a simple wrapper class for an URL

 Version Control Unique User Downloads Download Rankings  
 99%
Total:707
This week:1
All time:4,464
This week:1,047Up