private static ValuePort GetValueInput(FlowNode node, LinkedPort str) { if (node == null) { return(null); } return(node.GetValueInput(str.port)); }
private static FlowOutput GetFlowOutput(FlowNode node, LinkedPort str) { if (node == null) { return(null); } var output = node.GetFlowOutput(str.port); return(output); }
private static ValuePort GetTargetValueOutput(Dictionary <string, FlowNode> flowNodes, LinkedPort str) { FlowNode node; flowNodes.TryGetValue(str.targetNodeId, out node); if (node == null) { return(null); } var output = node.GetValueOutput(str.targetPort); return(output); }
private static FlowInput GetTargetFlowInput(Dictionary <string, FlowNode> flowNodes, LinkedPort str) { FlowNode node; flowNodes.TryGetValue(str.targetNodeId, out node); if (node == null) { return(null); } return(node.GetFlowInput(str.targetPort)); }