ElbowArrowInfo
See source codeTable 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: ElbowArrowBoxgapX
The gap between the right edge of A and the left edge of B.
gapX: numbergapY
The gap between the bottom edge of A and the top edge of B.
gapY: numbermidX
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 | numbermidXRange
midXRange: {
hi: number
lo: number
} | nullmidY
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 | numbermidYRange
midYRange: {
hi: number
lo: number
} | nulloptions
The options used for this elbow arrow
options: ElbowArrowOptionsroute
The route of the arrow.
route: ElbowArrowRoute | nullswapOrder
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