Function getParallelEdgeEntries

  • Retrieves parallel edge entries from a graph.

    Type Parameters

    • TGraph extends default<Attributes, Attributes, Attributes>

      The type of the graph.

    Parameters

    • options: {
          edgeEntryMethod?: EdgeEntryMethod;
          graph: TGraph;
      }

      The options for retrieving parallel edge entries.

      • Optional edgeEntryMethod?: EdgeEntryMethod

        The method to use for retrieving edge entries from the graph.

      • graph: TGraph

        The graph from which to retrieve the parallel edge entries.

    Returns Record<string, InferGraphEdgeEntry<TGraph>[]>

    • The parallel edge entries grouped by their source and target nodes.

Generated using TypeDoc