Difference between revisions of "User input nodes and user output nodes"
DKontotasiou (talk | contribs) |
|||
(40 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Analytica User Guide]] | [[Category:Analytica User Guide]] | ||
− | + | [[Category:Nodes]] | |
− | < | + | <breadcrumbs>Analytica User Guide > Examining a Model > {{PAGENAME}}</breadcrumbs> |
− | + | {{ReleaseBar}} | |
− | |||
− | |||
− | [[File:Chapter1 30.png]] | + | When you open a model with [[User Input nodes|user input nodes]] or [[user output nodes]], the top-level [[Diagram window]] might look like this: |
+ | {{Release||4.6|:[[File:Chapter1 30.png]]}} | ||
+ | {{CalloutAnnotationBlock|[[image:Rent vs Buy Model.png]]|{{CalloutAnnotation| | ||
+ | <small>Input nodes</small>|v=100|pt=13,179|path=rR15(*,71)-mrmR15!-|style=border-style:none;width:80px}} | ||
+ | {{CalloutAnnotation|<small>Output node</small>|v=243|pt=139,260|path=rm!-|style=border-style:none;width:90px}}|styleRhs=left:120px | ||
+ | }} | ||
+ | You can change the values in the [[User Input nodes|user input nodes]] directly. The [[user output nodes|user output node]], Net present value, shows a '''Calc '''button. Click it to compute and see its value. Double-click the '''Model details '''node to open a diagram showing details of the model (the [[About influence diagrams|influence diagram]] shown above). | ||
− | + | An existing model opens in browse mode. In this mode, the '''browse tool '''button is highlighted in the navigation [[toolbar]], and the cursor looks like this: | |
+ | {{Release|5.0||:{{CalloutAnnotationBlock| | ||
+ | <br /> | ||
+ | [[image:Toolbar browse buttons.png]]|{{CalloutAnnotation| | ||
+ | <small>Hand tool is highlighted to show that you are browsing</small>|v=0|pt=268,3|path=rR15U15-!|style=border-style:none;text-align:right}} | ||
− | + | In browse mode, you can change input node values, view output node results, and examine the model by opening windows to see more detail. | |
− | |||
− | [[File:Chapter1 | + | == Viewing User input nodes == |
+ | :[[File:Chapter1 33.png]] An input field lets you see a single number or text value. Click in the box to edit the value. {{Release||4.6|If it’s a text value, you must put matching quotes around it (single or double).}}{{Release|5.0||An input field can be configured to be ''Number only'', ''Text only'', ''Number or text only'' or (the default) any expression. When any expression is allowed, you must should put matching quotes (single or double) around a text value; otherwise, if it happens to be a valid expression, the entry will be interpreted as an expression rather than text.}} | ||
− | + | :[[Image:Chapter1 34.png]] A pull-down menu lets you choose from a list of options. Press the menu to see the list. | |
− | [[ | ||
− | [[ | + | :[[Image:Chapter1 35.png]] Click the '''List '''button to open a list of values, usually defining an Index. To change a value, click in its cell. For more about lists, see [[Creating_an_index#Editing_a_list|Editing a list]]. |
− | [[ | + | :[[Image:table-button.png]] Click to open an edit table showing an editable array with one or more dimensions displayed as a table. For more, see [[Editing a table]]. |
− | [[ | + | :[[Image:Chapter1 37.png]] Click to view and edit a probability distribution in the '''Function Finder'''. For more, see [[Probabilistic calculation]] |
− | [[ | + | :[[image:Checkbox.png]] Click to toggle the value between true and false. See [[Checkbox]]. |
− | + | :[[image:Slider%280.5%29.png]] Drag thumb to change value. See [[Slider]]. | |
− | + | == Viewing User output node values == | |
− | [[ | + | :[[Image:Chapter1 38.png]] Click the '''Calc '''button to compute and display the value of this output variable. When computing is complete, it shows a number in this node, or, if it’s an array, it changes to the '''Result '''button and opens a [[Result window]] showing a table or graph. See [[Result Tables and Graphs]] for more. |
+ | |||
+ | :[[Image:result-button.png]] The '''Result '''button shows that an array has been calculated. Click it to open a [[Result window]] showing a table or graph. See [[Result Tables and Graphs]] for more. | ||
+ | |||
+ | == Button styles == | ||
+ | To alter the overall UI style, you can select from several different button styles in the [[Diagram Style dialog]], such as the '''Icon''' style show here. | ||
+ | |||
+ | <center>[[image:Daylight analyzer.png]]</center> | ||
== Opening module details == | == Opening module details == | ||
− | To see the structure of the model, double-click the module '''Model details''', to display its diagram window (see [[ | + | To see the structure of the model, double-click the module '''Model details''', to display its diagram window (see [[Object window]]). |
==See Also== | ==See Also== | ||
− | + | * [[User Input nodes]] | |
− | | | + | * [[User output nodes]] |
− | + | * [[Node Style dialog]] | |
− | |} | + | * [[Node Alignment, Sizing, and Spacing]] |
− | </ | + | * [[Buttons]] |
+ | * [[Tutorial: Open a model to browse#Changing_input_values_and_recomputing|Tutorial: Changing input values and recomputing]] | ||
+ | * [[Tutorial: Open a model to browse#Computing_output_values|Tutorial: Computing output values]] | ||
+ | * [[User inputs and outputs as aliases]] | ||
+ | * [[Diagram window]] | ||
+ | * [[Object window]] | ||
+ | * [[FormNode]] | ||
+ | * [https://youtu.be/d7NzEARJzIg User interfaces (UI) basics] video tutorial | ||
+ | |||
+ | {{Release||4.6|<footer>Toolbar/ {{PAGENAME}} / Object window </footer>}} | ||
+ | {{Release|5.0||<footer>Hover icons/ {{PAGENAME}} / Object window </footer>}} |
Latest revision as of 15:34, 25 October 2024
Release: |
4.6 • 5.0 • 5.1 • 5.2 • 5.3 • 5.4 • 6.0 • 6.1 • 6.2 • 6.3 • 6.4 • 6.5 |
---|
When you open a model with user input nodes or user output nodes, the top-level Diagram window might look like this:
You can change the values in the user input nodes directly. The user output node, Net present value, shows a Calc button. Click it to compute and see its value. Double-click the Model details node to open a diagram showing details of the model (the influence diagram shown above).
An existing model opens in browse mode. In this mode, the browse tool button is highlighted in the navigation toolbar, and the cursor looks like this:
{{Release|5.0||:{{CalloutAnnotationBlock|
|
In browse mode, you can change input node values, view output node results, and examine the model by opening windows to see more detail.
Viewing User input nodes
An input field lets you see a single number or text value. Click in the box to edit the value. An input field can be configured to be Number only, Text only, Number or text only or (the default) any expression. When any expression is allowed, you must should put matching quotes (single or double) around a text value; otherwise, if it happens to be a valid expression, the entry will be interpreted as an expression rather than text.
Click the List button to open a list of values, usually defining an Index. To change a value, click in its cell. For more about lists, see Editing a list.
Click to open an edit table showing an editable array with one or more dimensions displayed as a table. For more, see Editing a table.
Click to view and edit a probability distribution in the Function Finder. For more, see Probabilistic calculation
Click to toggle the value between true and false. See Checkbox.
Drag thumb to change value. See Slider.
Viewing User output node values
Click the Calc button to compute and display the value of this output variable. When computing is complete, it shows a number in this node, or, if it’s an array, it changes to the Result button and opens a Result window showing a table or graph. See Result Tables and Graphs for more.
The Result button shows that an array has been calculated. Click it to open a Result window showing a table or graph. See Result Tables and Graphs for more.
Button styles
To alter the overall UI style, you can select from several different button styles in the Diagram Style dialog, such as the Icon style show here.

Opening module details
To see the structure of the model, double-click the module Model details, to display its diagram window (see Object window).
See Also
- User Input nodes
- User output nodes
- Node Style dialog
- Node Alignment, Sizing, and Spacing
- Buttons
- Tutorial: Changing input values and recomputing
- Tutorial: Computing output values
- User inputs and outputs as aliases
- Diagram window
- Object window
- FormNode
- User interfaces (UI) basics video tutorial
Enable comment auto-refresher