ElbowArrowInfo

See source code
Table of contents

Extends ElbowArrowInfoWithoutRoute.

interface ElbowArrowInfo extends ElbowArrowInfoWithoutRoute {}

Properties

A

One of the two shapes we're drawing an arrow between. Could be either the start or end depending on swapOrder.


B

The other shape we're drawing an arrow between. Could be either the start or end depending on swapOrder.


common

The common bounding box of A and B.

common: ElbowArrowBox;

gapX

The gap between the right edge of A and the left edge of B.

gapX: number;

gapY

The gap between the bottom edge of A and the top edge of B.

gapY: number;

midX

The X coordinate of the middle line between the two boxes. If the boxes are too close or overlap, this may be null.

midX: null | number;

midXRange

midXRange: {
  hi: number;
  lo: number;
} | null;

midY

The Y coordinate of the middle line between the two boxes. If the boxes are too close or overlap, this may be null.

midY: null | number;

midYRange

midYRange: {
  hi: number;
  lo: number;
} | null;

options

The options used for this elbow arrow

options: ElbowArrowOptions;

route

The route of the arrow.

route: ElbowArrowRoute | null;

swapOrder

If false, A is the start shape and B is the end shape. If true, A is the end shape and B is the start shape.

swapOrder: boolean;

Prev
ElbowArrowEdge
Next
ElbowArrowInfoWithoutRoute