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
@@ -185,7 +185,7 @@ void GraphController::handleMessage(MessageActivateTrail* message)
MessageStatus(L"Layouting depth graph", false, true).dispatch();
if (message->trailType == Edge::EDGE_INHERITANCE)
if (message->trailType & Edge::EDGE_INHERITANCE)
{
groupTrailNodes(NodeType::GROUP_INHERITANCE);
}
@@ -922,7 +922,7 @@ void GraphController::bundleNodes()
return;
}
if (e->isType(Edge::EDGE_INHERITANCE | Edge::EDGE_OVERRIDE))
if (e->isType(Edge::LAYOUT_VERTICAL))
{
bundleInfo->layoutVertical = true;
bundleInfo->isReferenced = false;
@@ -1067,6 +1067,16 @@ void GraphController::bundleNodes()
L"Referenced Symbols"
);
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return info.isReferencing && info.layoutVertical && data->findEdgeOfType(Edge::EDGE_TEMPLATE_SPECIALIZATION);
},
5,
false,
L"Specializing Symbols"
);
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{