Layout action for multi-step reactions in a row works not proper
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Add to Canvas two reactions in a row with corrupted elements:

2. Click on Layout
**Actual behavior**
- Elements aren't fixed, two structures are centered:

**Expected behavior**
Chemical elements are fixed and the whole structure is centered, it should be recognized as a multi-step reaction 2:2:1 if the distance:

Distance should be less than 3 bonds as in example from @vanoprenko:

**Environment details:**
- Ketcher [Version 2.24.0-rc.3] Build at 2024-08-20; 13:16:59
- Indigo Version 1.23.0-rc.2.0-g6a2a7526a-wasm32-wasm-clang-19.0.0
- OS: Windows 11 Enterprise
- Browser: Chrome, Version 127.0.6533.100 (Official Build) (64-bit)
**Additional context**
- Issue is detected during investigation of Cascade Reaction feature - https://github.com/epam/Indigo/issues/2128
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.