* Creates a new arrow * @param {Object} [opt] - Optional parameters. * @param {string} [opt.arrowType] - Arrow type * @param {string} [opt.leftText] - For EXIT ONLY, left text * @param {string} [opt.rightText] - For EXIT ONLY, right text * @param {boolean} [opt.individual] - For EXIT ONLY,
({
// Arrow Information
arrowType = "",
leftText = "",
rightText = "",
individual = true,
// Arrow location
parentIndex = 0,
arrowIndex = 0
} = {}
)
| 9 | */ |
| 10 | |
| 11 | constructor({ |
| 12 | |
| 13 | // Arrow Information |
| 14 | |
| 15 | arrowType = "", |
| 16 | leftText = "", |
| 17 | rightText = "", |
| 18 | individual = true, |
| 19 | |
| 20 | // Arrow location |
| 21 | |
| 22 | parentIndex = 0, |
| 23 | arrowIndex = 0 |
| 24 | |
| 25 | } = {} |
| 26 | ) { |
| 27 | this.arrowType = arrowType; |
| 28 | this.lefttext = leftText; |
| 29 | this.rightText = rightText; |
| 30 | this.individual = individual; |
| 31 | |
| 32 | this.parentIndex = parentIndex; |
| 33 | this.arrowIndex = arrowIndex; |
| 34 | |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | Arrow.prototype.arrows = [ |
nothing calls this directly
no outgoing calls
no test coverage detected