Add graph explore code.