Difference between revisions of "GetArrowsOnDiagram"

 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[category:Meta-Inference Functions]]
 
[[category:Meta-Inference Functions]]
  
''new to [[Analytica 4.7]]''
+
''new to [[Analytica 5.0]]''
  
== GetArrowsOnDiagram(module) ==
+
== GetArrowsOnDiagram(module'', browseOnly'') ==
  
Returns a list of the arrows that appear on an influence diagram. Each arrow is returned as a reference to a list containing three elements: [[Handle]] to source node, handle to target node, an integer that has bit zero (i.e., is odd) when the arrow is a [[dynamic]] arrow.
+
Returns a list of the arrows that appear on an influence diagram. Each arrow returned has three elements:  
 +
* [[Handle]] to source node
 +
* handle to target node
 +
* flags -- a sum of integer bits:
 +
*:1 = the arrow is a [[dynamic]] arrow.
 +
*:2 = the arrow is hidden in browse mode, but visible in edit mode.  (new to [[Analytica 6.0]])
 +
 
 +
(new to [[Analytica 6.0]]). When the optional «browseOnly» parameter is set to true, arrows that are hidden in browse mode are not included in the result.
  
 
==History==
 
==History==
Introduced in [[Analytica 4.7]].
+
Introduced in [[Analytica 5.0]].
  
 
==See Also==
 
==See Also==
 
* [[Draw arrows]]
 
* [[Draw arrows]]
 
* [[Draw arrows between modules]]
 
* [[Draw arrows between modules]]
* [[Drawing arrows between variables in different modules]]
 
 
* [[Modules and Libraries]]
 
* [[Modules and Libraries]]
 
* [[Arranging nodes to make clear diagrams]]
 
* [[Arranging nodes to make clear diagrams]]
 
* [[Diagram window]]
 
* [[Diagram window]]
 +
* [[Meta-Inference]]

Latest revision as of 20:16, 30 April 2024


new to Analytica 5.0

GetArrowsOnDiagram(module, browseOnly)

Returns a list of the arrows that appear on an influence diagram. Each arrow returned has three elements:

  • Handle to source node
  • handle to target node
  • flags -- a sum of integer bits:
    1 = the arrow is a dynamic arrow.
    2 = the arrow is hidden in browse mode, but visible in edit mode. (new to Analytica 6.0)

(new to Analytica 6.0). When the optional «browseOnly» parameter is set to true, arrows that are hidden in browse mode are not included in the result.

History

Introduced in Analytica 5.0.

See Also

Comments


You are not allowed to post comments.