Z-Order

OK guys, just a simple question.

I have a custom GoNode, GoPort and node background image. The port is somewhere inside the node bounds.

The question is: how can I get an background image to be between the node and port, regardless of the order of adding?
Now, I have a node, port on it and when I want to add an stretched image over the node, it appears in front of the port.

All objects are on the same layer.

Thanks in advance.

Look at the methods in GoGroup like InsertAt, InsertBefore.

I solved the problem with InsertAfter.
I thought it’s also a solution for “between layers”, not inside the same layer.
Simple question, simple solution :)

Thanks Jake.