我已将我的链接设置为在JOINTJS中正交,但我仍然可以看到斜线。我怎么能纠正这个?
检查不是垂直但倾斜的右端。我的代码如下
> defaultLink: new joint.dia.Link({
> router: { name: 'manhattan' },
> connection : {name: 'orthogonal'},
> attrs: {
> '.marker-target': { d: 'M 10 0 L 0 5 L 10 10 z', fill: '#fff', stroke: '#000' },
> '.link-tools .tool-remove circle, .marker-vertex': { r: 8 },
> '.connection': {
> stroke: '#000', 'stroke-width': 1
> //filter: { name: 'dropShadow', args: { dx: 1, dy: 1, blur: 2 } }
> }
> }
> })