added some basic timeline functionality

This commit is contained in:
itsmattkc
2019-08-12 23:24:58 +10:00
parent 3eee9893f8
commit e9702aeb52
14 changed files with 264 additions and 59 deletions
+13
View File
@@ -45,11 +45,24 @@ public:
*/
void AddNode(Node* node);
/**
* @brief Adds a node to this graph and all nodes connected to its inputs
*
* Adds the Node to the graph and runs through its inputs adding all of its dependencies (and all of their
* dependencies and so forth).
*/
void AddNodeWithDependencies(Node* node);
/**
* @brief Retrieve a complete list of the nodes belonging to this graph
*/
QList<Node*> nodes();
/**
* @brief Returns whether a certain Node is in the graph or not
*/
bool ContainsNode(Node* n);
signals:
/**
* @brief Signal emitted when a Node is added to the graph