/** * For additional info * * @param self $node Current node * * @return string */ protected function drawAdditional(self $node) { $result = parent::drawAdditional($node); if ($node->getParentClass()) { $result .= ' <i>(' . $node->getParentClass() . ')</i>'; } return $result; }
/** * For additional info * * @param \Includes\DataStructure\Graph $node Current node * * @return string */ protected function drawAdditional(\Includes\DataStructure\Graph $node) { $result = parent::drawAdditional($node); if ($node->getParentClass()) { $result .= ' <i>(' . $node->getParentClass() . ')</i>'; } return $result; }