@maxgraph/core
    Preparing search index...

    Class ConnectionConstraint

    Defines an object that contains the constraints about how to connect one side of an edge to its terminal.

    Index

    Constructors

    Properties

    Constructors

    Properties

    dx: number = 0

    Optional float that specifies the horizontal offset of the constraint.

    dy: number = 0

    Optional float that specifies the vertical offset of the constraint.

    name: null | string = null

    Optional string that specifies the name of the constraint.

    perimeter: boolean = true

    Boolean that specifies if the point should be projected onto the perimeter of the terminal.

    point: null | Point

    Point that specifies the fixed location of the connection point.