question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Right-click dragging to pan

See original GitHub issue

Description of new feature

So currently, only left click dragging either moves nodes around, or clicks through them and allows you to pan, depending on your nodes setting. I’m suggesting (an option) to make right click dragging always pan around and left click dragging always move nodes around.

Motivation for new feature

I have large compound nodes in my graph, so you would always drag them if you want to pan (and have dragging nodes functionality enabled).

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stale[bot]commented, Nov 2, 2022

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.

0reactions
maxkfranzcommented, Nov 28, 2022

Right clicking is a general gesture that can be used for many things (e.g. context menus). The behaviour for right click gestures and right click swiping gestures can vary a lot between applications. Cytoscape exposes the gesture so apps can use whatever makes sense for the particular use case.

Custom right click behaviour is a great fit for an extension, and several extensions (e.g. cxtmenu) expose custom behaviour in a reusable way.

See also: Why not add an option for that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Right-click and drag to pan! - Lucidchart Help
Right-click the canvas to turn the cursor into a hand and drag to pan - no more finding and clicking the scroll bars!...
Read more >
Right-click-drag to pan navigate slide - Usage & Issues
I annotate in both QuPath and HALO AI. In the former I need to keep one hand on letters 'm' and 'b' to...
Read more >
Drag to pan camera in a top-down game: left or right click?
In Civ 5: left click and drag pans the camera In Darkest Dungeon: right click and drag pans the camera (on the minimap)...
Read more >
Node Editor: Auto pan while dragging ⁠— Right-Click Select
Node Editor: Auto pan while dragging ... hold (shift+)ctrl => click and hold right mouse button => drag the mouse cursor over the...
Read more >
Use right-click drag for panning and center on mouse pointer ...
Use the right-click and drag to pan the map; When zooming with the mouse wheel, keep the map point under the mouse pointer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found