implemented the ability to make inputs that can't be connected

This commit is contained in:
itsmattkc
2019-12-15 04:15:09 +11:00
parent f3acc369ff
commit a977020833
4 changed files with 32 additions and 4 deletions
+8
View File
@@ -266,6 +266,9 @@ public:
*/
bool IsConnected();
bool IsConnectable() const;
void SetConnectable(bool connectable);
/**
* @brief Return a list of edges (aka connections to other nodes)
*
@@ -387,6 +390,11 @@ private:
*/
QString id_;
/**
* @brief Internal connectable value
*/
bool connectable_;
};
#endif // NODEPARAM_H