Working version of filtered graph