Author Topic: Loop node  (Read 15878 times)

ea0921

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-1
    • View Profile
Loop node
« on: March 15, 2024, 11:27:34 pm »
Hi,

I want to reproduce this diagram https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_languages/loop_and_conditional_nodes2.html

I have two questions:

a) How can I insert and display the condition (i.e. i=0) under each action?
b) I have inserted an action into [Test] section but I cannot see it in the Properties > Nodes panel.

Thanks for help
« Last Edit: March 16, 2024, 06:57:28 am by ea0921 »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Loop node
« Reply #1 on: March 26, 2024, 08:59:52 am »
a) How can I insert and display the condition (i.e. i=0) under each action?
I believe that was added to the 'Effect' field, with the option 'Show Effect in Diagram' checked


Quote
b) I have inserted an action into [Test] section but I cannot see it in the Properties > Nodes panel.
1. Make sure you have selected the 'Test' radio button. 2. Make sure the action is owned by the loop node (i.e. is nested in the Project Browser). 3. Can't think of anything else, more info needed.
The Sparx Team
[email protected]

PDC

  • EA User
  • **
  • Posts: 90
  • Karma: +4/-0
  • Systems Engineer
    • View Profile
Re: Loop node
« Reply #2 on: March 26, 2024, 07:50:39 pm »
Have to admit I got curious and tried to reproduce this myself.

a) How can I insert and display the condition (i.e. i=0) under each action?
I believe that was added to the 'Effect' field, with the option 'Show Effect in Diagram' checked

This worked for me.

Quote
Quote
b) I have inserted an action into [Test] section but I cannot see it in the Properties > Nodes panel.
1. Make sure you have selected the 'Test' radio button. 2. Make sure the action is owned by the loop node (i.e. is nested in the Project Browser). 3. Can't think of anything else, more info needed.

This also kind of works, but it is possible for the 'Setup' and 'Test' radio buttons to both be selected 'True' at the same time. Toggling them a few times resolves this, but the Node itself can be hidden in some combinations of the radio buttons. Not a huge bug but thought I'd mention it.
Phil