Book a Demo

Author Topic: RTF Documentation - ignore same element connector  (Read 2618 times)

Rodrigo Nobrega

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
RTF Documentation - ignore same element connector
« on: April 04, 2013, 09:24:12 am »
Hi.
I've done a template to generate an RTF document of an Use-Case Diagram and it is working well, except for the connectors.
At my template, I list the Actors by listing the elements that point to the Use Case, this way:
connector >
source >
element >
{Element.Name}
< element
< source
< connector

But doing this also shows the Use Case name 3 times, because it points to 3 requirements.

Can I do something to show only the elements of "Actor" type, or that are not requirements, or ignore the element that is the same of which the documentation is being generated?

The only way I managed to do this was setting the option "Connector Direction" to "Target -> Source" before generating the document, but this isn't sufficient, because I have to list the requirements of the Use Case at another section of the document, so I would like to use something like this:
connector >
target >
element >
{Element.Name}
< element
< target
< connector

So, if I do this, the Use Case name will appear, because it is the target of the Actor connector.

Please, someone could help?

Thanks in advance.

Rodrigo Nobrega

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: RTF Documentation - ignore same element connec
« Reply #1 on: April 05, 2013, 12:43:15 am »
Another option would be if, at that point of the RTF, I could show only connectors of a specific {Connector.Type}.
In the first case, it is a UseCaseLink. With the requirements, the type of the connector is Dependency.
Is there an if-clause that can be used at the RTF template? Something like this (of course, not this way):

connector if:Type=UseCaseLink>
source >
element >
{Element.Name}
< element
< source
< connector

Thanks.