Simple question about image_graphviz
Posted
by garcon1986
on Stack Overflow
See other posts from Stack Overflow
or by garcon1986
Published on 2009-11-12T08:53:25Z
Indexed on
2010/03/23
22:33 UTC
Read the original article
Hit count: 518
Hello,
I'm trying to display the example of image_graphviz Here, but it doesn't display anything in my page.
Here is my page:
test.php
<?php
require_once 'Image/GraphViz.php';
$gv = new Image_GraphViz();
$gv->addEdge(array('wake up' => 'visit bathroom'));
$gv->addEdge(array('visit bathroom' => 'make coffee'));
$gv->image();
?>
I think there is something wrong with the path, and then i use the absolute path which is "C:/wamp/bin/php/php5.3.0/PEAR/Image/GraphViz.php". But it doesn't work too.
Is there something wrong? Do you have any idea?
Thanks a lot.
© Stack Overflow or respective owner