Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

compareEvents

computeGroupBounds

findXNeighbours

findYNeighbours

generateConstraints

generateGroupConstraints

generateXConstraints

generateXGroupConstraints

generateYConstraints

generateYGroupConstraints

makeEdgeBetween

  • Returns the endpoints of a line that connects the centre of two rectangles.

    Parameters

    Returns object

    An object with three point properties, the intersection with the source rectangle (sourceIntersection), the intersection with then target rectangle (targetIntersection), and the point an arrow head of the specified size would need to start (arrowStart).

makeEdgeTo

  • Returns the intersection of a line from the given point to the centre of the target rectangle where it intersects the rectanngle.

    Parameters

    • s: object
      • x: number
      • y: number
    • target: Rectangle
    • ah: number

    Returns Point

    The point an arrow head of the specified size would need to start.

makeRBTree

removeOverlaps

Object literals

xRect

xRect: object

findNeighbours

findNeighbours: findXNeighbours = findXNeighbours

getCentre

getClose

getOpen

getSize

makeRect

  • makeRect(open: number, close: number, center: number, size: number): Rectangle

yRect

yRect: object

findNeighbours

findNeighbours: findYNeighbours = findYNeighbours

getCentre

getClose

getOpen

getSize

makeRect

  • makeRect(open: number, close: number, center: number, size: number): Rectangle

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc