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

Grab/release UI commands #58

Open
Konard opened this issue Sep 4, 2024 · 0 comments
Open

Grab/release UI commands #58

Konard opened this issue Sep 4, 2024 · 0 comments

Comments

@Konard
Copy link
Member

Konard commented Sep 4, 2024

Conceptual command:

  • Grab
    mouse-down (PC)
    touch-down
    connect two fingers or press and hold controller (VR)
  • Release
    mouse-up (PC)
    touch-up
    disconnect two fingers or release controller (VR)

If grab/release commands happen over an existing link, this makes the value equal to its ID.
If grab/release commands happen over an empty space, this makes the value equal 0 (zero ID, the sing of ID absence).

For example:

  • We can grab an existing link's center and release it on another link's center. This will make a new link connecting selected two.
  • We can grab and release in the empty space making both values reference to newly created link, making it structure as { id: x, from_id: x, type_id: 1, to_id: y }, the default type should be selected in the UI (maybe in the settings), otherwise it is 1 (the type).
  • We can grab, move and release in the empty space. This will make a floating link with a size exactly as the motion path.
  • And other combinations of these examples.

Grab/release commands can be used not only on the link's centers, but also on their ends, making it possible to update/recreate links with new structure (from_id, type_id, to_id).


Forked from deep-foundation/deepcase#66 by https://github.com/konard/gh-org-migrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant