Use version of DisplayGraph that takes a StringRef.