* @brief Clone the GraphView with shared Operators. It is a new GraphView, with cloned Nodes, but the new Nodes refer to the same Operators as the original ones.
* @brief Clone the GraphView with shared Operators. It is a new GraphView, with cloned Nodes, but the new Nodes refer to the same Operators as the original ones.
...
@@ -415,27 +440,33 @@ private:
...
@@ -415,27 +440,33 @@ private:
IOIndex_tgetNbDataInputs()const;
IOIndex_tgetNbDataInputs()const;
/**
/**
* @brief Update the set of inputNodes with a new Node, checking if it can be
* @brief Update inputs/outputs of the GraphView, with no particular order.
* added and removing any Node not part of mInputNode anymore.
* This function DOES NOT preserve inputs/outputs order and should NOT BE USED.
* It is here only to leave time to adapt the replace() function.
*/
[[deprecated]]voidupdateInputsOutputsNodes();
/**
* @brief Automatically update GraphView inputs/outputs with a new Node, checking if
* it this Node becomes an input/output for the graph and if previous inputs are still
* inputs/outputs after adding this node.
* @param nodePtr
* @param nodePtr
*/
*/
voidupdateInputNodes(NodePtrnode);
voidupdateInputsOutputsNew(NodePtrnewNode);
/**
/**
* @brief Update the set of outputNodes with a new Node, checking if it can be
* @brief Automatically update GraphView inputs/outputs with a Node removed, checking if
* added and removing any Node not part of mOutputNode anymore.
* it this Node was an input/output for the graph and if this node childs become new inputs/outputs