ui: Add bidirectional in aggregation tooltip
This commit is contained in:
@@ -303,6 +303,12 @@ void QtGraphEdge::focusIn()
|
|||||||
|
|
||||||
TooltipInfo info;
|
TooltipInfo info;
|
||||||
info.title = Edge::getReadableTypeString(type);
|
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)
|
if (type == Edge::EDGE_AGGREGATION)
|
||||||
{
|
{
|
||||||
info.count = m_weight;
|
info.count = m_weight;
|
||||||
|
|||||||
Reference in New Issue
Block a user