https://bugs.eclipse.org/bugs/show_bug.cgi?id=156289
Product/Component: Mylar / Zest
Summary: layout filter leaves filtered nodes
in place instead of
not showing them
Product: Mylar
Version: dev
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Zest
AssignedTo: irbull@cs.uvic.ca
ReportedBy: raphael.ackermann@gmail.com
the layout filter works in as far as
filterUnwantedObjects returns only the
entities that should be used for the layout. The layout
is generated using only
these entitiesToLayout but it still leaves all the
entities visible from the
layout was last run.
For example: I have a graph with 10 nodes displayed, no
filter is installed. I
add a filter to the layoutAlgorithm that will filter
out 6 of these nodes. The
layout is calculated using only the 4 nodes not
filtered and they change place
and go to where the layout calculated to be their new
place. The 6 nodes that
are filtered out, stay where they are and are still shown.
Question: Is this a bug or intended to be like that.
Does the client who adds
the filter have the responsibility to clear the viewer
first before the layout
is run again?
expected behaviour: Only the nodes and relationships
that make it through the
filter are still shown in the viewer.