AcpStyles

Awp_attrib

Model level settings

So if one can add these values outlined below to the Awp_attrib to the object window of the Model. I.e. The object window for the top level diagram. So far, all the Awp_attrib 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.
  • no_copy_table_icon - This flag causes the copy table icon that appears next to result tables not to be shown. The default behavior in AWP is to show this icon. Using this flag tells AWP not to show this copy table icon.


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.

Comments


Dpaine

61 months ago
Score 0

Autocalc was a combination of autorecalcresults and calc_on_open. They were in the diagram style section of this page, but I just commented them out since they do not work (yet) in ACP3/suan and I don't think we have any intention of including them, since proactively evaluate can I think replace the functionality. These are still mentioned in the style library wiki page, but I intend to remove it.

I'll put a link to the proactivelyevaluate page though, and I will add it to new DTA features in ACP with a link to its wiki page.

You are not allowed to post comments.