Book a Demo

Author Topic: State Machines: Line Style changes unmotivated from Bezier to Auto Routing  (Read 5927 times)

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
When you have connected states with transitions and changed line style to Bezier and you add a new transition within the diagram all transitions switch back to Auto Routing.

This seems to happen for any line style changes from default (Auto Routing) to any other.

Observed in build 2015 and new V13 versions.
Best regards,

Peter Heintz

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: State Machines: Line Style changes unmotivated from Bezier to Auto Routing
« Reply #1 on: September 28, 2016, 10:00:20 am »
When you have connected states with transitions and changed line style to Bezier and you add a new transition within the diagram all transitions switch back to Auto Routing.

This seems to happen for any line style changes from default (Auto Routing) to any other.

Observed in build 2015 and new V13 versions.

I can't reproduce. It sounds like EA reverting to the previous saved version of the diagram. Does it still happen if you save the diagram before adding the new transition? But why would EA reload the saved diagram without warning of unsaved changes? Do you have any addins running?
« Last Edit: September 28, 2016, 10:19:30 am by KP »
The Sparx Team
[email protected]

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: State Machines: Line Style changes unmotivated from Bezier to Auto Routing
« Reply #2 on: September 28, 2016, 08:34:37 pm »
Thank you KP,
Pointing me to addins helped me to catch the devil. It is the hoTools addin who changes the line style.

Maybe Helmut can response on this post.
Best regards,

Peter Heintz

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: State Machines: Line Style changes unmotivated from Bezier to Auto Routing
« Reply #3 on: September 28, 2016, 09:53:13 pm »
Hello,

thanks for remembering me. I've read it but not recognized that's my issue. Sorry!!


Yes, hoTools has the ability of defining a default line Style for a Diagram type. I think the default settings isn't that good.

In hoTools Settings you can define diagram type and default Line Style. Just disable it.

Kind regards,

Helmut


Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: State Machines: Line Style changes unmotivated from Bezier to Auto Routing
« Reply #4 on: September 28, 2016, 11:27:04 pm »
Ok Helmut!
In General Settings of hoTools I set „Linestyles and more“ to "Disable" and deselected „Linestyle Support“, but that was not successful (or what I thought what it should do).

What solved my problem was setting “Setting default Linestyle”/”Statechart” to “no”.
So, that is ok for me, however setting “Statechart” to something else is not “default” but “force”.
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: State Machines: Line Style changes unmotivated from Bezier to Auto Routing
« Reply #5 on: September 29, 2016, 12:24:19 am »
I have a similar problem in my default linestyles script when called from EA-Matic. It always removes the navigability information, even if you chose for a "from source to target" association. Still need to figure out what is going on there. I suspect a bug in the API.

Geert