Giter VIP home page Giter VIP logo

Comments (4)

metincansiper avatar metincansiper commented on June 13, 2024

I found this section ( http://js.cytoscape.org/#notation/gestures ) in Cytoscape.js documentation. In thiis section the gestures in this issue are mentioned too. Also, I could not find any option to change the behaviour of them. Therefore, I think that this gestures may be fixed and it may not be possible to change their default behaviours without changing Cytoscape.js core code.

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 13, 2024

@maxkfranz Anyway we somehow can change this default behavior? We want the old behavior.

from chise.js.

maxkfranz avatar maxkfranz commented on June 13, 2024

The old behaviour was based on timing, and that's no longer supported at all. It did not support pressing a key to enable box selection mode. By and large, users did not discover or understand the timing feature.

Panning is default, because that's a standard gesture in lots of apps. It's what users tend to expect.

The only way box selection becomes the default is if panning is disabled. So, you can use a mode with a toggle -- maybe by a button. Just disable panning when in your select mode. You can make select mode default if you like.

from chise.js.

ugurdogrusoz avatar ugurdogrusoz commented on June 13, 2024

Let's close this since it looks like it is not straightforward to change default Cytoscape.js behavior.

from chise.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.