44 lines
1.0 KiB
JavaScript
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
|