Firebird: Difference between revisions
From stonehomewiki
Jump to navigationJump to search
Stonezhong (talk | contribs) |
Stonezhong (talk | contribs) (→APIs) |
||
| Line 12: | Line 12: | ||
<div class="mw-collapsible-preview">Node</div> | <div class="mw-collapsible-preview">Node</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Represent a node in the pipeline. A node can have bunch of input ports and bunch of output ports. Each port has a unique name within the node. | |||
* (property) name: the name of the node, it is unique within a pipeline | |||
* INPUT: a dictionary like object, allowing you to get input port by name, e.g. <nowiki>node.INPUT["foo"]</nowiki> will return the input port with name "foo" | |||
* input: the default input port, e.g. node.input | |||
* OUTPUT: a dictionary like object, allowing you to get output port by name, e.g. <nowiki>node.OUTPUT["foo"]</nowiki> will return the output port with name "foo" | |||
* output: the default input port, e.g. node.output | |||
</div> | </div> | ||
</div> | </div> | ||