Difference between revisions of "Visual network topoloy"
From Artificial Neural Network for PHP
|
|
Line 21: |
Line 21: |
|
== Output == |
|
== Output == |
|
|
|
|
− |
[[Image:network.png]] |
+ |
[[Image:network.png|800px|Image of network toplogy]] |
Revision as of 18:55, 6 January 2008
PNG image of network topology
require_once 'ANN/ANN_Network.php';
try
{
$network = ANN_Network::loadFromFile('xor.dat');
}
catch(Exception $e)
{
print 'Network not found';
exit;
}
$image = new ANN_NetworkGraph($network);
$image->printImage();
Output