epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
442 stars 159 forks source link

Sometimes vertical side-chain connections overlap each other on the canvas #4991

Open ViktoriaTkacheva opened 4 days ago

ViktoriaTkacheva commented 4 days ago

Steps to Reproduce

  1. Switch to the Macro mode – the Snake mode
  2. Open this file long nucleotides 2.zip
  3. Drag several vertical side-chain connections like on the screenshot or the video

Actual behavior Vertical side-chain connections overlap each other, especially if there are many of them (reproduced periodically, but not every time). The same behavior is observed in the peptides

image image image

Expected behavior Vertical side-chain connections do not overlap each other

Screenshots

https://github.com/epam/ketcher/assets/139227567/9bdc4dc7-8932-47a6-a6ce-9ea100faacd9

As per requirements:

  1. Similarly to point 5, vertically oriented connections should not overlap. If multiple connections run vertically in the space between two monomers, they should be shifted horizontally relative to each other.

Desktop (please complete the following information):

Ketcher version 2.23.0-rc.1, Build at 2024-07-02; 09:03:38

Issue found while testing https://github.com/epam/ketcher/issues/3532