Coder Social home page Coder Social logo

consider modes about the-graph HOT 4 CLOSED

flowhub avatar flowhub commented on September 26, 2024
consider modes

from the-graph.

Comments (4)

forresto avatar forresto commented on September 26, 2024

Scribble delete is colliding with panning, which is disconcerting... why isn't it panning? why did half of the graph just disappear?

I think that these gestural differences are hurting usability.

from the-graph.

bergie avatar bergie commented on September 26, 2024

We need to tune the speed requirement of the scrub-to-delete gesture to make it collide less with regular graph panning.

As for modes, they would also open door to other gestures, like draw square to add node, GraIL-style, with something like: http://stackoverflow.com/questions/19622912/pointer-event-listener-shape-gestures-how-graphic-example-included

However, see also https://en.wikipedia.org/wiki/Modeless#Mode_errors for an argument on why to avoid modes in UIs.

from the-graph.

forresto avatar forresto commented on September 26, 2024

I don't think that any speed is going to make sense to delete instead of pan. Same with swipe to remove / move. Deleting can happen from the node / edge inspector.

Re: mode errors, these gestural differences that we have so far are like hidden modes. I think that we need some kind of metric to decide if something like the node move/connect directions is worth the learning curve.

Maybe modes like [gesture | select | move | connect], where "gesture" keeps the current behavior, would be a reasonable balance. Then power users can use gestures or keyboard shortcuts, and less-power users can switch modes by clicking the tool.

from the-graph.

bergie avatar bergie commented on September 26, 2024

Instead of modes we could also utilize multitouch. One finger for gestures (node and edge manipulation), two fingers for navigating the canvas. So you'd pan with two fingers, a bit like two-finger scroll works on trackpads, and zoom with a pinch

from the-graph.

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.