Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 466851

Summary: Edges are not hidden when a node is hidden.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF ZestAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: 3.10.0 (Mars) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-05-08 11:13:44 EDT
When hiding a node, its incoming and outgoing edges are not hidden, currently.
Comment 1 Matthias Wienand CLA 2015-05-08 11:57:52 EDT
I extended the layout filter for edges to also check the source and target nodes for the hidden-flag, so that an edge is only displayed when both its source and target nodes are visible. The changes do not affect the current API. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.10.0RC1.
Comment 2 Alexander Nyßen CLA 2015-05-12 12:48:04 EDT
While the edges are properly hidden, the related edge labels are not properly hidden.
Comment 3 Matthias Wienand CLA 2015-05-15 04:58:20 EDT
I added two behaviors for handling the hiding of edges and edge labels. Both implementations are based on the same AbstractHidingBehavior (API extension). However, I did not yet rename the original HidingBehavior to NodeHidingBehavior, as this would be an API change. Consequently, this is explained in a comment in the HidingBehavior class, so that we can fix it after Mars.