Book a Demo

Author Topic: Generated sequence diagram strange behavior  (Read 3772 times)

Frank S.

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Generated sequence diagram strange behavior
« on: March 26, 2016, 04:11:59 am »
Hi

I've generated a sequence diagram with VBScript.
Added two elements, two diagramObjects and two connectors between them.

When the diagram is displayed all connectors from the left element to right element are shown as solid
line (like o1         > o2) and connectors from right element to left element are shown as dashed (like o1 <- - - - - o2) line.

Even if I manually move the left element to the right and right element to the left it's the same. o2        >o1 vs o2<- - - o1

Any hints, what to do?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Generated sequence diagram strange behavior
« Reply #1 on: March 26, 2016, 06:29:08 pm »
Frank,

The dashed arrow means it is a return value.

There is somewhere a setting that you can use to automatically set messages from left to right as return.

So the first thing I would do is look for that setting and see if it changes anything.
If not then you'll have to figure out how to change the "isreturn" property of the message.

Geert

Frank S.

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Generated sequence diagram strange behavior
« Reply #2 on: March 27, 2016, 05:06:31 am »
Thank's for your hint.

It was the "isreturn" property. If this property is undefined this strange behaviour occurs.

Quote
If not then you'll have to figure out how to change the "isreturn" property of the message.

Had to update the database with an SQL statement after creation of the connector.

Code: [Select]
Repository.Execute("update t_connector set PData4=0 where Connector_ID=" & msgConObject.ConnectorID)