Access functions for z-order for nodes and links