Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: ea0921 on March 15, 2024, 11:27:34 pm

Title: Loop node
Post by: ea0921 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 (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
Title: Re: Loop node
Post by: KP 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.
Title: Re: Loop node
Post by: PDC 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.