1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.Edge = void 0;
- const edge_1 = require("../model/edge");
- exports.Edge = edge_1.Edge.define({
- shape: 'edge',
- markup: [
- {
- tagName: 'path',
- selector: 'wrap',
- groupSelector: 'lines',
- attrs: {
- fill: 'none',
- cursor: 'pointer',
- stroke: 'transparent',
- strokeLinecap: 'round',
- },
- },
- {
- tagName: 'path',
- selector: 'line',
- groupSelector: 'lines',
- attrs: {
- fill: 'none',
- pointerEvents: 'none',
- },
- },
- ],
- attrs: {
- lines: {
- connection: true,
- strokeLinejoin: 'round',
- },
- wrap: {
- strokeWidth: 10,
- },
- line: {
- stroke: '#333',
- strokeWidth: 2,
- targetMarker: 'classic',
- },
- },
- });
- //# sourceMappingURL=edge.js.map
|