Branching graph help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kindley
Forum Newbie
Posts: 3
Joined: Thu Feb 27, 2003 11:45 am

Branching graph help

Post by kindley »

I am trying to create a branching graph that shows the connection among various records in a data table. Fields in the records refer to other records in the table, etc.

I could use all the help and recommendations I can get!

For example, the first two records might look like the following where Id is the id number of the record and the GoTo's are fields containing the id numbers of other records.

Id GoTo_A GoTo_B GoTo_C GoTo_D
--- ----- ----- ----- -----
1 2 3 4 5
2 1 3 7 8

etc.

So far I have tried to install GraphViz and WebDot, but absolutely no joy!

I am working with an Apache server (2.0.47 [Win32]) using PHP 4.3.2 as my scripting language with MySQL as the database server. I installed GraphViz and have ensured that the GD extention for PHP is active and can create normal drawings. In addition I intalled the PEAR GraphViz class by Bergmann and Göbbels, which is supposed to mediate between PHP and GraphViz.

However, I am unable to make it work. Basically, all I get is a blank screen.

Any alternatives, help, tutorials, etc., you could provide would help. It seems so close, but untouchable!

Thanks!
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Um..code would be a little help.
Post Reply