diff --git a/src/gui/network/NodeEdgeGraphic.cpp b/src/gui/network/NodeEdgeGraphic.cpp index ecb61e4..a327ffc 100644 --- a/src/gui/network/NodeEdgeGraphic.cpp +++ b/src/gui/network/NodeEdgeGraphic.cpp @@ -23,9 +23,10 @@ NodeEdgeGraphic::~NodeEdgeGraphic() void NodeEdgeGraphic::updatePath() { + qreal cubicStrength = 40; path_.clear(); path_.moveTo(pos1_); - path_.lineTo(pos2_); + path_.cubicTo(pos1_-QPoint(0,cubicStrength), pos2_+QPoint(0,cubicStrength), pos2_); update(); }