delete now accepts graphs