Bug #3349 [Opn]: Error in GraphViz

From: Date: Wed, 02 Feb 2005 08:50:20 +0000
Subject: Bug #3349 [Opn]: Error in GraphViz
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5504@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 User updated by: jean-louis dot calmette at laposte dot fr Reported By: jean-louis dot calmette at laposte dot fr Status: Open Type: Bug Package: Documentation Operating System: win 2000 SP4 PHP Version: 4.3.8 New Comment: 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'; Previous Comments: ------------------------------------------------------------------------ [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 (#5504) next »