| 12345678910111213141516171819202122 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Link = void 0;
- const vector_1 = require("../../shape/vector/vector");
- /**
- * Connect 2 points with a single line with arrow.
- * ----->
- */
- const Link = (options) => {
- const { arrow = false } = options;
- return (points, value, coordinate, theme) => {
- return (0, vector_1.Vector)(Object.assign(Object.assign({}, options), { arrow }))(points, value, coordinate, theme);
- };
- };
- exports.Link = Link;
- exports.Link.props = {
- defaultMarker: 'line',
- defaultEnterAnimation: 'fadeIn',
- defaultUpdateAnimation: 'morphing',
- defaultExitAnimation: 'fadeOut',
- };
- //# sourceMappingURL=link.js.map
|