Book a Demo

Author Topic: Guards on Connectors  (Read 5112 times)

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Guards on Connectors
« on: March 28, 2012, 04:19:14 am »
I can put a Guard (Constraint) on a Connector, but how do I get it to display? This works fine automatically in a State or Activity diagram, but not, seemingly, in other diagrams. (I'm drawing a Flow Chart, specifically.)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Guards on Connectors
« Reply #1 on: March 28, 2012, 07:51:33 am »
- Open the connector by explicitely selecting and Return or via dbl-click

- Choose Options/Links/Edit on New

q.

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Re: Guards on Connectors
« Reply #2 on: March 31, 2012, 02:30:13 am »
Sorry, I don't understand. I followed those steps, but still don't see the guard in the diagram. Not getting what 'edit on new' has to do with display options :-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Guards on Connectors
« Reply #3 on: March 31, 2012, 02:57:50 am »
I have no problem with the guard showing in any diagram.

The option is just to show the properties on connector creation so you can place the guard text immediately.

q.

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Re: Guards on Connectors
« Reply #4 on: March 31, 2012, 03:29:34 am »
Unfortunately, something is different in my installation. I can only see the guards in state and activity diagrams, but nowhere else. I don't have a problem defining the guard itself.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Guards on Connectors
« Reply #5 on: March 31, 2012, 05:10:28 am »
Strange. I tried with various diagram properties (using a class diagram) but the guard always showed up.

A couple of ideas:
- run consistency check
- try with another EA installation (maybe EALite or on a similar machine of a colleague)
- disable add-ins/MDGs

q.

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Guards on Connectors
« Reply #6 on: April 03, 2012, 09:50:49 pm »
Are you using BPMN? It handles settting guards differently (via tags) and does not show what you have put in the constraint attribute.