floodFill(graph: Graph , start: number | number[] , predicate: (node: number )=>boolean ): number[]