Esempio n. 1
0
        public void AddNode(NodeInfo nodeInfo)
        {
            var node = CurrentDataFlowGraph.AddNode(nodeInfo,
                                                    ModelManager.Instance.CurrentActiveModel.GetComponent <XLander>());

            if (node == null)
            {
                return;
            }
            AddNodeDisplay(nodeInfo, node, true);
        }
Esempio n. 2
0
 public void RemoveEdge(UIControlledNodeField from, UIControlledNodeField to)
 {
     CurrentDataFlowGraph.RemoveEdge(from.NodeInstance, from.FieldInfo, to.NodeInstance, to.FieldInfo);
 }
Esempio n. 3
0
 public void RemoveNode(NodeEntry entry)
 {
     CurrentDataFlowGraph.RemoveNode(entry.NodeInstance);
     Destroy(entry.gameObject);
 }