コード例 #1
0
ファイル: SubgraphTest.php プロジェクト: esysteme/graphviz
 /**
  * @expectedException LogicException
  */
 public function testUnknownParent()
 {
     $subgraph = new Subgraph('S');
     $subgraph->edge(array('A', 'B', 'C'));
     $subgraph->render();
     $this->markTestIncomplete('This test has not been fully implemented yet.');
 }
コード例 #2
0
ファイル: Subgraph.php プロジェクト: odolbeau/rabbitmq-graph
 /**
  * {@inheritDoc}
  */
 public function render($indent = 0, $spaces = self::DEFAULT_INDENT)
 {
     $this->set('style', 'filled')->set('color', 'lightgrey')->set('label', str_replace('/', 'default', $this->name));
     $this->build();
     return parent::render($indent, $spaces);
 }