Dative bond layouted bad on macromolecules canvas (arrow arcs overlap each other)
- Dominant language
- TypeScript
- Stars
- 884
- Forks
- 262
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 138
Description
**Steps to Reproduce**
1. Select Macromolecules mode:
2. Switch to Flex layout mode (Click on the “A” button in the top panel to open Macromolecules modes switcher
and select the third option "Switch to flex layout mode":
https://github.com/user-attachments/assets/62006ee9-531f-4eda-ac97-b4ec3b16dbd1
3. Copy the following structure in KET format:
```
{
"root": {
"nodes": [
{
"$ref": "mol0"
}
],
"connections": [],
"templates": []
},
"mol0": {
"type": "molecule",
"atoms": [
{
"label": "C",
"location": [
17.7,
-9.875,
0
]
},
{
"label": "C",
"location": [
18.7,
-9.875,
0
]
},
{
"label": "C",
"location": [
19.2,
-10.74102540378444,
0
]
},
{
"label": "C",
"location": [
19.2,
-9.00897459621556,
0
]
},
{
"label": "C",
"location": [
19.7,
-9.875,
0
]
},
{
"label": "C",
"location": [
18.2,
-10.74102540378444,
0
]
},
{
"label": "C",
"location": [
18.2,
-9.008974596215563,
0
]
}
],
"bonds": [
{
"type": 9,
"atoms": [
0,
1
]
},
{
"type": 9,
"atoms": [
2,
1
]
},
{
"type": 9,
"atoms": [
3,
1
]
},
{
"type": 9,
"atoms": [
6,
1
]
},
{
"type": 9,
"atoms": [
4,
1
]
},
{
"type": 9,
"atoms": [
5,
1
]
}
]
}
}
```
(or load from file: [Dative bond layouted bad on macromolecules canvas.zip](https://github.com/user-attachments/files/18492882/Dative.bond.layouted.bad.on.macromolecules.canvas.zip) )
4. Click the folder icon "Open..." in the top left corner of the top panel:
5. Click on Paste from Clipboard:
6. Using Ctrl-V paste previously copied KET string into Open Structure pop-up
7. Click on "Open as New" button:
**Actual behavior**
Arrow heads overlaps each other

**Expected behavior**
Arrow heads does not overlap each other

**Versions**
- Ketcher Version 3.0.0-rc.3 Build at 2025-01-20; 16:49:33
- Indigo Toolkit Version 1.28.0-rc.2.0-g1b062e641-wasm32-wasm-clang-19.0.0
- Chrome Version 132.0.6834.84 (Official Build) (64-bit)
- Win10
Issue found while testing - https://github.com/epam/ketcher/issues/6028
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.