ui: Improved vertical layout for override and inheritance edges

This commit is contained in:
Eberhard Graether
2018-02-07 23:15:55 +01:00
parent 683b87d0b8
commit 9773c30fdc
8 changed files with 75 additions and 35 deletions
@@ -575,7 +575,12 @@ GraphViewStyle::EdgeStyle GraphViewStyle::getStyleForEdgeType(
style.arrowLength = 20;
style.arrowWidth = 14;
style.arrowClosed = true;
style.originOffset.x = 7;
style.targetOffset.x = 34;
style.originOffset.y = -15;
style.targetOffset.y = 15;
style.verticalOffset = 0;
style.cornerRadius = 7;
style.zValue = isActive ? 2 : -3;
break;
case Edge::EDGE_INCLUDE:
@@ -17,7 +17,7 @@ public:
return "MessageScrollSpeedChange";
}
virtual void print(std::ostream& os) const
virtual void print(std::wostream& os) const
{
os << scrollSpeed;
}