moved graph transition code, removed double quotes for singles