ui: Layout template specializations vertically

* use closed arrow for template specialization edges
* no specialization edges in call graph
This commit is contained in:
Eberhard Graether
2018-04-05 21:48:45 +02:00
parent e1a7141352
commit f79e50d529
7 changed files with 31 additions and 9 deletions
@@ -184,7 +184,8 @@ void QtGraphEdge::updateLine()
}
}
if (type == Edge::EDGE_INHERITANCE)
if (type == Edge::EDGE_INHERITANCE || (type == Edge::EDGE_TEMPLATE_SPECIALIZATION &&
owner == owner->getLastParent() && target == target->getLastParent()))
{
child->setRoute(QtLineItemBase::ROUTE_VERTICAL);