keep undefined node as part of successors/predecessors list