code to add support of filter attributes in graphs