AcpStyles
Awp_attrib
By adding a user defined attribute called 'Awp_attrib' to your Analytica model file, you can enter a number of configuration flags to tell AWP to do certain things differently when playing this model.
Model level settings
So one can add the text values outlined below to the Awp_attrib of the object window of the Model. I.e. The object window for the top level diagram. So far, all the Awp_attrib flags should be applied to the top level Model (otherwise it will be ignored and have no effect).
- no_outline - The outline tree of a model's modules is usually presented on the left hand side of AWP when the model being played has submodules. Some modelers have requested a flag for supressing the outline tree. So you can now add the 'no_outline' to the Awp_attrib so ensure the outline tree is not displayed when the model is viewed in AWP.
- calc_on_open - For some models, e.g. dashboard views, you may want to simply have all the output nodes display there results when the diagram is loaded. Thus, the uses doesn't have to click on the output nodes to view the nodes results (at least if they a single value or an embedded table on the diagram).
- restrict_navigation - For some models, you might just want to make not make all the diagrams available for playing by the end user. For example, you might want to limit the navigation to one or more diagrams for entering inputs and viewing results. By setting this flag, you can remove the various builtin GUI elements used to navigate the model. This flag will remove:
- The 'outline tree' for navigating modules
- The 'Go into parent' button which usually displays the diagram that contains the module currently being viewed.
- The navigation tabs i.e. Diagam, object , edit table, result table, and graph tabs. So instead of having these tabs, tables and graphs need to be embedded in the diagram.
- Right click popup menu for displaying the object view.
- no_save - If this flag is set, the 'SAVE MODEL' option usually located on the upper right is removed.
- top_diagram_only - This flag will have the model with only the top diagram displayed. Any actions that would normally bring up a different diagram instead just reload the top diagram.
Enhanced Diagram Graphics
Because AWP runs in Adobe Flash Player, it is fairly easy to add some graphical effects.
- use_bevel_border - Adds a gradient bevel to the edges of nodes giving them a 3-d effect. There's also a flag to explicitly tell AWP not to use the beveled border, dont_use_bevel_border. This is the default behavior in AWP, so if neither of these flags are present, then AWP will not use the beveled border.
- use_drop_shadow - Adds a shadow effect below the node, again giving the nodes a 3-d effect. There's also a flag to explicitly tell AWP not to use the drop shadow, dont_use_bevel_border. This is the default behavior in AWP, so if neither of these flags are present, then AWP will not add the drop shadow effect.
- use_glow_hover_highlight - When a user hovers the mouse over a node, this effect adds a "glowing" highlight effect to the node. There's also a flag to explicitly tell AWP not to use the glow effect, dont_use_glow_hover_highlight. Not using this effect is the default behavior in AWP, so if neither of these flags are present, then AWP will not add the glow hover highlight effect.
So to summarize, these effect features are somewhat new and need to be tested and refined, and thus they will not be used by default in AWP. If you want to turn them on and try them out, then you'll need to add the AWP attribute to use them. Eventually, using these effects will probably become default, and when that happens you can turn them off by adding the attribute to not use them.
Enable comment auto-refresher
Dpaine