Directory: | QGVCore/ |
---|---|
File: | QGVCore/private/QGVGraphPrivate.cpp |
Date: | 2024-12-03 11:07:38 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 0 | 6 | 0.0% |
Branches: | 0 | 2 | 0.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | #include "QGVGraphPrivate.h" | ||
2 | |||
3 | ✗ | QGVGraphPrivate::QGVGraphPrivate(Agraph_t *graph) : _graph(NULL) { | |
4 | ✗ | setGraph(graph); | |
5 | } | ||
6 | |||
7 | ✗ | void QGVGraphPrivate::setGraph(Agraph_t *graph) { | |
8 | ✗ | if (_graph != NULL) agclose(_graph); | |
9 | ✗ | _graph = graph; | |
10 | } | ||
11 | |||
12 | ✗ | Agraph_t *QGVGraphPrivate::graph() const { return _graph; } | |
13 |