• Maps and filters the edges of a graph based on the provided arguments.

    Type Parameters

    • TGraph extends default<Attributes, Attributes, Attributes>

      The type of the graph.

    • TReturn

      The return type of the mapping function.

    Parameters

    • Rest ...args: MapFilterEdgesArgs<TGraph, TReturn>

      The arguments for mapping and filtering the edges.

    Returns Exclude<TReturn, undefined>[]

    • The mapped and filtered edges.

    Throws

    • If the arguments are invalid.

Generated using TypeDoc