Added graph completion in query editing