Files
oak-editor/nodes/nodegraph.cpp
T
2019-05-09 00:19:36 +10:00

21 lines
254 B
C++

#include "nodegraph.h"
#include <QDebug>
NodeGraph::NodeGraph() :
output_node_(nullptr)
{
}
void NodeGraph::AddNode(NodePtr node)
{
nodes_.append(node);
emit NodeGraphChanged();
}
Node *NodeGraph::OutputNode()
{
return output_node_.get();
}