Improve graph representation.