Two pictures are worth a thousand words. See the attached pngs. [Or if graphics are not available, they look something like:
Image::OrgChart Gary +-- Dudley | +-- Jax | +-- Maisie +-- Tex +-- Cinnamon +-- Ophelia GD::OrgChart Gary Home Owner | +------------------+------------------+ | | Tex Dudley VP Backyard VP Frontyard | | +-----+-----+ +---------+---------+ | | | | Ophelia Cinnamon Jax Maisie Gate Watcher Deck Sitter Bay Window Watcher Door Watcher ] The first (image-orgchart.png) was generated with the Image::OrgChart module. The second (gd-orgchart.png) was generated with GD::OrgChart. Differences: Image::OrgChart GD::OrgChart --------------- ------------ One line per box Multiple lines per box Drawn along left edge Drawn with subordinates centered below No limit on drawing depth Simple maxdepth argument Only can use GD built-in fonts Only can use GD truetype fonts The box is as it is A call-back is available to augment Sorts the input Draws it as presented I am trying to draw those org charts so popular with management that show corporate structure. I intend to use this to make a web-based tool that can draw the orgchart-du-jour using the company LDAP data. Perhaps the name "GD::OrgChart" is not the best name, but since it uses GD I thought that was where it belongs. Any suggestions as to a better namespace? _brian_d_foy wrote:
In article <[EMAIL PROTECTED]>, Perl Authors Upload Server <[EMAIL PROTECTED]> wrote:The following module was proposed for inclusion in the Module List:The Image::OrgChart module produces trees liked those used for graphing file system hierarchies. My module produces the charts more typically used to show corporate structures.those do not seem very different. how is your module different?
-- Gary Algier, WB2FWZ gaa at ulticom.com +1 856 787 2758 Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054 Fax:+1 856 866 2033
<<inline: image-orgchart.png>>
<<inline: gd-orgchart.png>>