• Filters the node entries of a graph based on the provided filter function.

    Type Parameters

    • TGraph extends default<Attributes, Attributes, Attributes>

      The type of the graph.

    Parameters

    • graph: TGraph

      The graph to filter.

    • filter: NodeFilter<TGraph>

      The filter function to apply to each node entry.

    Returns NodeEntry<InferGraphNode<TGraph>>[]

    • The filtered node entries.

Generated using TypeDoc