Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I have used GraphDistanceFilter and SearchTupleSet in my projects. My problem is as follows:
When I used the two above together, there will be a problem which is not what I hope to see.
When I first use GraphDistanceFilter, some visual items(some node and edges) will be disappear(not visible) according to the method PrefuseLib.setVisible() in GraphDistanceFilter. After this i will search the attributes of the items in the graph, but I find the searched items is also for the whole graph, but not the visible items.
How can i slove this problem?
I really appreciate your concentration. Thx.
My email: email@example.com
it shouldn't be too hard to modify the search in your SearchTupleSet to just add those tuples to the tupleset (via addInternal()) that are currently visible.
Maybe you need to create your own CustomSearchTupleSet class (extend SearchTupleSet and/or copy the source of the SearchTupleSet you currently use).
hope that helps,