-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering functionality for graph #192
Comments
I do not see a use case for existential filters for this issue. The This would leave us with the following filters: Comparison Set membership Combining @gyllen Thoughts? |
The idea is that the implementation will not support nested properties so it will not be possible to filter on things like |
@oscarlorentzon Is it a big cost to include extistential filter (if not maybe we should do it for the sake of it) Another question we might want to ask us is if ew want the filters to map exactly to the node properties. This is a bad example but lets say we want a boundingBox filter, is that something we should think about. I don't know. |
Including the existential filter is not a big cost. The filtering will be used when calculating edges for nodes. What is a none node property exactly ( |
The problem with the existential filter is that the node class is wrapping all underlying properties retrieved from the API. So even if the API result would have been an object without a certain property the node will have a property with that particular name and a |
Ok I see, since we have a standard set of properties that are always set (and not dymamic as in geojson). There is no need for has filter. Skip then. |
The filters only apply to the spatial arrows, i.e. the sequence arrows will always be available no matter what filter is applied. |
It should be possible to filter the graph through the public API. The format of the filter API needs to be determined. Combined filters should be supported.
For filtering to work the graph needs to handle reset, i.e. all edges should be invalidated and cleared and handling current node should be done properly elsewhere.
Different potential filters include:
Depends on the implementation of #191.
The text was updated successfully, but these errors were encountered: