epam / ketcher

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

The distance between rows does not increase, when there are several horizontal side-chain connections #4989

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 peptides.zip
  3. Draw several horizontal side-chain connections in one row

Actual behavior The distance between two monomer rows does not increase. The same behavior is observed in the nucleotides. Some side-chain connections overlap the bond

image image

Expected behavior If more than one side connection is drawn horizontally between two monomer rows, they should be shifted vertically against each other

As per requirements:

  1. Side chain connections may intersect backbone and other side chain connections but should not overlap. If more than one side connection is drawn horizontally between two monomer rows, they should be shifted vertically against 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