ui: Add bidirectional in aggregation tooltip

This commit is contained in:
Eberhard Graether
2017-12-11 19:53:10 +01:00
parent c19d4c896f
commit 5d3dd37ff5
@@ -303,6 +303,12 @@ void QtGraphEdge::focusIn()
TooltipInfo info;
info.title = Edge::getReadableTypeString(type);
if (type == Edge::EDGE_AGGREGATION && m_direction == TokenComponentAggregation::DIRECTION_NONE)
{
info.title = "bidirectional " + info.title;
}
if (type == Edge::EDGE_AGGREGATION)
{
info.count = m_weight;