Add filtering to Chrome Android dependency visualization
Somewhat glitchy filtering has been added. * Type in a package name (exact match) and click "Add" to add to filter. * Click on any filter in the list to remove it. Known issues: * Locked nodes no longer appear locked when a filter is added/removed. * Zoom/pan is reset when a new filter is added/removed. These issues are mostly because of the way we interact with the d3 graph. A big upcoming TODO is to rework `renderGraph` into an API of sorts which will give us finer control over what parts of the graph to rerender, if nodes should keep their metadata (position, lock) upon rerendering, etc. This commit also pulls in and uses Vue.js via a CDN for the current prototyping work. We will likely install via npm in the future. Bug: 1093962 Change-Id: Ide0b6a649424deac56e2f4d8121b0029d9286e7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252378 Commit-Queue: James Long <yjlong@google.com> Reviewed-by:Henrique Nakashima <hnakashima@chromium.org> Reviewed-by:
Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#780428}
Showing
Please register or sign in to comment