Skip to content
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

Mini viewport that displays where in the over all canvas you are zoomed into #3084

Closed
4 tasks
Czar-Ec opened this issue Dec 12, 2022 · 2 comments
Closed
4 tasks
Labels

Comments

@Czar-Ec
Copy link

Czar-Ec commented Dec 12, 2022

Description of new feature
A small viewport on the corner that displays which part of the over all canvas the user is currently looking at

What should the new feature do? For visual features, include an image/mockup of the expected output.
running cy.fit() will show the full network, which is reflected in the mini viewport
image

Zooming in should highlight what is in the main canvas
image

Motivation for new feature

Describe your use case for this new feature.
Allows for users to be able to see the whole network even when zoomed in. This is helpful for more larger networks e.g. in the Tokyo railway network example, it would help if you knew where in the overall Tokyo network the station you are currently zoomed into is

For reviewers

Reviewers should ensure that the following tasks are carried out for incorporated issues:

  • Ensure that the reporter has adequately described their idea. If not, elicit more information about the use case. You should iteratively build a spec together.
  • Ensure that the issue is a good fit for the core library. Some things are best done in extensions (e.g. UI-related features that aren't style-related). Some things are best done by app authors themselves -- instead of in Cytoscape libraries.
  • The issue has been associated with a corresponding milestone.
  • The commits have been incorporated into the unstable branch via pull request. The corresponding pull request is cross-referenced.
@hellomusa
Copy link

Have you checked out https://github.com/cytoscape/cytoscape.js-navigator?

@stale
Copy link

stale bot commented Jan 4, 2023

This issue has been automatically marked as stale, because it has not had activity within the past 14 days. It will be closed if no further activity occurs within the next 7 days. If a feature request is important to you, please consider making a pull request. Thank you for your contributions.

@stale stale bot added the stale label Jan 4, 2023
@stale stale bot closed this as completed Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants