Implementing the depth-first citation network exploration functionality