GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — ConnectionConstraint | @maxgraph/core

  • ConnectionConstraint

Class ConnectionConstraint

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

  • Defined in view/other/ConnectionConstraint.ts:24
Index

Constructors

constructor

Properties

dx dy name perimeter point

Constructors

constructor

  • new ConnectionConstraint(
        point: Point | null,
        perimeter?: boolean,
        name?: string | null,
        dx?: number,
        dy?: number,
    ): ConnectionConstraint

    Parameters

    • point: Point | null
    • perimeter: boolean = true
    • name: string | null = null
    • dx: number = 0
    • dy: number = 0

    Returns ConnectionConstraint

    • Defined in view/other/ConnectionConstraint.ts:51

Properties

dx

dx: number = 0

Optional float that specifies the horizontal offset of the constraint.

  • Defined in view/other/ConnectionConstraint.ts:44

dy

dy: number = 0

Optional float that specifies the vertical offset of the constraint.

  • Defined in view/other/ConnectionConstraint.ts:49

name

name: string | null = null

Optional string that specifies the name of the constraint.

  • Defined in view/other/ConnectionConstraint.ts:39

perimeter

perimeter: boolean = true

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

  • Defined in view/other/ConnectionConstraint.ts:34

point

point: Point | null

Point that specifies the fixed location of the connection point.

  • Defined in view/other/ConnectionConstraint.ts:28

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Properties
dxdynameperimeterpoint
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.