Graph simplification example