| 269 | } |
| 270 | |
| 271 | QString Set::dumpDotGraph() const |
| 272 | { |
| 273 | if (!m_repository || !m_tree) |
| 274 | return QString(); |
| 275 | |
| 276 | QMutexLocker lock(m_repository->m_mutex); |
| 277 | |
| 278 | SetRepositoryAlgorithms alg(m_repository->m_dataRepository, m_repository); |
| 279 | return alg.dumpDotGraph(m_tree); |
| 280 | } |
| 281 | |
| 282 | Index SetRepositoryAlgorithms::count(const SetNodeData* node) const |
| 283 | { |