Jump to content

drawing with PHP


chiprivers

Recommended Posts

I am doing some work on a family tree database and was wondering if there is anything within PHP that can be used for drawing? or perhaps something similar?

At the moment I am using tables and applying a border to certain cell edges to form the family tree structure, how ever this does not allow very much flexability in layout. Is there an alternative to doing this?
Link to comment
https://forums.phpfreaks.com/topic/31033-drawing-with-php/
Share on other sites

GD, but i would presume that it would be harder to code initially then to simply use something like paint or photoshop, unless you intend for it to be an active tree that is going to be used and updated enough to warrent such coding time.

On the other hand though, there might already be open source software around the place that does it already, take a look.
Link to comment
https://forums.phpfreaks.com/topic/31033-drawing-with-php/#findComment-143207
Share on other sites

I do not want to use images as that will provide a static family tree diagram, I want the diagram to be produced on the fly dependent on the returned data.  For example, If I added a new relative to my database, I want the script to recognise where this person would fit in and replot the lines required for the tree.  I do not want to just show a static image.
Link to comment
https://forums.phpfreaks.com/topic/31033-drawing-with-php/#findComment-143227
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.