protected function _configureGraphBar()
    {
        $entity = $this->getController()->getItem();
        $viewer = get_viewer();
        $types = array();

        if ($entity->isFollowable()) {
            $types[] = 'Followers';
        }

        if ($entity->isLeadable()) {
            $types[] = 'Leaders';

            if (!$viewer->guest() && !$entity->eql($viewer)) {
                $types[] = 'CommonLeaders';
            }
        }

        if ($entity->authorize('administration', array('strict' => true))) {
            $types[] = 'Blockeds';
        }

        $filter = $this->getService('anahita:filter.cmd');

        foreach ($types as $type) {
            $label = array(strtoupper('COM-'.$this->getIdentifier()->package.'-NAV-LINK-SOCIALGRAPH-'.$type));
            $label[] = 'COM-ACTORS-NAV-LINK-SOCIALGRAPH-'.strtoupper($type);
            $cmd = strtolower($filter->sanitize($type));

            if ($cmd == 'followers' && $this->getController()->type == 'leadables') {
                $active = true;
            } elseif ($cmd === $this->getController()->type) {
                $active = true;
            } else {
                $active = false;
            }

            $this->addNavigation('navbar-'.$cmd, translate($label), $entity->getURL().'&get=graph&type='.$cmd, $active);
        }

        $title = array(strtoupper('COM-'.$this->getIdentifier()->package.'-NAV-TITLE-SOCIALGRAPH'));

        $title[] = 'COM-ACTORS-NAV-TITLE-SOCIALGRAPH';

        $this->setTitle(sprintf(translate($title), $entity->name));

        $this->setActor($entity);
    }