- I am using a Text Node with a Diamond shape and the text node has 4 ports(a conditional)
- From the right port of the conditional I have a link to another node and from the bottom port of the conditional I have a link to a third node. Nothing is linked to the left or top ports of the conditional.
- I also have a link which goes from the bottom of the node to the right of the conditional to the top port of the node on the bottom of the conditional. (I need to represent an AND condition)
- What is happening is that if I call the PerformLayout function a few times in a row, the node on the right moves further right with each call to the PerformLayout function.
I tried many different things, I tried calling the ComputeRoute() and CalculateStroke but no result.
I need to be able to call Perform Layout more than one time.
The funny thing is that if I remove the link going form the bottom of the node to the right of the conditional to the top of the node at the bottom of the conditional , everything works well and PerformLayout() renders the same result no matter how many times I call it.
Thanks very much.