@maxgraph/core
    Preparing search index...

    Function getOpposites

    • Returns all opposite vertices terminal for the given edges, only returning sources and/or targets as specified. The result is returned as an array of Cell.

      Parameters

      • edges: Cell[]

        Array of {Cell} that contain the edges to be examined.

      • terminal: Cell

        that specifies the known end of the edges.

      • includeSources: boolean = true

        Boolean that specifies if source terminals should be included in the result. Default is true.

      • includeTargets: boolean = true

        Boolean that specifies if target terminals should be included in the result. Default is true.

      Returns Cell[]