Bug #3349 [NEW]: Error in GraphViz
| From: | jean-louis dot calmette at laposte dot fr | Date: | Tue, 01 Feb 2005 17:14:29 +0000 |
| Subject: | Bug #3349 [NEW]: Error in GraphViz | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5503@lists.php.net to get a copy of this message | ||
From: jean-louis dot calmette at laposte dot fr
Operating system: win 2000 SP4
PHP version: 4.3.8
Package: Documentation
Bug Type: Bug
Bug description: Error in GraphViz
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 bug report at http://pear.php.net/bugs/bug.php?id=3349&edit=1
--