Get next node in nodequeue I have a nodequeue named work_order.

If I am in a page which belongs to this queue, is there a way I can get the next node that will be there in the nodequeue?

I looked at most of their API functions, but I did not find one that does this. 

I am using drupal 7
Should be something like getting the nid of the current node and then being $nid the node id of the current node and $sqid the queue id:

$pos = nodequeue_queue_position('work_order', $nid);
$nodes = nodequeue_load_nodes($sqid, FALSE, $pos+1, 1, TRUE);


It's untested so maybe you need to tweak the position and so.