Filtered graphs