Jump to: navigation, search

Diagram Preferences

Select Window> Preferences > Composer > Composer Diagram. The following preferences for diagrams can be set in the Preferences dialog box:

Global Settings

  1. Select or clear the check box for each of the following diagram global settings:
  • Show Connection Ports. If enabled, connection ports (both exception ports and out ports) are always displayed on blocks. This makes it convenient to draw links between blocks and to get immediate feedback on how many ports each block provides. However, in this case, the ability to reposition connections on a block is not available. If switched off, connection ports are not displayed by default, but repositioning or finer control over connection link placement becomes available. Note: This preference applies to all projects and is not available for individual projects.)
  • Show popup bars. If enabled, this setting displays basic blocks from the blocks palette in a pop-up bar if you hover your mouse on the diagram for one or two seconds without clicking. Note: blocks are shown in icon view only.)
  • Enable animated layout. If enabled, causes diagrams to gradually animate to their location when the Diagram \> Arrange \> Arrange All menu option is clicked.
  • Enable animated zoom. If enabled, while using the zoom tools, shows a gradual transition between the initial and final state of the diagram on the canvas. If off, the zoom is instantaneous. Similar behavior for animated layout when the Diagram \>\> Arrange \>\> Arrange All menu option is clicked.
  • Enable anti-aliasing. If enabled, improves the appearance of curved  shapes in the diagram. You can see its effect on the circles in the Entry and Exit blocks.
  • Show CodeGen success message. If unchecked, then the confirmation dialog at the completion of code generation will not be shown.) 
  • Prompt to Save Before Generating Code. If checked, when you generate code for an unsaved diagram, a prompt appears indicating the diagram has been modified and asking if you want to save the changes before generating code. The dialog box also contains a checkbox: Automatically save when generating code and do not show this message again.
  • Show Validation success message. If unchecked, then the confirmation dialog at the time of Validation will not be shown.)
  • Enable Validation for Prompt Resources. This preference is used for voice applications. If  unchecked, then a validation check for missing prompts is not performed at the time of Validation.
  • Interaction Process Diagram. If unchecked, Composer will save Interaction Process Diagrams before publishing.
  • Prompt to delete Published objects when Interaction Process Diagram is deleted. If unchecked, Composer will attempt to delete any Published objects when an Interaction Process Diagram is deleted. If Composer is not connected to Configuration Server, object deletion will not work.
  • Parameters auto synchronization (available starting with 8.1.410.14). This option reduces developer coding time by enabling Composer to automatically declare variables in a Main diagram to match input/output variable names in Subdialog block/Subroutine diagrams and to automatically perform the mapping. This feature is available for both user and system variables. For example, if a Subroutine diagram returns a variable called “xyz” and if Composer automatically declares “xyz” in the Main diagram to hold the output, then you do not have to manually do the mapping. If enabled, you are prompted for auto-synchronization whenever there is a need to change parameters names or add new variables in the dialogs.
    Scenarios:
    1. Subdialog or Subroutine Diagram: Entry Block—The auto-synchronization process will synchronize any newly added/updated variables and existing variables in the Subdiagram. If you add a new Input type variable, a prompt appears asking whether to add a corresponding Input parameter. You are also prompted to select or add the Input source variable in all the called Subroutine diagrams. New parameter naming in the calling Subdialog block is the same as the Input variable added in the Entry Block. If the Subroutine diagram is called from many diagrams, Composer provides a variable selection option for the called diagrams.
    2. Main callflow Diagram: Entry Block—If you add a new Input type variable, a prompt appears asking whether to add the corresponding input parameter. You are also prompted to select or add an Input source variable in all the called Play Application blocks. New Parameter naming in the calling Play Application block is the same as the Input variable added in the Entry Block. If the Main diagram was called from multiple Play Application blocks, a variable selection option for all the called blocks is provided.
    3. Subdialog or Subroutine diagram: Exit Block—If you change or delete a return parameter, a prompt appears on whether to delete the Output parameter and/or the missing ones in case of a change in all the called Subroutine or Subcallflow diagrams.
    4. The auto-synchronization parameter option also applies when there is a change in a configured Subroutine diagram. The auto-synchronization dialog confirmation appears as soon as a Subroutine diagram is added/updated. If the confirmation dialog is selected, it automatically synchronizes the Subroutine parameters to the Main diagram. This auto-synchronization prompt always appear even though the same diagram is updated again. When Output parameters are added in the Exit block, parameter synchronization also occurs.
    5. Application URL for Publish and Debugging. Select Use IP Address or Use Host Name.

    Notes:

    Composer creates unique names for auto-sync variables, such as <SubBlockName>_<VariableName>. SubBlockName is the name of the Subroutine/ Subdialog / Play Application blocks where the Subroutine diagram is being invoked. VariableName is the input variable name created in a Subroutine diagram.


  1. Click Apply.

Colors and Fonts

  1. Select Appearance under Composer Diagram.
  2. Click Change and make selections to change the default font if you  wish.
  3. Click the appropriate color icon beside any of the following and make selections to change color:
  • Font color
  • Fill color
  • Line color
  • Note fill color
  • Note line color
  1. Click Apply.

Connections

  1. Select Connections under Composer Diagram.
  2. Select a line style from the drop-down list:
  • Oblique
  • Rectilinear
  1. Click Apply.

Pathmaps

  1. Select Pathmaps under Composer Diagram.
  2. Click New to add a path variable to use in modeling artifacts, or If the list is populated, select the check box of a path variable in the list.
  3. Click Apply.

Printing

  1. Select Printing under Composer Diagram.
  2. Select Portrait or Landscape orientation.
  3. Select units of Inches or Millimetres.
  4. Select a paper size (default is Letter).
  5. Select a width and height (for inches, defaults are 8.5 and 11; formillimeters, defaults are 215.9 and 279.4).
  6. Select top, left, bottom, and right margin settings (for inches, defaults are 0.5; for millimeters, defaults are 12.7).
  7. Click Apply

Rulers and Grid

You can make use of rulers and grids when creating diagrams. Rulers and grids can provide a backdrop to assist you in aligning and organizing the elements of your callflow diagrams.

  1. Select Rulers and Grid under Studio Diagram.
  2. Select or clear the Show rulers for new diagram check box (not  selected by default).
  3. Select ruler units from the drop-down list:
  •  Inches
  • Centimeters
  • Pixels
  1. Select or clear the Show grid for new diagrams check box (not selected by default).
  2. Select or clear the Snap to grid for new diagrams check box (selected by default).
  3. Type a value for grid spacing (for inches, the default is 0.125; for centimeters, the default is 0.318; for pixels, the default is 12.019).
  4. Click Apply.

This page was last edited on May 12, 2017, at 17:52.
Comments or questions about this documentation? Contact us for support!