Clue\GraphComposer\Graph\GraphComposer::displayGraph PHP 메소드

displayGraph() 공개 메소드

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

Usage Example

예제 #1
0
 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