Layout action for several reactions one under another 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 with corrupted elements one under another

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

**Expected behavior**
- Chemical elements are fixed, the whole structure is centered, arrows positions aren't changed, reactions aligned is dome according to the position of arrow:

Additional example from @vanoprenko, how layout should work relative to the arrow, if the angle value is less than boundary value (TBD), horizontal orientation should be supported:

**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.