There are many packages for drawing all sorts of charts and graphs to be presented in Web applications. Most of them provide common types of graphs like bar charts, pie charts, line charts, etc..
One type of interesting graph for which it is not easy to find a ready to use package that generates it, is the hierarchic diagram. It is useful to provide a graphical representation of groups of entities that establish parent-child relationships.
This class provides a solution to generate a hierarchic diagrams using arrays to describe hierarchies.
Since arrays are very easy to define in PHP, the solution provided by this class is very simple to use, despite the complexity of generating this type of diagram with automatic layout of entities,