ui: Improved graph layout

* wider gabs between buckets
* different column widths above and below horizontal edge split
* only use base/derived bundles for inheritance
This commit is contained in:
Eberhard Graether
2018-04-25 23:50:36 +02:00
parent a635592dc1
commit 67cec7dda7
2 changed files with 32 additions and 25 deletions
@@ -1111,7 +1111,7 @@ void GraphController::bundleNodes()
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return info.isReferencing && info.layoutVertical;
return info.isReferencing && info.layoutVertical && data->findEdgeOfType(Edge::EDGE_INHERITANCE);
},
5,
false,
@@ -1121,7 +1121,7 @@ void GraphController::bundleNodes()
bundleNodesAndEdgesMatching(
[](const DummyNode::BundleInfo& info, const Node* data)
{
return info.isReferenced && info.layoutVertical;
return info.isReferenced && info.layoutVertical && data->findEdgeOfType(Edge::EDGE_INHERITANCE);
},
5,
false,