public function getUriForDiagrammType($type)
    {
        switch ($type) {
            case Diagramm::TYPE_ACTIVITY:
                $uri = $this->getOptions()->getYumlActivityDiagrammUrl();
                break;
            case Diagramm::TYPE_CLASS:
                $uri = $this->getOptions()->getYumlClassDiagrammUrl();
                break;
            case Diagramm::TYPE_DIAGRAMM:
                throw new \InvalidArgumentException('Unsupported diagramm type "' . $type . '"');
                break;
            case Diagramm::TYPE_USE_CASE:
                $uri = $this->getOptions()->getYumlUseCaseDiagrammUrl();
                break;
            default:
                throw new \InvalidArgumentException('Unkown diagramm type "' . $type . '"');
                break;
        }
        return $uri;
    }