can visually see connections between parameters in the node view

This commit is contained in:
itsmattkc
2019-07-15 12:43:56 -04:00
parent 837d43fe07
commit 3ec133f254
8 changed files with 233 additions and 36 deletions
+5
View File
@@ -45,6 +45,11 @@ Node *NodeParam::parent()
return static_cast<Node*>(QObject::parent());
}
int NodeParam::index()
{
return parent()->IndexOfParameter(this);
}
const QVector<NodeEdgePtr> &NodeParam::edges()
{
return edges_;