| 106 | return m_getNode(name); |
| 107 | } |
| 108 | void DOTGraphOutput::addEdge(NodeInterface &tail, NodeInterface &head, |
| 109 | std::string const &type, std::string const &data) { |
| 110 | |
| 111 | std::string attributes; |
| 112 | if (type == "alias") { |
| 113 | if (!data.empty()) { |
| 114 | attributes = "label=\"has transform\""; /// @todo not including |
| 115 | /// transform because we'd have |
| 116 | /// to escape characters. |
| 117 | } |
| 118 | } |
| 119 | auto &dotHead = m_getNode(head); |
| 120 | auto &dotTail = m_getNode(tail); |
| 121 | addEdge(dotTail, dotHead, attributes); |
| 122 | } |
| 123 | |
| 124 | void DOTGraphOutput::addEdge(DOTNode &tail, DOTNode &head, |
| 125 | std::string const &attributes) { |
no test coverage detected