Bug #3349 [Opn->Fbk]: Error in GraphViz

From: Date: Thu, 24 Feb 2005 16:45:41 +0000
Subject: Bug #3349 [Opn->Fbk]: Error in GraphViz
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5566@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=3349&edit=1 ID: 3349 Updated by: mj@php.net Reported By: jean-louis dot calmette at laposte dot fr -Status: Open +Status: Feedback Type: Bug Package: Documentation Operating System: win 2000 SP4 PHP Version: 4.3.8 New Comment: To which manual page are you referring? Or did you report a bug in the example code that comes with the package? Previous Comments: ------------------------------------------------------------------------ [2005-02-02 03:50:19] jean-louis dot calmette at laposte dot fr Resolved using /** * Path to GraphViz/dot command * * @var string */ var $dotCommand = 'e:\\intranet\\att\\graphviz\\bin\\dot'; /** * Path to GraphViz/neato command * * @var string */ var $neatoCommand = 'e:\\intranet\\att\\graphviz\\bin\\dotneato'; ------------------------------------------------------------------------ [2005-02-01 12:14:29] jean-louis dot calmette at laposte dot fr Description: ------------ variables_order = "GPCS" $graph->image("jpg"); Reproduce code: --------------- require_once 'Image/GraphViz.php'; $graph = new Image_GraphViz(); $graph->addNode( 'Node1', array( 'URL' => 'http://link1', 'label' => 'This is a label', 'shape' => 'box' ) ); $graph->addNode( 'Node2', array( 'URL' => 'http://link2', 'fontsize' => '14' ) ); $graph->addNode( 'Node3', array( 'URL' => 'http://link3', 'fontsize' => '20' ) ); $graph->addEdge( array( 'Node1' => 'Node2' ), array( 'label' => 'Edge Label' ) ); $graph->addEdge( array( 'Node1' => 'Node2' ), array( 'color' => 'red' ) ); $graph->image("jpg"); Expected result: ---------------- Actual result: -------------- ********** ERREUR ********** Warning: fopen(C:\WINNT\TEMP\gra2D08.tmp.jpg): failed to open stream: No such file or directory in d:\www\pear\Image\GraphViz.php on line 192 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=3349&edit=1

« previous php.pear.doc (#5566) next »