Example #1
0
 /**
  * @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.');
 }
Example #2
0
 /**
  * {@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);
 }