SourceTermAnalysisSystem_vue/node_modules/@antv/x6/lib/shape/edge.js
2026-05-15 10:22:44 +08:00

44 lines
1.0 KiB
JavaScript

"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