phpDocumentor CoreAPI
GraphVizAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Class: Graph

Source Location: /core/graphviz_api.php

Class Graph

Descendants
Child Class Description
Digraph

[ Top ]
Property Summary
mixed   $attributes  
mixed   $default_edge  
mixed   $default_node  
mixed   $edges  
mixed   $formats  
mixed   $graphviz_com_module  
mixed   $graphviz_tool  
mixed   $name  
mixed   $nodes  

[ Top ]
Method Summary
Graph   Graph()  
void   add_edge()  
void   add_node()  
void   generate()  
void   is_edge_present()  
void   output()  
void   set_attributes()  
void   set_default_edge_attr()  
void   set_default_node_attr()  
void   _build_attribute_list()  
void   _print_graph_defaults()  

[ Top ]
Properties
mixed   $attributes = array() [line 66]

[ Top ]
mixed   $default_edge = null [line 68]

[ Top ]
mixed   $default_node = null [line 67]

[ Top ]
mixed   $edges = array() [line 70]

[ Top ]
mixed   $formats = array(
'dot' => array(
'binary' => false,
'type' => GRAPHVIZ_ATTRIBUTED_DOT,
'mime' => 'text/x-graphviz',
),'ps'=>array('binary'=>false,'type'=>GRAPHVIZ_PS,'mime'=>'application/postscript',),'hpgl'=>array('binary'=>true,'type'=>GRAPHVIZ_HPGL,'mime'=>'application/vnd.hp-HPGL',),'pcl'=>array('binary'=>true,'type'=>GRAPHVIZ_PCL,'mime'=>'application/vnd.hp-PCL',),'mif'=>array('binary'=>true,'type'=>GRAPHVIZ_MIF,'mime'=>'application/vnd.mif',),'gif'=>array('binary'=>true,'type'=>GRAPHVIZ_GIF,'mime'=>'image/gif',),'jpg'=>array('binary'=>false,'type'=>GRAPHVIZ_JPEG,'mime'=>'image/jpeg',),'jpeg'=>array('binary'=>true,'type'=>GRAPHVIZ_JPEG,'mime'=>'image/jpeg',),'png'=>array('binary'=>true,'type'=>GRAPHVIZ_PNG,'mime'=>'image/png',),'wbmp'=>array('binary'=>true,'type'=>GRAPHVIZ_WBMP,'mime'=>'image/vnd.wap.wbmp',),'xbm'=>array('binary'=>false,'type'=>GRAPHVIZ_XBM,'mime'=>'image/x-xbitmap',),'ismap'=>array('binary'=>false,'type'=>GRAPHVIZ_ISMAP,'mime'=>'text/plain',),'imap'=>array('binary'=>false,'type'=>GRAPHVIZ_IMAP,'mime'=>'application/x-httpd-imap',),'cmap'=>array('binary'=>false,'type'=>GRAPHVIZ_CMAP,'mime'=>'text/html',),'cmapx'=>array('binary'=>false,'type'=>GRAPHVIZ_CMAPX,'mime'=>'application/xhtml+xml',),'vrml'=>array('binary'=>true,'type'=>GRAPHVIZ_VRML,'mime'=>'x-world/x-vrml',),'svg'=>array('binary'=>false,'type'=>GRAPHVIZ_SVG,'mime'=>'image/svg+xml',),'svgz'=>array('binary'=>true,'type'=>GRAPHVIZ_SVGZ,'mime'=>'image/svg+xml',),'pdf'=>array('binary'=>true,'type'=>GRAPHVIZ_PDF,'mime'=>'application/pdf',),)
[line 75]

[ Top ]
mixed   $graphviz_com_module [line 73]

[ Top ]
mixed   $graphviz_tool [line 72]

[ Top ]
mixed   $name = 'G' [line 65]

[ Top ]
mixed   $nodes = array() [line 69]

[ Top ]
Methods
Constructor Graph  [line 174]

  Graph Graph( [ $p_name = 'G'], [ $p_attributes = array()], [ $p_tool = 'neato'], [ $p_com_module = 'WinGraphviz.NEATO']  )

Parameters:
   $p_name: 
   $p_attributes: 
   $p_tool: 
   $p_com_module: 


[ Top ]
add_edge  [line 214]

  void add_edge( $p_src, $p_dst, [ $p_attributes = array()]  )

Parameters:
   $p_src: 
   $p_dst: 
   $p_attributes: 


[ Top ]
add_node  [line 207]

  void add_node( $p_name, [ $p_attributes = array()]  )

Parameters:
   $p_name: 
   $p_attributes: 


[ Top ]
generate  [line 235]

  void generate( )



Redefined in descendants as:

[ Top ]
is_edge_present  [line 225]

  void is_edge_present( $p_src, $p_dst  )

Parameters:
   $p_src: 
   $p_dst: 


[ Top ]
output  [line 258]

  void output( [ $p_format = 'dot'], [ $p_headers = false]  )

Parameters:
   $p_format: 
   $p_headers: 


[ Top ]
set_attributes  [line 186]

  void set_attributes( $p_attributes  )

Parameters:
   $p_attributes: 


[ Top ]
set_default_edge_attr  [line 200]

  void set_default_edge_attr( $p_attributes  )

Parameters:
   $p_attributes: 


[ Top ]
set_default_node_attr  [line 193]

  void set_default_node_attr( $p_attributes  )

Parameters:
   $p_attributes: 


[ Top ]
_build_attribute_list  [line 388]

  void _build_attribute_list( $p_attributes  )

Parameters:
   $p_attributes: 


[ Top ]
_print_graph_defaults  [line 416]

  void _print_graph_defaults( )



[ Top ]

Documentation generated on Sun, 05 Apr 2009 23:01:15 +0100 by phpDocumentor 1.4.1