Allow graph printers to ignore some nodes/edges by  overriding methods in NodeEdgePrinter