Element paragraph

An element paragraph is a component in a report template, indicating the need of looping (i.e. walking through) specific type(s) of diagram/model element, and presenting their properties in paragraph form. For example, to loop all use cases in a project and form paragraphs consisting of use case IDs and documentation. By default, a list of element names will be printed. You are expected to add property value(s) under an element paragraph to indicate the element properties to print out.

Showing a property paragraph for elements in project

To loop specific type(s) of model elements in project for listing their properties in paragraph form, create element paragraph at template root. To create element paragraph at template root:

  1. In the template editor, click on the  on toolbar.
  2. On the right hand side of the template editor, select the type of model element(s) to loop and click  to confirm the selection.
    Select to loop use case
    Select to loop use case
    NOTE: By default, element paragraph added to project root enables the looping of root level elements. If you want to change to access elements in all levels, change the option Root Level above the element list. Notice that changing the value of Root Level is not about changing available element selection, but also the end result, whether to access only root level elements or not.
  3. If you generate report with a template like this, you will obtain a list of element names, provided that there exists element(s) of the chosen type(s). If you need to print specific element properties other than just name, click on the Add Property Column button in the toolbar of element paragraph, then select the property(ies) to show. For more details about the use of property, read the chapter Property.
    To add a property value in element summary
    To add a property value in element paragraph

Switching from element paragraph to element summary table/loop

An element summary indicates the need of looping specific type(s) of diagram/model element for constructing a tabular element summary, while an element loop indicates the need of looping specific type(s) of diagram/model element.

You can convert an element paragraph to element summary table or loop by right clicking on a element paragraph and selecting Change to Summary Table/Element Loop from popup menu.

To convert a element paragraph to element summary table/loop
To convert a element paragraph to element summary table/loop