Commit 69bb6fdf authored by zhengjiangtao's avatar zhengjiangtao

fix bug

parent 65a3fbd7
......@@ -354,14 +354,15 @@ class TopologyComponent extends Component {
this.diagram.linkTemplate =
goObj(go.Link,
{
selectionAdorned: true,
layerName: "Foreground",
reshapable: true,
routing: go.Link.AvoidsNodes,
corner: 5,
curve: go.Link.JumpGap
selectionAdorned: true,
layerName: "Foreground",
reshapable: true,
routing: go.Link.AvoidsNodes,
corner: 5,
curve: go.Link.JumpOver
},
goObj(go.Shape, { strokeWidth: 2 },
goObj(go.Shape, { toArrow: "OpenTriangle", fill: null },
new go.Binding('stroke', 'warnState', (v) => this.getLinkColor(v))
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment