added methods for stepping through nodes in the directed graph