Graphics Programs Reference
In-Depth Information
Figure 13-13 The Red , Yellow , and Green output ports added to the Traffic-Lights node
If the ports are not properly visible on the Traffic-Lights node, press and hold CTRL and
then double-click on the node's title bar. Next, you will add the Compare node to the
XPresso Editor .
11. Similarly, add the Green output port to the Traffic-Lights node. Figure 13-13 displays
the Red , Yellow , and Green output ports in the Traffic-Lights node.
12. In the XPresso Editor , right-click in the XGroup area; a shortcut menu is displayed.
From the shortcut menu, choose New Node > XPresso > Logic > Compare , as shown
in Figure 13-14; the Compare node is added to the XPresso Editor .
13. In the XPresso Editor , make sure that the Compare node is selected. In the Attribute
Manager, choose the Basic button; the Basic Properties area is displayed. In this area,
enter Compare 1 in the Name text box; the Compare node is renamed as Compare 1
in the XPresso Editor .
The Compare node is used to compare two or more values to get a result.
14. Repeat step 12 to add two more Compare nodes to the XPresso Editor . Next, rename
these nodes as Compare 2 and Compare 3 respectively, as done in the previous step.
Tip : You can also create the copies of a node by first pressing CTRL+C and then CTRL+V
.
Next, you will add the Condition node to the XPresso Editor .
Search WWH ::




Custom Search