MantisBT
[ class tree: MantisBT ] [ index: MantisBT ] [ all elements ]

Class: Digraph

Source Location: /core/graphviz_api.php

Class Overview

Graph
   |
   --Digraph

Directed graph creation and manipulation.


Methods


Inherited Variables

Inherited Methods

Class: Graph

Graph::Graph()
Constructor for Graph objects.
Graph::add_edge()
Adds an edge to the graph.
Graph::add_node()
Adds a node to the graph.
Graph::generate()
Generates an undirected graph representation (suitable for neato).
Graph::is_edge_present()
Check if an edge is already present.
Graph::output()
Outputs a graph image or map in the specified format.
Graph::set_attributes()
Sets graph attributes.
Graph::set_default_edge_attr()
Sets default attributes for all edges of the graph.
Graph::set_default_node_attr()
Sets default attributes for all nodes of the graph.
Graph::_build_attribute_list()
PROTECTED function to build a node or edge attribute list.
Graph::_print_graph_defaults()
PROTECTED function to print graph attributes and defaults.

Class Details

[line 499]
Directed graph creation and manipulation.



[ Top ]


Class Methods


constructor Digraph [line 508]

null Digraph( [string $p_name = 'G'], [array $p_attributes = array()], [string $p_tool = 'dot'], [string $p_com_module = 'WinGraphviz.DOT'])

Constructor for Digraph objects.



Parameters:

string   $p_name  
array   $p_attributes  
string   $p_tool  
string   $p_com_module  

[ Top ]

method generate [line 515]

void generate( )

Generates a directed graph representation (suitable for dot).



Overrides Graph::generate() (Generates an undirected graph representation (suitable for neato).)

[ Top ]


Documentation generated on Sun, 12 Dec 2010 23:50:30 +0900 by phpDocumentor 1.4.3
inserted by FC2 system