User output nodes
• • • 5.2
An output node gives you, or your end user, rapid access to a selected result in the model. You can use output nodes to focus attention on particular outputs of interest.
An output node displays a result value in the view style — i.e., whether table or graph, the indexes displayed, and the uncertainty view — last selected for display and saved with the model. Optionally, you can also show the uncertainty view icon (see Uncertainty views) by turning on the Show result mode icons preference setting.
- If the result is a single value (mid value or mean), it displays directly in the output field. The
midseen here is the optional uncertainty view icon.
- If the result is a table, the output node displays a Result button. Click the button to display the table or graph. After you display the table or graph, you can use the result toolbar to change the view.
- If the value of an output has not yet been computed, the Calc button appears in the node. Click the Calc button to compute and display the value.
Creating an output node: To create an output node from a variable:
- Make sure you are in edit mode.
- In a Diagram window, select the node of the variable for which you wish to create an output node.
- There are three options once you have selected the node:
- Select Make Output Node from the Object menu
- Right click the node and select Make User Output Node
- Use the keyboard shortcut Ctrl+Alt+O
- Move the output node, which appears in the diagram next to the selected node, to the location you want.
- Adjust the size of the node.
You can resize input and output nodes by dragging their corner handles, just like other nodes. But for these, its usually most convenient to deselect Resize centered from the Diagram menu so you can align them either along their right edges, or both edges.
You can also drag the left edge of the control field, button, or menu left or right to change its width. This is especially useful for choice menus when you want to expand the width to be large enough for the widest menu option.
When using a pull-down menu containing long text values, you might want to adjust the pull-down control as necessary to accommodate your longest text value. Input and output nodes contain text and graphics, in addition to the control itself. The node resizing handles that appear as small black squares at the corners of the node adjust the size of the bounding rectangle that holds all these items, but does not change the width of the control itself. To change the width of a control (a pull-down menu, textedit box, or button), position the mouse over the left edge of the control, depress the mouse button and drag the cursor to the left or right.