User Input nodes

Revision as of 20:29, 1 July 2016 by Bbecane (talk | contribs)


An input node lets you, or your end user, see and easily change the value of a variable directly in the diagram, without opening an Attribute view or Object window (see Browsing with input and output nodes). In browse mode you can change only the values and definitions of input nodes.

An input node is an alias of a variable that you want to treat as an input to the model (see Alias nodes).

The type of definition of the original variable determines the appearance of the input node. If you want your users to be able to change the type of definition, instruct them on how to open an Attribute view or Object window and use the expr menu.

Input field

Chapter9 2.png A single number or text value (scalar) displays as an input field. You can have Analytica check if the input value is acceptable by using the Check attribute; the check is performed on input of a new value.

Input popup menu

Chapter9 3.png A choice displays as an input popup menu. To create an input menu for an input node, see Creating a choice menu.

List

Chapter9 4.png A list or list of labels displays as a List button. See Creating an index.

Edit table

Chapter9 5.png An edit table displays as an Edit Table button. See Defining a variable as an edit table.

Probability distribution

Chapter9 6.png A probability distribution displays a button with the name of the distribution. See Defining a variable as a distribution.

Creating an input node: To create an input node from a variable:

  1. Make sure you are in edit mode.
  2. Select the variable.
  3. Select Make Input Node from the Object menu. The input node appears in the same diagram next to the selected node.
  4. Move the input node to the location you want.
  5. Adjust the size of the node.
Tip
To make several input nodes at once, select the nodes and then choose Make Input Node.

See Also


Comments


You are not allowed to post comments.