aws / graph-explorer

React-based web application that enables users to visualize both property graph and RDF data and explore connections between data without having to write graph queries.
https://github.com/aws/graph-explorer
Apache License 2.0
317 stars 47 forks source link

Expand the next 10 neighbors #455

Closed kmcginnes closed 3 months ago

kmcginnes commented 3 months ago

Description

When the user double clicks a node GE will now expand the next 10 nodes.

Before it would check if the neighbors count is greater than 10. If it is, then show the expand sidebar. If not, it expands.

Now it will always expand, but at most 10 items.

Validation

Related Issues

Check List

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 14.85%. Comparing base (361c4ba) to head (b06c1f0). Report is 45 commits behind head on main.

:exclamation: Current head b06c1f0 differs from pull request most recent head 1719c06

Please upload reports for the commit 1719c06 to get more accurate results.

Files Patch % Lines
...h-explorer/src/modules/GraphViewer/GraphViewer.tsx 0.00% 13 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #455 +/- ## ========================================== + Coverage 13.97% 14.85% +0.87% ========================================== Files 414 419 +5 Lines 30639 30948 +309 Branches 878 967 +89 ========================================== + Hits 4283 4596 +313 + Misses 26026 26023 -3 + Partials 330 329 -1 ``` | [Flag](https://app.codecov.io/gh/aws/graph-explorer/pull/455/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/aws/graph-explorer/pull/455/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws) | `14.85% <0.00%> (+0.87%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.