Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Ian Mitchell on December 20, 2022, 08:47:12 pm

Title: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: Ian Mitchell on December 20, 2022, 08:47:12 pm
In v16.1, I've just tried to draw a simple UML Activity diagram. Which  I have't done for years, and was surprised when EA would not let me.
Not even the simplest 'Control  Flow' connectors worked between any kinds of element.
So I switched-off 'Strict Connector Syntax' in Start / Preferences / Links, and all was well.

This seems like a strange default. The UML-compliant connector type between, for example, Activity and another Activity IS  a Control flow last time I checked. Or is it? And if not, what is?
So this must be a bug?
Is Strict Connector Syntaxt ON or OFF for an out-of-the-box EA setup? If it's ON, then this isn't a great UX.
Title: Re: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: philchudley on December 20, 2022, 10:10:42 pm
Hi Ian

I believe, and Geert will concert me if I am wrong, but UML (latest version) dictates that control / object flows can only be drawn between actions. EA now enforces these rules, therefore, you have to:


To model the top level orchestration between activities:


A major flaff for simple flows, then as you have discovered, Strict Connector Syntax off, if the way to go.

Oh just for fun the same applies to SysML as well.

All the best for Christmas, New Year and your expedition to New Zealand

Phil
Title: Re: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: Modesto Vega on December 20, 2022, 10:31:02 pm
Hi Ian,

Phil's interpretation of the standard aligns to the discussion we had in the following thread https://sparxsystems.com/forums/smf/index.php/topic,46866.0.html. Control and object flows can only drawn between actions, this was the case in v15.

The only unclosed loose end from these discussions is what are the permitted, as per the standard, relationships between activities.

Title: Re: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: Geert Bellekens on December 20, 2022, 10:37:53 pm
Hi Ian,

I'm afraid you've been making Activity diagrams wrong for all these years. :o
UML never allowed this, but EA did untill recently.

Geert
Title: Re: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: Eve on December 28, 2022, 10:30:35 am
I'm afraid you've been making Activity diagrams wrong for all these years. :o
UML never allowed this, but EA did untill recently.
Just wanted to reinforce this.
Title: Re: Can't draw a simple UML Activity Diagram without 'Strict Connector Syntax' OFF
Post by: Ian Mitchell on December 30, 2022, 11:45:50 pm
Well, I did say it was a long time since I created an AD.
I think I now remember why I started to use BPMN as soon as that was available. The out-of-the box experience - as defined by UML and implemented by EA - which Phil so expertly described, really is a bit clunky.
Thanks everyone.