Adapt graph to recently changed var names.