public function noteFromNodeToDslText(NodeInterface $node)
    {
        if (!$node instanceof NoteProviderInterface) {
            throw new \InvalidArgumentException('Node must implement NoteProviderInterface');
        }

        $note   = $node->getNote();
        $noteBg = $node->getNoteBg();

        if (!is_string($note) || strlen($note) < 1) {
            return '';
        }

        if (!is_string($noteBg) || strlen($noteBg) < 1) {
            $noteBg = NoteProviderInterface::BG_BEIGE;
        }

        $noteDslText = $this->useCaseNodeToDslText($node)
                     . $this->dependncyTypeToDslText[Dependency::TYPE_ASSOCIATION]
                     . sprintf($this->nodeTypeToDslText[Node::TYPE_NOTE], $note, $noteBg)
                     . ',';

        return $noteDslText;
    }