123456789101112131415161718 |
- import { Vector } from '../../shape/vector/vector';
- /**
- * Connect 2 points with a single line with arrow.
- * ----->
- */
- export const Link = (options) => {
- const { arrow = false } = options;
- return (points, value, coordinate, theme) => {
- return Vector(Object.assign(Object.assign({}, options), { arrow }))(points, value, coordinate, theme);
- };
- };
- Link.props = {
- defaultMarker: 'line',
- defaultEnterAnimation: 'fadeIn',
- defaultUpdateAnimation: 'morphing',
- defaultExitAnimation: 'fadeOut',
- };
- //# sourceMappingURL=link.js.map
|