Menu

#86 Edge exclusion does not hide labels

Likely Bug
open
nobody
5
2007-09-14
2007-09-14
No

AREA:
Edge label rendering.

SYNOPSIS:
Hiding an edge does not hide its label.

DESCRIPTION:
Setting an edge to excluded using the setEdgeInclusionPredicate functionality of the RenderContext does lead to the edge being hidden. However, its label remains visible, leaving labels hovering in mid-air.

WORKAROUND:
Provide a customized EdgeLabelRenderer that receives the inclusion predicate in its constructor and hides edge labels if the corresponding edge is excluded from view.

RECOMMENDATION:
Fix this in the default edge label renderer.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB