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

Multi-tail arrow Scaling on Creation #4902

Open
Tracked by #4861
yauhen-karmyzau opened this issue Jun 26, 2024 · 0 comments
Open
Tracked by #4861

Multi-tail arrow Scaling on Creation #4902

yauhen-karmyzau opened this issue Jun 26, 2024 · 0 comments
Labels
MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Multi-Tailed Arrow Tool

Comments

@yauhen-karmyzau
Copy link
Collaborator

yauhen-karmyzau commented Jun 26, 2024

As a User, I want to set initial scale of multi-tail arrow as on creation so that I can set its initial size to fit my diagram.

Acceptance Criteria:

  1. When the user selects the multi tail arrow from the arrows menu, left clicks on the canvas (at point A) and drags (to line B) before releasing the click, the arrow should appear blue, the height of the arrow should be default, the width should be the closest distance between point A and line B (tail and head width adjusted proportionally).
    (Image for better understanding)
    image
  2. When the cursor is released, the arrow is placed on the canvas and the color should turn back to black.
@yauhen-karmyzau yauhen-karmyzau added the Images Images support label Jun 26, 2024
@yauhen-karmyzau yauhen-karmyzau changed the title Image Selecton Image Selection Jun 26, 2024
@yauhen-karmyzau yauhen-karmyzau changed the title Image Selection Image Selection and Movement Jun 28, 2024
@yauhen-karmyzau yauhen-karmyzau added the MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes label Jul 8, 2024
@yauhen-karmyzau yauhen-karmyzau changed the title Image Selection and Movement Image Selection and Movement on the canvas Jul 8, 2024
@yauhen-karmyzau yauhen-karmyzau changed the title Image Selection and Movement on the canvas Image Selection and Movement on canvas Jul 8, 2024
@yauhen-karmyzau yauhen-karmyzau removed Images Images support MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Jul 11, 2024
@yauhen-karmyzau yauhen-karmyzau changed the title Image Selection and Movement on canvas Multi-tail arrow Scaling on Creation Jul 15, 2024
@yauhen-karmyzau yauhen-karmyzau added MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Multi-Tailed Arrow Tool labels Jul 15, 2024
@epam epam deleted a comment from vanoprenko Jul 15, 2024
@epam epam deleted a comment from ivanmaslow Jul 15, 2024
rrodionov91 pushed a commit that referenced this issue Jul 24, 2024
… Scale the image (#5002)

* #4911 - insert image from ket to canvas

* Loading image from ket file to canvas
* Saving image from struct to ket
* operations to move image during paste\replace

* #4911 - Fixing re rasterImage import

* #4911 - Fixed PR comments: string const, show, variable naming

* #4897 - adding image to canvas via addRasterImage tool

* #4897 - removed absolete console call from structLayout

* #4897 - fixed negative width\height

* #4897 - removed extra if

* #4897 - updated image properties, added lasso, closest selection

* #4897 - reset input value on load to allow user to upload the same image again

* #4897 - updated image tool text

* #4897 fixed selection function and updated image rendering logic

* #4897 updated tests snapshots

* #4897 - updated macromolecule mode snapshots

* #4902 - created selection for images

* #4902 - delete image, fixed image selection, moved text consts

* #4902 - image validation and selection fixes

* #4902 - updated closest logic to grab items under images easily

* #4902 - added gif to images allow list

* #4902 - raster image selection and movement on select and image tools

* #4902 - updated raster image validation

* #4902 - fixed import build errors

* #4902 - fixed rasterImages selection, templates, added testid

* #5039 - updated help.md and added image tool screenshot

* #4897 - changed images to render after the rest of the canvas items

* #4897 - changed images to render after the rest of the canvas items

* #4897 - updated supported formats

* #4897 - updated screenshot from merge conflict
@yauhen-karmyzau yauhen-karmyzau added this to the Backlog milestone Aug 21, 2024
@AlexeyGirin AlexeyGirin modified the milestones: Backlog, Refined Backlog Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Multi-Tailed Arrow Tool
Projects
None yet
Development

No branches or pull requests

3 participants