Added automcompletion support for graphs. For predicates is prepared but not yet working.