began node viewer for dag insight

This commit is contained in:
itsmattkc
2019-07-15 03:52:44 -04:00
parent 33f9f9dbc4
commit dc2101938e
19 changed files with 401 additions and 42 deletions
+7
View File
@@ -20,6 +20,8 @@
#include "graph.h"
#include "qobjectlistcast.h"
NodeGraph::NodeGraph()
{
@@ -34,3 +36,8 @@ void NodeGraph::set_name(const QString &name)
{
name_ = name;
}
QList<Node *> NodeGraph::nodes()
{
return static_qobjectlist_cast<Node>(children());
}