ElbowArrowInfoWithoutRoute
See source codeinterface 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
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
options
The options used for this elbow arrow
options: ElbowArrowOptions
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