Has anyone used graphviz-php and if so do they know where I can find any documentation regarding its usage/class structure etc?
Please note that this is the graphviz-php not the pear (image_graphviz).
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have found an explanation of the graphviz.php as below.
The GraphViz class allows for the creation of and the work with directed and undirected graphs and their visualization with AT&T’s GraphViz tools.
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();