Clue\GraphComposer\Graph\GraphComposer::displayGraph PHP Method

displayGraph() public method

public displayGraph ( )
    public function displayGraph()
    {
        $graph = $this->createGraph();
        $this->graphviz->display($graph);
    }

Usage Example

 public function testWillDisplayGraph()
 {
     $dir = __DIR__ . '/../';
     $graphviz = $this->getMock('Graphp\\GraphViz\\GraphViz');
     $graphviz->expects($this->once())->method('display');
     $graphComposer = new GraphComposer($dir, $graphviz);
     $graphComposer->displayGraph();
 }
All Usage Examples Of Clue\GraphComposer\Graph\GraphComposer::displayGraph