UNPKG

1.41 kBJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = function (d, b) {
4 extendStatics = Object.setPrototypeOf ||
5 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7 return extendStatics(d, b);
8 };
9 return function (d, b) {
10 extendStatics(d, b);
11 function __() { this.constructor = d; }
12 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13 };
14})();
15var __importDefault = (this && this.__importDefault) || function (mod) {
16 return (mod && mod.__esModule) ? mod : { "default": mod };
17};
18Object.defineProperty(exports, "__esModule", { value: true });
19var edge_1 = __importDefault(require("@antv/g2/lib/geometry/edge"));
20var Base_1 = __importDefault(require("./Base"));
21var core_1 = require("../core");
22require("@antv/g2/lib/geometry/shape/edge");
23core_1.registerGeometry('Edge', edge_1.default);
24var EdgeGeom = /** @class */ (function (_super) {
25 __extends(EdgeGeom, _super);
26 function EdgeGeom() {
27 var _this = _super !== null && _super.apply(this, arguments) || this;
28 _this.GemoBaseClassName = 'edge';
29 return _this;
30 }
31 return EdgeGeom;
32}(Base_1.default));
33exports.default = EdgeGeom;
34//# sourceMappingURL=Edge.js.map
\No newline at end of file