An implementation of the ezcTreeVisitor interface that generates GraphViz/dot markup for a tree structure.
Source for this file: /Tree/src/visitors/graphviz.php
Version: | //autogentag// |
protected array(id=>array(ezcTreeNode)) |
$edges
= array()
Holds all the edges of the graph. |
protected array(string=>string) |
$nodes
= array()
Holds the displayed strings for each of the nodes. |
public bool |
visit(
$visitable
)
Visits the node and sets the the member variables according to the node type and contents. |
Visits the node and sets the the member variables according to the node type and contents.
Name | Type | Description |
---|---|---|
$visitable |
ezcTreeVisitable |
Method | Description |
---|---|
ezcTreeVisitor::visit() |
Visit the $visitable. |