Reply To: SendEvent in subtree

NodeCanvas Forums Support SendEvent in subtree Reply To: SendEvent in subtree

#13378
rexstuff
Participant

Thanks for getting back to me. I’ll let you know if come across the dynamic variable issue again and a method to reproduce it, although I expect I’ll be sticking with predefined going forward.

Regarding the re-ordering, I tried to reproduce an example with the connection order not reflecting the canvas node order after moving the nodes and I wasn’t able to do so. However I did notice that the connection order is retained until one of the children is moved. That is, if I intentionally connect/reconnect them out of order they will stay as such until I move an out-of-order node, its siblings, or its parent.

So, I think what happened was that I either changed or added the connections between parent/child nodes after positioning the child nodes (at which point the connection order didn’t reflect the physical node order on the canvas). I likely had it working like this, then later came back to clean up the canvas layout and unexpectedly triggered the connection order change when I moved a node. That or I changed a node such that it became wider and the center moved as you suggested.

In either case I don’t thing there is anything wrong with the current behavior. Once I realized how the re-ordering worked I found it saves me a fair bit of time. However, it might be good to mention how the automatic re-ordering works somewhere in the documentation.