fnode
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Generates a FlowNode based on the current GraphProcessPoint and returns a FlowNode object.
Prototype
1 | fnode(input_num, output_num, name=None) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
input_num |
int |
Number of node inputs. |
output_num |
int |
Number of node outputs. |
name |
str |
Node name. The framework automatically ensures that the node name is unique. If this parameter is not set, names such as FlowNode, FlowNode_1, FlowNode_2, and the like will be automatically generated. |
Returns
The FlowNode object is returned.
Examples
1 2 3 | import dataflow as df pp1 = df.GraphProcessPoint(...) flow_node = pp1.fnode(input_num=2, output_num=1) |
Constraints
None
Parent topic: dataflow.GraphProcessPoint