diff --git a/.github/workflows/indigo-ci.yaml b/.github/workflows/indigo-ci.yaml
index 7aca4c692e..e17a2b321d 100644
--- a/.github/workflows/indigo-ci.yaml
+++ b/.github/workflows/indigo-ci.yaml
@@ -1406,4 +1406,4 @@ jobs:
export clean_tag=${tag/refs\/tags\/indigo-/}
docker tag epmlsop/indigo-service:enhanced-latest epmlsop/indigo-service:enhanced-${clean_tag}
docker push epmlsop/indigo-service:enhanced-${clean_tag}
- docker push epmlsop/indigo-service:enhanced-latest
+ docker push epmlsop/indigo-service:enhanced-latest
\ No newline at end of file
diff --git a/api/tests/integration/ref/formats/ket_cdxml.py.out b/api/tests/integration/ref/formats/ket_cdxml.py.out
index d233b3c449..4275afbbaf 100644
--- a/api/tests/integration/ref/formats/ket_cdxml.py.out
+++ b/api/tests/integration/ref/formats/ket_cdxml.py.out
@@ -1,4 +1,6 @@
*** KET to CDXML to KET ***
+2558-missed.cdxml:SUCCEED
+2558-missed.ket:SUCCEED
961-text_size.cdxml:SUCCEED
961-text_size.ket:SUCCEED
agents.cdxml:SUCCEED
diff --git a/api/tests/integration/ref/formats/ket_to_rdf.py.out b/api/tests/integration/ref/formats/ket_to_rdf.py.out
index 8442abe18b..a173cb969a 100644
--- a/api/tests/integration/ref/formats/ket_to_rdf.py.out
+++ b/api/tests/integration/ref/formats/ket_to_rdf.py.out
@@ -2,6 +2,7 @@
multi.rdf:SUCCEED
pathway1.rdf:SUCCEED
pathway10.rdf:SUCCEED
+pathway11.rdf:SUCCEED
pathway2.rdf:SUCCEED
pathway3.rdf:SUCCEED
pathway4.rdf:SUCCEED
diff --git a/api/tests/integration/ref/formats/rdf_to_cdxml.py.out b/api/tests/integration/ref/formats/rdf_to_cdxml.py.out
index 730aa7c8b8..549a3331a0 100644
--- a/api/tests/integration/ref/formats/rdf_to_cdxml.py.out
+++ b/api/tests/integration/ref/formats/rdf_to_cdxml.py.out
@@ -1,6 +1,7 @@
*** RDF to CDXML ***
pathway1.cdxml:SUCCEED
pathway10.cdxml:SUCCEED
+pathway11.cdxml:SUCCEED
pathway2.cdxml:SUCCEED
pathway3.cdxml:SUCCEED
pathway4.cdxml:SUCCEED
diff --git a/api/tests/integration/ref/formats/rxn_to_ket.py.out b/api/tests/integration/ref/formats/rxn_to_ket.py.out
new file mode 100644
index 0000000000..8d892eab3d
--- /dev/null
+++ b/api/tests/integration/ref/formats/rxn_to_ket.py.out
@@ -0,0 +1,3 @@
+*** RXN to KET ***
+2485-bad-layout.ket:SUCCEED
+2531-bad-layout.ket:SUCCEED
diff --git a/api/tests/integration/ref/reaction/pathway.py.out b/api/tests/integration/ref/reaction/pathway.py.out
index c4790116ae..adadd52e90 100644
--- a/api/tests/integration/ref/reaction/pathway.py.out
+++ b/api/tests/integration/ref/reaction/pathway.py.out
@@ -8,3 +8,4 @@ pathway7.rdf:SUCCEED
pathway8.rdf:SUCCEED
pathway9.rdf:SUCCEED
pathway10.rdf:SUCCEED
+pathway11.rdf:SUCCEED
diff --git a/api/tests/integration/tests/formats/ket_cdxml.py b/api/tests/integration/tests/formats/ket_cdxml.py
index ab0437fb38..25eca0c543 100644
--- a/api/tests/integration/tests/formats/ket_cdxml.py
+++ b/api/tests/integration/tests/formats/ket_cdxml.py
@@ -28,6 +28,7 @@ def find_diff(a, b):
"multi_overlap",
"961-text_size",
"generic",
+ "2558-missed",
]
files.sort()
diff --git a/api/tests/integration/tests/formats/ket_to_rdf.py b/api/tests/integration/tests/formats/ket_to_rdf.py
index 6179ae694b..e490d71b37 100644
--- a/api/tests/integration/tests/formats/ket_to_rdf.py
+++ b/api/tests/integration/tests/formats/ket_to_rdf.py
@@ -36,6 +36,7 @@ def find_diff(a, b):
"pathway8",
"pathway9",
"pathway10",
+ "pathway11",
]
files.sort()
diff --git a/api/tests/integration/tests/formats/rdf_to_cdxml.py b/api/tests/integration/tests/formats/rdf_to_cdxml.py
index da54f91e7f..f80e971e4f 100644
--- a/api/tests/integration/tests/formats/rdf_to_cdxml.py
+++ b/api/tests/integration/tests/formats/rdf_to_cdxml.py
@@ -33,6 +33,7 @@ def find_diff(a, b):
"pathway8",
"pathway9",
"pathway10",
+ "pathway11",
]
files.sort()
diff --git a/api/tests/integration/tests/formats/reactions/2485-bad-layout.rxn b/api/tests/integration/tests/formats/reactions/2485-bad-layout.rxn
new file mode 100644
index 0000000000..0ad4b98394
--- /dev/null
+++ b/api/tests/integration/tests/formats/reactions/2485-bad-layout.rxn
@@ -0,0 +1,65 @@
+$RXN V3000
+
+ -INDIGO- 1021241118
+
+M V30 COUNTS 2 1
+M V30 BEGIN REACTANT
+M V30 BEGIN CTAB
+M V30 COUNTS 5 5 0 0 0
+M V30 BEGIN ATOM
+M V30 1 C -29.801 19.8069 0.0 0
+M V30 2 C -29.3006 18.2668 0.0 0
+M V30 3 C -28.9913 19.213 0.0 0
+M V30 4 C -30.3014 18.2668 0.0 0
+M V30 5 C -30.6107 19.213 0.0 0
+M V30 END ATOM
+M V30 BEGIN BOND
+M V30 1 1 1 5
+M V30 2 2 5 4
+M V30 3 1 4 2
+M V30 4 2 2 3
+M V30 5 1 3 1
+M V30 END BOND
+M V30 END CTAB
+M V30 BEGIN CTAB
+M V30 COUNTS 6 6 0 0 0
+M V30 BEGIN ATOM
+M V30 1 C -29.6854 16.8444 0.0 0
+M V30 2 C -27.9551 16.8449 0.0 0
+M V30 3 C -28.8186 17.3445 0.0 0
+M V30 4 C -27.9551 15.844 0.0 0
+M V30 5 C -29.6854 15.8395 0.0 0
+M V30 6 C -28.8164 15.3445 0.0 0
+M V30 END ATOM
+M V30 BEGIN BOND
+M V30 1 2 3 1
+M V30 2 1 1 5
+M V30 3 2 5 6
+M V30 4 1 6 4
+M V30 5 2 4 2
+M V30 6 1 2 3
+M V30 END BOND
+M V30 END CTAB
+M V30 END REACTANT
+M V30 BEGIN PRODUCT
+M V30 BEGIN CTAB
+M V30 COUNTS 6 6 0 0 0
+M V30 BEGIN ATOM
+M V30 1 C -23.9637 16.744 0.0 0
+M V30 2 C -24.6708 17.4511 0.0 0
+M V30 3 C -24.412 18.417 0.0 0
+M V30 4 C -23.446 18.6758 0.0 0
+M V30 5 C -22.7389 17.9687 0.0 0
+M V30 6 C -22.9978 17.0028 0.0 0
+M V30 END ATOM
+M V30 BEGIN BOND
+M V30 1 1 2 1
+M V30 2 1 3 2
+M V30 3 1 4 3
+M V30 4 1 5 4
+M V30 5 1 6 5
+M V30 6 1 1 6
+M V30 END BOND
+M V30 END CTAB
+M V30 END PRODUCT
+M END
diff --git a/api/tests/integration/tests/formats/reactions/2531-bad-layout.rxn b/api/tests/integration/tests/formats/reactions/2531-bad-layout.rxn
new file mode 100644
index 0000000000..3fbe074cea
--- /dev/null
+++ b/api/tests/integration/tests/formats/reactions/2531-bad-layout.rxn
@@ -0,0 +1,113 @@
+$RXN
+
+ RDKit
+
+ 1 1
+$MOL
+
+ RDKit 2D
+
+ 28 30 0 0 0 0 0 0 0 0999 V2000
+ -5.2331 -2.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3657 -1.9441 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.5011 -2.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3629 -0.9441 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.2275 -0.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0949 -0.9393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0977 -1.9393 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.9595 -0.4369 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.8271 -0.9345 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6915 -0.4321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6889 0.5679 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5535 1.0703 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4209 0.5727 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2855 1.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2827 2.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -12.1473 2.5775 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4153 2.5727 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4235 -0.4273 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5591 -0.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.4953 -0.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.5831 -0.8561 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9119 -0.1147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9121 -0.1173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4095 0.7471 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9071 1.6147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9071 1.6173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4095 0.7527 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3883 0.5477 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 4 20 1 0
+ 20 21 4 0
+ 21 22 4 0
+ 22 23 4 0
+ 23 24 4 0
+ 24 25 4 0
+ 25 26 4 0
+ 26 27 4 0
+ 27 28 4 0
+ 19 10 4 0
+ 28 20 4 0
+ 27 22 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 19 19 0 0 0 0 0 0 0 0999 V2000
+ -9.1650 0.7411 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2994 0.2405 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.3002 -0.7595 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.4330 0.7397 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.5674 0.2391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7010 0.7383 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7002 1.7383 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.8354 0.2377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.9690 0.7369 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1034 0.2363 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1042 -0.7637 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2386 -1.2643 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3722 -0.7651 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.5066 -1.2657 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3598 -0.7665 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2254 -1.2671 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3606 0.2335 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3714 0.2349 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2370 0.7355 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 19 10 4 0
+M END
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/reactions/2558-missed.ket b/api/tests/integration/tests/formats/reactions/2558-missed.ket
new file mode 100644
index 0000000000..312830ff31
--- /dev/null
+++ b/api/tests/integration/tests/formats/reactions/2558-missed.ket
@@ -0,0 +1,1414 @@
+{
+ "root": {
+ "nodes": [
+ {
+ "$ref": "mol0"
+ },
+ {
+ "$ref": "mol1"
+ },
+ {
+ "$ref": "mol2"
+ },
+ {
+ "$ref": "mol3"
+ },
+ {
+ "$ref": "mol4"
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": -0.062482101375048504,
+ "y": -5.086100378951561,
+ "z": 0
+ },
+ {
+ "x": -0.062482101375048504,
+ "y": -7.0501290898701665,
+ "z": 0
+ }
+ ]
+ }
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "retrosynthetic",
+ "pos": [
+ {
+ "x": 14.872885360717792,
+ "y": -4.188792711235408,
+ "z": 0
+ },
+ {
+ "x": 8.547835953796138,
+ "y": -4.188792711235408,
+ "z": 0
+ }
+ ]
+ }
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "retrosynthetic",
+ "pos": [
+ {
+ "x": -1.5350000000000037,
+ "y": 1.7750000000000221,
+ "z": 0
+ },
+ {
+ "x": -3.360000000000004,
+ "y": 3.4750000000000227,
+ "z": 0
+ }
+ ]
+ }
+ },
+ {
+ "type": "plus",
+ "location": [
+ -3.6633920289468667,
+ 4.565668924660314,
+ 0
+ ],
+ "prop": {}
+ }
+ ],
+ "connections": [],
+ "templates": []
+ },
+ "mol0": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Tl",
+ "location": [
+ -5.667436151488294,
+ 4.515567821596778,
+ 0
+ ],
+ "explicitValence": 3
+ }
+ ],
+ "stereoFlagPosition": {
+ "x": -5.667436151488294,
+ "y": -5.515567821596779,
+ "z": 0
+ }
+ },
+ "mol1": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Dy",
+ "location": [
+ -2.586218313080851,
+ 4.565668924660312,
+ 0
+ ],
+ "explicitValence": 2
+ }
+ ],
+ "stereoFlagPosition": {
+ "x": -2.586218313080851,
+ "y": -5.565668924660313,
+ "z": 0
+ }
+ },
+ "mol2": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Br",
+ "location": [
+ -3.8645588159827176,
+ -3.4798574468106036,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.9967825457179105,
+ -2.9788469546306953,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.9967819484662046,
+ -1.976824820561344,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.1290053795755446,
+ -1.4758138729770174,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.2612285120590316,
+ -1.976825178912371,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.39345224179422633,
+ -1.4758142462593344,
+ 0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 0.47432447640936015,
+ -1.9768252983627175,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.3421008959870937,
+ -1.4758142462593344,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.342100970643556,
+ -0.47379210472434163,
+ 0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 0.47432447640936015,
+ 0.027218910050806677,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.44106813412552004,
+ -0.38034013014826584,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.1115521576744998,
+ 0.364307474790051,
+ 0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ -0.6105409935864161,
+ 1.2320838943677854,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.3695844445731806,
+ 1.0237514498502094,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.209877464877759,
+ -1.9768252983627175,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.0776540337684173,
+ -1.4758142462593344,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.945430602659072,
+ -1.9768252983627175,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.945430602659072,
+ -2.978847402569478,
+ 0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 4.813206872923877,
+ -3.479858641314017,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.0776538844554855,
+ -3.4798584920010907,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.2098775843281038,
+ -2.978847551882403,
+ 0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 1.3421010453000184,
+ -3.479858641314017,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.261228810684881,
+ -2.978847029287161,
+ 0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ -0.39345254042007927,
+ -3.4798580440623077,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.1290056782013975,
+ -3.479858342688164,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 2,
+ 3
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 13,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 14
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 15,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 19,
+ 20
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 20,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 21
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 4,
+ 22
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 22,
+ 23
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 22,
+ 24
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 24,
+ 1
+ ]
+ }
+ ],
+ "stereoFlagPosition": {
+ "x": 4.813206872923877,
+ "y": -2.2320838943677854,
+ "z": 0
+ }
+ },
+ "mol3": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "F",
+ "location": [
+ -2.823642391235799,
+ -9.034830520453893,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.0898419194473201,
+ -9.034344351376628,
+ 0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ -1.9551013347057984,
+ -8.533711744065256,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.0898419194473201,
+ -10.037311157769796,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.823642391235799,
+ -10.041808221734478,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.9529135738581156,
+ -10.537822222811855,
+ 0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ -0.22359791035765064,
+ -8.5349605499162,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6453394766893331,
+ -9.036307995591361,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.21742962525388188,
+ -10.540663507190388,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6475469352593918,
+ -10.034232518944599,
+ 0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ 1.5061294503185225,
+ -8.537528238758359,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.3718017995665837,
+ -9.034442757066449,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.5166811346680449,
+ -10.533134213586205,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.376194521294384,
+ -10.027345488331985,
+ 0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ 3.2271664866368557,
+ -8.536276012050296,
+ 0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 4.089580456074248,
+ -9.028787075063535,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.242057310531999,
+ -10.521826118126544,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.096136402231082,
+ -10.01668845102857,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.5220037143090233,
+ -11.531675581470441,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.21102000497824158,
+ -11.547206701739647,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6624903276826828,
+ -12.037464306724658,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.957666151712133,
+ -10.502829492695017,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.96837700819387,
+ -11.495275829943136,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.2528110000558907,
+ -11.518241278584693,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.119703458289955,
+ -11.999753751497249,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.9477701234742624,
+ -11.536823358885346,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.812746683987543,
+ -12.043254347131132,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -3.6920780194292693,
+ -10.550264442967677,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -3.6801897188550896,
+ -11.551650403043801,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 2,
+ "atoms": [
+ 2,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 3
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 9,
+ 7
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 7,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 1
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 9,
+ 12
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 13,
+ 11
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 11,
+ 10
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 10,
+ 7
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 15
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 15,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 14,
+ 11
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 19
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 18
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 18,
+ 12
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 16,
+ 23
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 23,
+ 24
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 22,
+ 21
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 21,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 27
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 27,
+ 28
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 26,
+ 25
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 25,
+ 5
+ ]
+ }
+ ],
+ "stereoFlagPosition": {
+ "x": 4.96837700819387,
+ "y": 7.533711744065256,
+ "z": 0
+ }
+ },
+ "mol4": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "N",
+ "location": [
+ 16.604872937776513,
+ -6.321215770987858,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.42089805219798,
+ -5.521216308356716,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.420898648244446,
+ -4.5212162357049825,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.286924060689145,
+ -4.021216318588419,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.15294977115708,
+ -4.521216593332866,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.01897488557855,
+ -4.021216691117459,
+ 0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 20.88500044703487,
+ -4.521216712542161,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 21.751025710467953,
+ -4.021216691117459,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 21.751025784973763,
+ -3.0212166110151504,
+ 0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 20.88500044703487,
+ -2.5212166268433527,
+ 0
+ ],
+ "implicitHCount": 0
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.971455081203274,
+ -2.9279532207285492,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.302324081533765,
+ -2.1848083003522505,
+ 0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 19.802324214717178,
+ -1.3187830369191644,
+ 0
+ ],
+ "implicitHCount": 0
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.780471778570874,
+ -1.5266950705657867,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.617051122912656,
+ -4.521216712542161,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.483076535357355,
+ -4.021216691117459,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 24.34910194780206,
+ -4.521216712542161,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 24.34910194780206,
+ -5.521216755391564,
+ 0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 25.21512706222353,
+ -6.0212169630807875,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.48307638634574,
+ -6.021216814069171,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.61705124212195,
+ -5.521216904403182,
+ 0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 21.75102585947957,
+ -6.0212169630807875,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.152949473133848,
+ -5.521216382862525,
+ 0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 20.018974587555316,
+ -6.021216367034323,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.286923762665914,
+ -6.021216665057555,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.760155312996453,
+ -6.98714213184072,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.009844768029073,
+ -6.987142825959117,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 2,
+ 3
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 13,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 14
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 15,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 19,
+ 20
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 20,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 21
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 4,
+ 22
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 22,
+ 23
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 22,
+ 24
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 24,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 23,
+ 21
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 23,
+ 25
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 21,
+ 26
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/reactions/pathway11.ket b/api/tests/integration/tests/formats/reactions/pathway11.ket
new file mode 100644
index 0000000000..b0fd857155
--- /dev/null
+++ b/api/tests/integration/tests/formats/reactions/pathway11.ket
@@ -0,0 +1,1063 @@
+{
+ "root": {
+ "nodes": [
+ {
+ "$ref": "mol0"
+ },
+ {
+ "$ref": "mol1"
+ },
+ {
+ "$ref": "mol2"
+ },
+ {
+ "$ref": "mol3"
+ },
+ {
+ "$ref": "mol4"
+ },
+ {
+ "$ref": "mol5"
+ },
+ {
+ "$ref": "mol6"
+ },
+ {
+ "$ref": "mol7"
+ },
+ {
+ "$ref": "mol8"
+ },
+ {
+ "$ref": "mol9"
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": 14.14230827073823,
+ "y": -21.031653013026638,
+ "z": 0
+ },
+ {
+ "x": 16.14230827073823,
+ "y": -21.031653013026638,
+ "z": 0
+ }
+ ]
+ }
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": 14.623229483842437,
+ "y": -25.928400468862094,
+ "z": 0
+ },
+ {
+ "x": 16.62322948384243,
+ "y": -25.928400468862094,
+ "z": 0
+ }
+ ]
+ }
+ },
+ {
+ "type": "plus",
+ "location": [
+ 10.34828312090196,
+ -20.794488564997888,
+ 0
+ ],
+ "prop": {}
+ },
+ {
+ "type": "plus",
+ "location": [
+ 10.22328312090196,
+ -25.700738564997884,
+ 0
+ ],
+ "prop": {}
+ },
+ {
+ "type": "multi-tailed-arrow",
+ "data": {
+ "head": {
+ "position": {
+ "x": 9.48877,
+ "y": -13.02252,
+ "z": 0
+ }
+ },
+ "spine": {
+ "pos": [
+ {
+ "x": 8.68877,
+ "y": -10.77252,
+ "z": 0
+ },
+ {
+ "x": 8.68877,
+ "y": -15.41141,
+ "z": 0
+ }
+ ]
+ },
+ "tails": {
+ "pos": [
+ {
+ "x": 8.28877,
+ "y": -10.77252,
+ "z": 0
+ },
+ {
+ "x": 8.28877,
+ "y": -13.02252,
+ "z": 0
+ },
+ {
+ "x": 8.28877,
+ "y": -15.41141,
+ "z": 0
+ }
+ ]
+ },
+ "zOrder": 0
+ }
+ }
+ ],
+ "connections": [],
+ "templates": []
+ },
+ "mol0": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 10.145834125990689,
+ -12.439243566711461,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.876135821733552,
+ -12.438758378714056,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.012622483353365,
+ -11.939136038387039,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.876135821733552,
+ -13.439701217359,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 10.145834125990689,
+ -13.444189206334988,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.014805829341682,
+ -13.93920226068667,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 2,
+ "atoms": [
+ 2,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 3
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ }
+ ]
+ },
+ "mol1": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 6.927701679272001,
+ -12.113567374730797,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.428089111366677,
+ -13.653659813231798,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.7373285444011906,
+ -12.707427179140758,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.427314247177321,
+ -13.653659813231798,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.117974736656394,
+ -12.707427179140758,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol2": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 6.061638938869451,
+ -14.911384038237511,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.061638938869451,
+ -15.911398705280634,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.927651640528794,
+ -16.41140603880219,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.793664342188137,
+ -15.911398705280634,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.793664342188137,
+ -14.911384038237511,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.927651640528794,
+ -14.411376704715952,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ }
+ ]
+ },
+ "mol3": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 6.816540529417683,
+ -9.836395364754953,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.625530490067354,
+ -10.424188070403751,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.3165343246276136,
+ -11.375276267652081,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.316546734207748,
+ -11.375276267652081,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.0075505687680115,
+ -10.424188070403751,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol4": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 16.628623321008806,
+ -21.708007849556644,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 16.628824281340275,
+ -20.705517236003246,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.333994084479258,
+ -20.000246952698518,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.334195044810727,
+ -22.413378613027106,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.336585178198394,
+ -22.413378613027106,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.041955941668846,
+ -21.70800784955664,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.04185546150312,
+ -20.705517236003246,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.336585178198394,
+ -20.000146472532784,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ }
+ ]
+ },
+ "mol5": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 11.436275251093234,
+ -21.25106015911114,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 12.437526822365376,
+ -21.25106015911114,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.93695122477799,
+ -20.386119328068332,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol6": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 9.04667259403239,
+ -21.25203592295189,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 9.042969253958322,
+ -20.256938436022452,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 8.034759941361237,
+ -21.239124277828786,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 8.032257684554434,
+ -20.256938436022452,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol7": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 17.07911681057193,
+ -26.35823387177458,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.079317770903398,
+ -25.35574325822119,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.784487574042387,
+ -24.650472974916458,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.784688534373863,
+ -27.063604635245046,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.787078667761527,
+ -27.063604635245046,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.49244943123199,
+ -26.35823387177458,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.492348951066255,
+ -25.35574325822119,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.787078667761527,
+ -24.650372494750723,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ }
+ ]
+ },
+ "mol8": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 8.473283120901964,
+ -24.931298113549317,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 9.282273081551638,
+ -25.519090819198116,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 8.9732769161119,
+ -26.47017901644645,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.973289325692033,
+ -26.47017901644645,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 7.664293160252297,
+ -25.519090819198116,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol9": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 11.642659467966885,
+ -25.408346860639092,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 12.426592853785872,
+ -24.790775216719346,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.39962375237172,
+ -25.013325361511704,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.833706708055828,
+ -25.909134765212357,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.648168134917187,
+ -26.41553149431684,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.400324855438125,
+ -26.816161817975452,
+ 0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 12.426592853785872,
+ -27.03871196276781,
+ 0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/reactions/rdf/pathway11.rdf b/api/tests/integration/tests/formats/reactions/rdf/pathway11.rdf
new file mode 100644
index 0000000000..e32da0593a
--- /dev/null
+++ b/api/tests/integration/tests/formats/reactions/rdf/pathway11.rdf
@@ -0,0 +1,671 @@
+$RDFILE 1
+$DATM 2/8/2024, 10:14:53 AM
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 6 5 0 0 0 0 0 0 0 0999 V2000
+ -0.2893 -0.4179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1549 0.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1541 1.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.0213 -0.4165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.8869 0.0841 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.7533 -0.4153 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 11 11 0 0 0 0 0 0 0 0999 V2000
+ -3.6362 -0.9186 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.7720 -0.4156 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.7756 0.5844 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9042 -0.9124 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.0400 -0.4094 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.1722 -0.9062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6920 -0.4030 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6884 0.5968 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.5526 1.1000 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.1794 1.0938 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.0436 0.5906 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 8 10 4 0
+ 10 11 4 0
+ 11 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -4.1340 0.2215 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1348 -0.7785 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0012 -1.2779 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2692 -1.2791 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4028 -0.7799 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5372 -1.2805 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6710 -0.7813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1948 -1.2819 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0612 -0.7827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0620 0.2173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9284 0.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9292 1.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7956 2.2159 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0636 2.2173 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1964 0.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6702 0.2187 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 1 0
+ 11 12 1 0
+ 12 13 1 0
+ 12 14 2 0
+ 10 15 4 0
+ 15 16 4 0
+ 16 7 4 0
+M END
+
+$DTYPE Name
+$DATUM Mitsunobu reaction
+$DTYPE Reference
+$DATUM [10.1021/jo0345751]: https://doi.org/10.1021/jo0345751 [10.1021/ol0618757]: https://doi.org/10.1021/ol0618757
+$DTYPE Reaction Conditions
+$DATUM DEAD.or.DCAD.or.DIAD.PPh3
+$DTYPE SMILES
+$DATUM CC(C)=CCO.NC(=O)Cc1ccc(O)cc1>>CC(C)=CCOc1ccc(CC(N)=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 1 1
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -7.6865 0.2215 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.6874 -0.7785 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.5537 -1.2779 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.8217 -1.2791 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.9553 -0.7799 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0897 -1.2805 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.2235 -0.7813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3578 -1.2819 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4914 -0.7827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4905 0.2173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.6242 0.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.6233 1.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7570 2.2159 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4889 2.2173 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3562 0.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.2227 0.2187 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 1 0
+ 11 12 1 0
+ 12 13 1 0
+ 12 14 2 0
+ 10 15 4 0
+ 15 16 4 0
+ 16 7 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 14 14 0 0 0 0 0 0 0 0999 V2000
+ 0.2544 2.1405 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6120 1.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4776 2.1419 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6128 0.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4792 0.1419 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4800 -0.8581 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3464 -1.3573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2120 -0.8567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.0784 -1.3561 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9440 -0.8553 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.8104 -1.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.6760 -0.8539 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2112 0.1433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3448 0.6425 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 2 0
+ 8 13 4 0
+ 13 14 4 0
+ 14 5 4 0
+M END
+
+$DTYPE Name
+$DATUM Ozonolysis
+$DTYPE Reference
+$DATUM [10.1016/j.tet.2017.03.039]: https://doi.org/10.1016/j.tet.2017.03.039
+$DTYPE Reaction Conditions
+$DATUM O3.MeOH.CH2Cl2.PPh3 or Me2S.low temperature
+$DTYPE SMILES
+$DATUM CC(C)=CCOc1ccc(CC(N)=O)cc1>>NC(=O)Cc1ccc(OCC=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 3 2 0 0 0 0 0 0 0 0999 V2000
+ -0.0003 -0.1674 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.8659 0.3334 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.7323 -0.1660 0.0000 I 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 14 14 0 0 0 0 0 0 0 0999 V2000
+ 1.0110 2.1405 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1446 1.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7210 2.1419 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1438 0.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7226 0.1419 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7234 -0.8581 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5898 -1.3573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4554 -0.8567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3218 -1.3561 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1874 -0.8553 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0538 -1.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.9194 -0.8539 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4546 0.1433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5882 0.6425 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 2 0
+ 8 13 4 0
+ 13 14 4 0
+ 14 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -3.2719 2.9350 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4055 2.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5399 2.9364 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4047 1.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5385 0.9364 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5377 -0.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6713 -0.5628 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1945 -0.0622 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0607 -0.5616 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0615 -1.5616 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9279 -2.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7935 -1.5602 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9287 -3.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7951 -3.5602 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1937 0.9378 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6727 1.4370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 1 0
+ 11 13 1 0
+ 13 14 1 0
+ 8 15 4 0
+ 15 16 4 0
+ 16 5 4 0
+M END
+
+$DTYPE Name
+$DATUM Addition of dihalomethane to aldehyde
+$DTYPE Reference
+$DATUM [10.1016/j.tetlet.2005.02.093]: https://doi.org/10.1016/j.tetlet.2005.02.093 [10.1021/jo970318i]: https://doi.org/10.1021/jo970318i [10.1016/j.tet.2012.02.033]: https://doi.org/10.1016/j.tet.2012.02.033
+$DTYPE Reaction Conditions
+$DATUM SmI2.THF
+$DTYPE SMILES
+$DATUM ClCI.NC(=O)Cc1ccc(OCC=O)cc1>>NC(=O)Cc1ccc(OCC(O)CCl)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 6 5 0 0 0 0 0 0 0 0999 V2000
+ -0.2885 -0.5821 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1549 -0.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1557 0.9173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.0205 -0.5835 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.8869 -0.0841 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.7533 0.4153 0.0000 S 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 2 0
+ 5 6 2 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ -0.8881 -0.9990 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.0217 -0.4996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8439 -1.0004 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7103 -0.5010 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7111 0.4990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8455 0.9996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.0209 0.5004 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.8865 1.0010 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 4 0
+ 3 4 4 0
+ 4 5 4 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 1 0
+ 7 2 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 13 14 0 0 0 0 0 0 0 0999 V2000
+ -2.7676 0.5970 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.7676 0.5978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2682 1.4642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2668 -0.2678 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.2666 -0.2670 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3202 0.5426 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2716 0.2342 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1372 0.7348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3.0036 0.2356 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3.0044 -0.7644 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1388 -1.2650 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2724 -0.7658 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3214 -1.0758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 5 4 0
+ 12 7 4 0
+M END
+
+$DTYPE Name
+$DATUM Published reaction
+$DTYPE Reference
+$DATUM [10.1002/ANIE.201201451]: https://doi.org/10.1002/ANIE.201201451
+$DTYPE Reaction Conditions
+$DATUM Stage 1: 14 h, Copper(II) chloride, Dimethylformamide, Dichloromethane, CK2O3 Potassium carbonate | Stage 2: 5 h, 80 degree, acid, Dy(3+)-salt C3Dy1F9O9S3, Dichloromethane, Acetonitrile
+$DTYPE SMILES
+$DATUM CC(C)N=C=S.Nc1ccccc1O>>CC(C)Nc1nc2ccccc2o1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 13 14 0 0 0 0 0 0 0 0999 V2000
+ -6.4787 0.5970 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.4787 0.5978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9793 1.4642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9779 -0.2678 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.9777 -0.2670 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3909 0.5426 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4395 0.2342 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5739 0.7348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7075 0.2356 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7067 -0.7644 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5723 -1.2650 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4387 -0.7658 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3897 -1.0758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 5 4 0
+ 12 7 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -4.9897 2.9350 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1233 2.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2577 2.9364 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1225 1.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2563 0.9364 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2555 -0.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3891 -0.5628 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5233 -0.0622 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6571 -0.5616 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6563 -1.5616 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.2101 -2.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0757 -1.5602 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.2109 -3.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0773 -3.5602 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5241 0.9378 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3905 1.4370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 1 0
+ 11 13 1 0
+ 13 14 1 0
+ 8 15 4 0
+ 15 16 4 0
+ 16 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 28 30 0 0 0 0 0 0 0 0999 V2000
+ -2.1558 -2.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2884 -1.9441 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4238 -2.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2856 -0.9441 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.1502 -0.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.0176 -0.9393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.0204 -1.9393 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.8822 -0.4369 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.7498 -0.9345 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.6142 -0.4321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.6116 0.5679 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.4762 1.0703 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3436 0.5727 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2082 1.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2054 2.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.0700 2.5775 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3380 2.5727 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3462 -0.4273 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.4818 -0.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4180 -0.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4942 -0.8561 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.1654 -0.1147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1652 -0.1173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.6678 0.7471 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1702 1.6147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.1702 1.6173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6678 0.7527 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.3110 0.5477 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 4 20 1 0
+ 20 21 4 0
+ 21 22 4 0
+ 22 23 4 0
+ 23 24 4 0
+ 24 25 4 0
+ 25 26 4 0
+ 26 27 4 0
+ 27 28 4 0
+ 19 10 4 0
+ 28 20 4 0
+ 27 22 4 0
+M END
+
+$DTYPE Name
+$DATUM Alkylation of amines with alkyl halides
+$DTYPE Reference
+$DATUM [10.1016/s0040-4039(00)74286-9]: https://doi.org/10.1016/s0040-4039(00)74286-9 [10.1021/acs.oprd.8b00074]: https://doi.org/10.1021/acs.oprd.8b00074 [10.1016/S0040-4020(01)00989-9]: https://doi.org/10.1016/S0040-4020(01)00989-9 [10.1080/00397911.2013.828077]: https://doi.org/10.1080/00397911.2013.828077 [10.1016/j.bmcl.2012.08.032]: https://doi.org/10.1016/j.bmcl.2012.08.032
+$DTYPE Reaction Conditions
+$DATUM KOH. toluene. PTC. catalyst or KI. base e.g. K2CO3
+$DTYPE SMILES
+$DATUM CC(C)Nc1nc2ccccc2o1.NC(=O)Cc1ccc(OCC(O)CCl)cc1>>CC(C)N(CC(O)COc1ccc(CC(N)=O)cc1)c1nc2ccccc2o1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 1 1
+$MOL
+
+ RDKit 2D
+
+ 28 30 0 0 0 0 0 0 0 0999 V2000
+ -5.2331 -2.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3657 -1.9441 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.5011 -2.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3629 -0.9441 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.2275 -0.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0949 -0.9393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0977 -1.9393 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.9595 -0.4369 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.8271 -0.9345 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6915 -0.4321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6889 0.5679 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5535 1.0703 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4209 0.5727 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2855 1.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2827 2.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -12.1473 2.5775 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4153 2.5727 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4235 -0.4273 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5591 -0.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.4953 -0.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.5831 -0.8561 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9119 -0.1147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9121 -0.1173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4095 0.7471 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9071 1.6147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9071 1.6173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4095 0.7527 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3883 0.5477 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 4 20 1 0
+ 20 21 4 0
+ 21 22 4 0
+ 22 23 4 0
+ 23 24 4 0
+ 24 25 4 0
+ 25 26 4 0
+ 26 27 4 0
+ 27 28 4 0
+ 19 10 4 0
+ 28 20 4 0
+ 27 22 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 19 19 0 0 0 0 0 0 0 0999 V2000
+ -9.1650 0.7411 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2994 0.2405 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.3002 -0.7595 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.4330 0.7397 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.5674 0.2391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7010 0.7383 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7002 1.7383 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.8354 0.2377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.9690 0.7369 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1034 0.2363 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1042 -0.7637 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2386 -1.2643 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3722 -0.7651 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.5066 -1.2657 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3598 -0.7665 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2254 -1.2671 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3606 0.2335 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3714 0.2349 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2370 0.7355 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 19 10 4 0
+M END
+
+$DTYPE Name
+$DATUM Removal of benzoxazol-2-yl group from amines
+$DTYPE Reference
+$DATUM [10.1021/ol501935d]: https://doi.org/10.1021/ol501935d
+$DTYPE Reaction Conditions
+$DATUM LAH.THF.reflux
+$DTYPE SMILES
+$DATUM CC(C)N(CC(O)COc1ccc(CC(N)=O)cc1)c1nc2ccccc2o1>>CC(C)NCC(O)COc1ccc(CC(N)=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+
+END
diff --git a/api/tests/integration/tests/formats/ref/2485-bad-layout.ket b/api/tests/integration/tests/formats/ref/2485-bad-layout.ket
new file mode 100644
index 0000000000..345cc4ebc7
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/2485-bad-layout.ket
@@ -0,0 +1,317 @@
+{
+ "root": {
+ "nodes": [
+ {
+ "$ref": "mol0"
+ },
+ {
+ "$ref": "mol1"
+ },
+ {
+ "$ref": "mol2"
+ },
+ {
+ "type": "plus",
+ "location": [
+ 7.0910515785217289,
+ 0.0,
+ 0.0
+ ]
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": 15.75954532623291,
+ "y": 0.0,
+ "z": 0.0
+ },
+ {
+ "x": 17.759544372558599,
+ "y": 0.0,
+ "z": 0.0
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "mol0": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 2.595525741577149,
+ 1.2320854663848878,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.396169900894165,
+ -1.2320854663848878,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.8910512924194338,
+ 0.2818402051925659,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.7948843240737916,
+ -1.2320854663848878,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.2999999523162842,
+ 0.2818402051925659,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 0
+ ]
+ }
+ ]
+ },
+ "mol1": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 10.291051864624024,
+ 0.7998448610305786,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.059545516967774,
+ 0.8006442785263062,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.677938461303713,
+ 1.600006937980652,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.059545516967774,
+ -0.800803005695343,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 10.291051864624024,
+ -0.8080021739006043,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 11.68145751953125,
+ -1.600006937980652,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 2,
+ "atoms": [
+ 2,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 3
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ }
+ ]
+ },
+ "mol2": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 21.590909957885747,
+ -1.54544734954834,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.459545135498048,
+ -0.4140825271606446,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.873624801635747,
+ 1.1313648223876954,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.419233322143556,
+ 1.54544734954834,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.55059814453125,
+ 0.4140826463699341,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.136354446411138,
+ -1.1313647031784058,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 2,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 5
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/2531-bad-layout.ket b/api/tests/integration/tests/formats/ref/2531-bad-layout.ket
new file mode 100644
index 0000000000..c2d67828e8
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/2531-bad-layout.ket
@@ -0,0 +1,763 @@
+{
+ "root": {
+ "nodes": [
+ {
+ "$ref": "mol0"
+ },
+ {
+ "$ref": "mol1"
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": 22.780956268310548,
+ "y": 0.0,
+ "z": 0.0
+ },
+ {
+ "x": 24.78095245361328,
+ "y": 0.0,
+ "z": 0.0
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "mol0": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 12.363000869750977,
+ -4.011621952056885,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 13.750876426696778,
+ -3.215441942214966,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 15.134272575378418,
+ -4.019302368164063,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 13.755356788635254,
+ -1.615401268005371,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 12.37196159362793,
+ -0.8115406036376953,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 10.984086036682128,
+ -1.6077210903167725,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 10.979605674743653,
+ -3.207761526107788,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 9.600690841674805,
+ -0.8038604259490967,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 8.212495803833008,
+ -1.6000406742095948,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.829421043395996,
+ -0.7961804866790772,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 6.833580017089844,
+ 0.8038601875305176,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 5.45018482208252,
+ 1.6077203750610352,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.062309265136719,
+ 0.8115406036376953,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.67891526222229,
+ 1.615400791168213,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.6833953857421877,
+ 3.215441226959229,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 1.2999999523162842,
+ 4.019302368164063,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 4.071269512176514,
+ 4.011622428894043,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.058149337768555,
+ -0.7885000705718994,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 5.441225051879883,
+ -1.592360496520996,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 15.143550872802737,
+ -0.819221019744873,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 16.60310745239258,
+ -1.474597692489624,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.67705345153809,
+ -0.2883274555206299,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.276775360107427,
+ -0.2924876213073731,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.080955505371099,
+ 1.0905876159667969,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.28477668762207,
+ 2.478783130645752,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.684736251831056,
+ 2.482942581176758,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 16.880874633789064,
+ 1.099547863006592,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 15.314756393432618,
+ 0.7715392112731934,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 13,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 14,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 17
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 19,
+ 20
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 20,
+ 21
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 21,
+ 22
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 22,
+ 23
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 23,
+ 24
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 24,
+ 25
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 25,
+ 26
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 26,
+ 27
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 18,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 27,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 26,
+ 21
+ ]
+ }
+ ]
+ },
+ "mol1": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "C",
+ "location": [
+ 27.480953216552736,
+ 0.8088204860687256,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 28.865947723388673,
+ 0.007840156555175782,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 28.864667892456056,
+ -1.592200517654419,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 30.25222396850586,
+ 0.8065805435180664,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 31.6372184753418,
+ 0.0056002140045166019,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 33.02349472045899,
+ 0.8043403625488281,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 33.02477264404297,
+ 2.404381036758423,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 34.40848922729492,
+ 0.0033600330352783205,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 35.79476547241211,
+ 0.802100419998169,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 37.17975997924805,
+ 0.0011200904846191409,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 37.17848205566406,
+ -1.5989205837249756,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 38.5634765625,
+ -2.3999009132385256,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 39.94974899291992,
+ -1.6011606454849244,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 41.33474349975586,
+ -2.402141094207764,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 42.72101974487305,
+ -1.603400707244873,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 44.10601806640625,
+ -2.404381036758423,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 42.7223014831543,
+ -0.0033600330352783205,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 39.95103073120117,
+ -0.0011200904846191409,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 38.56603622436524,
+ 0.7998602390289307,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 3
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 13,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 14,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 17
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 18,
+ 9
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/2558-missed.cdxml b/api/tests/integration/tests/formats/ref/2558-missed.cdxml
new file mode 100644
index 0000000000..8178562708
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/2558-missed.cdxml
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+ F
+
+
+
+
+
+
+ F
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+
+ Cl
+
+
+
+
+
+ Cl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ F
+
+
+
+
+
+ SH
+
+
+
+
+
+
+
+ SH
+
+
+
+
+
+
+
+ SH
+
+
+
+
+
+
+
+ SH
+
+
+
+
+ F
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TlH
+ 3
+
+
+
+
+
+
+ DyH
+ 2
+
+
+
+
+
+
+ Br
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+ N
+
+
+
+
+
+
+ N
+
+
+
+
+
+
+
+
+
+ Cl
+
+
+
+
+
+
+ Cl
+
+
+
+
+
+ Cl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api/tests/integration/tests/formats/ref/2558-missed.ket b/api/tests/integration/tests/formats/ref/2558-missed.ket
new file mode 100644
index 0000000000..00c8806b86
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/2558-missed.ket
@@ -0,0 +1,1389 @@
+{
+ "root": {
+ "nodes": [
+ {
+ "$ref": "mol0"
+ },
+ {
+ "$ref": "mol1"
+ },
+ {
+ "$ref": "mol2"
+ },
+ {
+ "$ref": "mol3"
+ },
+ {
+ "$ref": "mol4"
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "open-angle",
+ "pos": [
+ {
+ "x": -0.06248209998011589,
+ "y": -5.0861005783081059,
+ "z": 0.0
+ },
+ {
+ "x": -0.06248209998011589,
+ "y": -7.050129413604736,
+ "z": 0.0
+ }
+ ]
+ }
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "retrosynthetic",
+ "pos": [
+ {
+ "x": 14.872885704040528,
+ "y": -4.188792705535889,
+ "z": 0.0
+ },
+ {
+ "x": 8.547836303710938,
+ "y": -4.188792705535889,
+ "z": 0.0
+ }
+ ]
+ }
+ },
+ {
+ "type": "arrow",
+ "data": {
+ "mode": "retrosynthetic",
+ "pos": [
+ {
+ "x": -1.534999966621399,
+ "y": 1.774999976158142,
+ "z": 0.0
+ },
+ {
+ "x": -3.359999895095825,
+ "y": 3.4749999046325685,
+ "z": 0.0
+ }
+ ]
+ }
+ },
+ {
+ "type": "plus",
+ "location": [
+ -3.6633920669555666,
+ 4.565669059753418,
+ 0.0
+ ]
+ }
+ ]
+ },
+ "mol0": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Tl",
+ "location": [
+ -5.667436122894287,
+ 4.515568256378174,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": []
+ },
+ "mol1": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Dy",
+ "location": [
+ -2.5862183570861818,
+ 4.565669059753418,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": []
+ },
+ "mol2": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "F",
+ "location": [
+ -2.8236424922943117,
+ -9.034830093383788,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.0898419618606568,
+ -9.03434467315674,
+ 0.0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ -1.9551013708114625,
+ -8.533711433410645,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.0898419618606568,
+ -10.03731155395508,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.8236424922943117,
+ -10.041808128356934,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.952913522720337,
+ -10.537821769714356,
+ 0.0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ -0.2235978990793228,
+ -8.534960746765137,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6453394293785095,
+ -9.036307334899905,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.21742963790893556,
+ -10.540663719177246,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6475469470024109,
+ -10.034232139587405,
+ 0.0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ 1.506129503250122,
+ -8.537528038024903,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.371801853179932,
+ -9.034442901611329,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.5166810750961304,
+ -10.533133506774905,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.376194477081299,
+ -10.027345657348633,
+ 0.0
+ ]
+ },
+ {
+ "label": "S",
+ "location": [
+ 3.2271664142608644,
+ -8.536275863647461,
+ 0.0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 4.089580535888672,
+ -9.028786659240725,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.242057323455811,
+ -10.521825790405274,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.096136569976807,
+ -10.016688346862792,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.5220037698745728,
+ -11.531675338745118,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.21101999282836918,
+ -11.54720687866211,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.6624903082847595,
+ -12.037464141845704,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.957665920257568,
+ -10.502829551696778,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.968377113342285,
+ -11.495275497436524,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.2528109550476076,
+ -11.518240928649905,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 4.11970329284668,
+ -11.999753952026368,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.9477702379226685,
+ -11.53682327270508,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.81274676322937,
+ -12.043253898620606,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -3.692078113555908,
+ -10.550264358520508,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -3.680189609527588,
+ -11.551650047302246,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 2,
+ "atoms": [
+ 2,
+ 0
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 4
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 3
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 3,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 9,
+ 7
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 7,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 1
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 9,
+ 12
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 13,
+ 11
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 11,
+ 10
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 10,
+ 7
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 15
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 15,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 14,
+ 11
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 19
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 18
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 18,
+ 12
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 16,
+ 23
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 23,
+ 24
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 22,
+ 21
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 21,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 27
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 27,
+ 28
+ ]
+ },
+ {
+ "type": 2,
+ "atoms": [
+ 26,
+ 25
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 25,
+ 5
+ ]
+ }
+ ]
+ },
+ "mol3": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "Br",
+ "location": [
+ -3.8645589351654059,
+ -3.479857444763184,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.996782541275025,
+ -2.978847026824951,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.996782064437866,
+ -1.9768248796463013,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.1290054321289064,
+ -1.4758137464523316,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.2612285614013672,
+ -1.97682523727417,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.3934522271156311,
+ -1.4758142232894898,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 0.474324494600296,
+ -1.9768253564834598,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.3421008586883546,
+ -1.4758142232894898,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 1.342100977897644,
+ -0.47379210591316225,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 0.474324494600296,
+ 0.027218900620937349,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -0.4410681426525116,
+ -0.3803401291370392,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.111552119255066,
+ 0.3643074631690979,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ -0.6105409860610962,
+ 1.2320839166641236,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 0.3695844411849976,
+ 1.0237514972686768,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.2098774909973146,
+ -1.9768253564834598,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.0776541233062746,
+ -1.4758142232894898,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.9454305171966554,
+ -1.9768253564834598,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.9454305171966554,
+ -2.97884750366211,
+ 0.0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 4.813206672668457,
+ -3.479858636856079,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 3.0776541233062746,
+ -3.4798583984375,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 2.2098774909973146,
+ -2.97884750366211,
+ 0.0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 1.342100977897644,
+ -3.479858636856079,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -1.2612287998199463,
+ -2.978847026824951,
+ 0.0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ -0.39345255494117739,
+ -3.479858160018921,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ -2.129005670547486,
+ -3.4798583984375,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 2,
+ 3
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 13,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 14
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 15,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 19,
+ 20
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 20,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 21
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 4,
+ 22
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 22,
+ 23
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 22,
+ 24
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 24,
+ 1
+ ]
+ }
+ ]
+ },
+ "mol4": {
+ "type": "molecule",
+ "atoms": [
+ {
+ "label": "N",
+ "location": [
+ 16.604873657226564,
+ -6.321215629577637,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.4208984375,
+ -5.52121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 17.4208984375,
+ -4.52121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.286924362182618,
+ -4.02121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.152950286865236,
+ -4.52121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.01897430419922,
+ -4.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "O",
+ "location": [
+ 20.885000228881837,
+ -4.521216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 21.751026153564458,
+ -4.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 21.751026153564458,
+ -3.021216630935669,
+ 0.0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 20.885000228881837,
+ -2.521216630935669,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.971454620361329,
+ -2.9279532432556154,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.30232429504395,
+ -2.184808254241944,
+ 0.0
+ ]
+ },
+ {
+ "label": "F",
+ "location": [
+ 19.80232429504395,
+ -1.3187830448150638,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 20.78047370910645,
+ -1.5266950130462649,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.61704826354981,
+ -4.521216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.483076095581056,
+ -4.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 24.349102020263673,
+ -4.521216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 24.349102020263673,
+ -5.521216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "N",
+ "location": [
+ 25.21512794494629,
+ -6.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 23.483076095581056,
+ -6.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.61705207824707,
+ -5.521216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 21.751026153564458,
+ -6.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.152950286865236,
+ -5.52121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "Cl",
+ "location": [
+ 20.01897430419922,
+ -6.02121639251709,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 18.286924362182618,
+ -6.021216869354248,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 19.760154724121099,
+ -6.987142086029053,
+ 0.0
+ ]
+ },
+ {
+ "label": "C",
+ "location": [
+ 22.00984382629395,
+ -6.987143039703369,
+ 0.0
+ ]
+ }
+ ],
+ "bonds": [
+ {
+ "type": 1,
+ "atoms": [
+ 0,
+ 1
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 1,
+ 2
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 2,
+ 3
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 3,
+ 4
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 4,
+ 5
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 5,
+ 6
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 6,
+ 7
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 8
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 8,
+ 9
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 9,
+ 10
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 10,
+ 11
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 11,
+ 12
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 12,
+ 13
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 13,
+ 9
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 7,
+ 14
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 14,
+ 15
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 15,
+ 16
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 16,
+ 17
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 17,
+ 18
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 17,
+ 19
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 19,
+ 20
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 20,
+ 14
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 20,
+ 21
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 4,
+ 22
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 22,
+ 23
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 22,
+ 24
+ ]
+ },
+ {
+ "type": 4,
+ "atoms": [
+ 24,
+ 1
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 23,
+ 21
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 23,
+ 25
+ ]
+ },
+ {
+ "type": 1,
+ "atoms": [
+ 21,
+ 26
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.b64cdx b/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.b64cdx
index 3ebe38ce91..d0851ae020 100644
--- a/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.b64cdx
+++ b/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.b64cdx
@@ -1 +1 @@
-VmpDRDAxMDAEAwIBAAAAAAAAAAAAAAAAAAAAAAUIBAAAAB4AGggCAAMAGwgCAAQAAAEkAAAAAgACAOn9BQBBcmlhbAMA6f0PAFRpbWVzIE5ldyBSb21hbgADMgAIAP///////wAAAAAAAP//AAAAAP////8AAAAA//8AAAAA/////wAAAAD/////AAD//wGAAAAAABAIAgABAA8IAgABAAOABAAAAASABQAAAAACCADFGc4AZATuAAAABIAGAAAAAAIIAMkZsABkBO4AAAAEgAcAAAAAAggAyxmhAFYJ1AAAAASACAAAAAIEAgAHACsEAgACAAACCADLGaEAev8HAQaAAAAAAAACCADLGaEAev8HASMIAQAAAAcZAAIAAAADAGAAyAAAAAIAAwAgAMgAAABOSDIAAAAABYAZAAAABAYEAAUAAAAFBgQABgAAAAAABYAaAAAABAYEAAYAAAAFBgQABwAAAAAABYAbAAAABAYEAAYAAAAFBgQACAAAAAAAAAADgAkAAAAEgAoAAAACBAIACAArBAIAAQAAAggAyRmwAII/fAEGgAAAAAAAAggAyRmwAII/fAEjCAEAAAAHDgABAAAAAwBgAMgAAABPSAAAAAAEgAsAAAAAAggAxxm/AGI6lgEAAASADAAAAAIEAgAIACsEAgABAAACCADJGbAAuDWwAQaAAAAAAAACCADJGbAAuDWwASMIAQAAAAcOAAEAAAADAGAAyAAAAE9IAAAAAAWAHAAAAAQGBAAKAAAABQYEAAsAAAAAAAWAHQAAAAQGBAALAAAABQYEAAwAAAAAAAAAA4ANAAAABIAOAAAAAAIIAHsEnACQ32gCAAAEgA8AAAAAAggAuqatAJgkgQIAAASAEAAAAAACCAAWL8oAgN93AgAABIARAAAAAAIIABYvygCc31kCAAAEgBIAAAAAAggAuqatAISaUAIAAAWAHgAAAAQGBAAOAAAABQYEABIAAAAAAAWAHwAAAAQGBAASAAAABQYEABEAAAAAAAWAIAAAAAQGBAARAAAABQYEABAAAAAAAAWAIQAAAAQGBAAQAAAABQYEAA8AAAAAAAWAIgAAAAQGBAAPAAAABQYEAA4AAAAAAAAAIYATAAAABAIQAMcZswDuIFcBxxmzAPRVIwE3CgIAAAA1CgIAAgAvCgIAAwAgCgIAWAIwCgIAWAIxCgIAlgAzCgIAWAIHAgwA7iBXAccZswAAAAAACAIMAPRVIwHHGbMAAAAAAAAAB4AjAAAAEwAEABMAAAAACgIAAQACCgIAIAAgCgIAWAIEAhAAxxmzAO4gVwHHGbMA9FUjAQAAIYAWAAAABAIQAG8urgD0VyQCby6uAFqT7gE3CgIAAAAvCgIAAQAgCgIAyggxCgIAMwI1CgIAAgAwCgIAGQAHAgwA9FckAm8urgAAAAAACAIMAFqT7gFvLq4AAAAAAAAADYAAAAAADoAAAAAAAQwEAAQAAAACDAQADQAAAAQMBAAjAAAAAAAOgAAAAAABDAQACQAAAAIMBAAEAAAABAwEABYAAAAAAAAAAAAAAAAA
\ No newline at end of file
+VmpDRDAxMDAEAwIBAAAAAAAAAAAAAAAAAAAAAAUIBAAAAB4AGggCAAMAGwgCAAQAAAEkAAAAAgACAOn9BQBBcmlhbAMA6f0PAFRpbWVzIE5ldyBSb21hbgADMgAIAP///////wAAAAAAAP//AAAAAP////8AAAAA//8AAAAA/////wAAAAD/////AAD//wGAAAAAABAIAgABAA8IAgABAAOABAAAAASABQAAAAIEAgAIACsEAgABAAACCADJGbAAgj98AQaAAAAAAAACCADJGbAAgj98ASMIAQAAAAcOAAEAAAADAGAAyAAAAE9IAAAAAASABgAAAAACCADHGb8AYjqWAQAABIAHAAAAAgQCAAgAKwQCAAEAAAIIAMkZsAC4NbABBoAAAAAAAAIIAMkZsAC4NbABIwgBAAAABw4AAQAAAAMAYADIAAAAT0gAAAAABYAZAAAABAYEAAUAAAAFBgQABgAAAAAABYAaAAAABAYEAAYAAAAFBgQABwAAAAAAAAADgAgAAAAEgAkAAAAAAggAxRnOAGQE7gAAAASACgAAAAACCADJGbAAZATuAAAABIALAAAAAAIIAMsZoQBWCdQAAAAEgAwAAAACBAIABwArBAIAAgAAAggAyxmhAHr/BwEGgAAAAAAAAggAyxmhAHr/BwEjCAEAAAAHGQACAAAAAwBgAMgAAAACAAMAIADIAAAATkgyAAAAAAWAGwAAAAQGBAAJAAAABQYEAAoAAAAAAAWAHAAAAAQGBAAKAAAABQYEAAsAAAAAAAWAHQAAAAQGBAAKAAAABQYEAAwAAAAAAAAAA4ANAAAABIAOAAAAAAIIAHsEnACQ32gCAAAEgA8AAAAAAggAuqatAJgkgQIAAASAEAAAAAACCAAWL8oAgN93AgAABIARAAAAAAIIABYvygCc31kCAAAEgBIAAAAAAggAuqatAISaUAIAAAWAHgAAAAQGBAAOAAAABQYEABIAAAAAAAWAHwAAAAQGBAASAAAABQYEABEAAAAAAAWAIAAAAAQGBAARAAAABQYEABAAAAAAAAWAIQAAAAQGBAAQAAAABQYEAA8AAAAAAAWAIgAAAAQGBAAPAAAABQYEAA4AAAAAAAAAIYATAAAABAIQAMcZswDuIFcBxxmzAPRVIwE3CgIAAAA1CgIAAgAvCgIAAwAgCgIAWAIwCgIAWAIxCgIAlgAzCgIAWAIHAgwA7iBXAccZswAAAAAACAIMAPRVIwHHGbMAAAAAAAAAB4AjAAAAEwAEABMAAAAACgIAAQACCgIAIAAgCgIAWAIEAhAAxxmzAO4gVwHHGbMA9FUjAQAAIYAWAAAABAIQAG8urgD0VyQCby6uAFqT7gE3CgIAAAAvCgIAAQAgCgIAyggxCgIAMwI1CgIAAgAwCgIAGQAHAgwA9FckAm8urgAAAAAACAIMAFqT7gFvLq4AAAAAAAAADYAAAAAADoAAAAAAAQwEAAQAAAACDAQACAAAAAQMBAAjAAAAAAAOgAAAAAABDAQACAAAAAIMBAANAAAABAwEABYAAAAAAAAAAAAAAAAA
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.cdxml b/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.cdxml
index 32fa979257..5b4c946057 100644
--- a/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.cdxml
+++ b/api/tests/integration/tests/formats/ref/ket_retro_arrow_and_simple_arrow.cdxml
@@ -18,33 +18,33 @@
-
-
-
-
-
- NH
- 2
-
-
-
-
-
-
-
-
+
OH
-
-
+
+
OH
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
-
+
@@ -62,8 +62,8 @@
-
-
+
+
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.b64cdx b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.b64cdx
index 93638d480d..6f97122a37 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.b64cdx
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.b64cdx
@@ -1 +1 @@
-VmpDRDAxMDAEAwIBAAAAAAAAAAAAAAAAAAAAAAUIBAAAAB4AGggCAAMAGwgCAAQAAAEkAAAAAgACAOn9BQBBcmlhbAMA6f0PAFRpbWVzIE5ldyBSb21hbgADMgAIAP///////wAAAAAAAP//AAAAAP////8AAAAA//8AAAAA/////wAAAAD/////AAD//wGAAAAAABAIAgABAA8IAgABAAOABAAAAASABQAAAAACCAALVtYA1E6sAgAABIAGAAAAAAIIAEv45wDck8QCAAAEgAcAAAAAAggAqIAEAchOuwIAAASACAAAAAACCACogAQB4E6dAgAABIAJAAAAAAIIAEv45wDICZQCAAAFgCIAAAAEBgQABQAAAAUGBAAJAAAAAAAFgCMAAAAEBgQACQAAAAUGBAAIAAAAAAAFgCQAAAAEBgQACAAAAAUGBAAHAAAAAAAFgCUAAAAEBgQABwAAAAUGBAAGAAAAAAAFgCYAAAAEBgQABgAAAAUGBAAFAAAAAAAAAAOACgAAAASACwAAAAACCABlUdYAMM8TAwAABIAMAAAAAAIIAE6FBAEs0iIDAAAEgA0AAAAAAggAPCLoACAZLAMAAASADgAAAAACCABOhQQBOMwEAwAABIAPAAAAAAIIADwi6AB8hPsCAAAFgCcAAAAEBgQACwAAAAUGBAAPAAAAAAAFgCgAAAAEBgQADwAAAAUGBAAOAAAAAAYCAAIAAAAFgCkAAAAEBgQADgAAAAUGBAAMAAAAAAAFgCoAAAAEBgQADAAAAAUGBAANAAAAAAYCAAIAAAAFgCsAAAAEBgQADQAAAAUGBAALAAAAAAAAAAOAEAAAAASAEQAAAAACCABWawgBqHMxAQAABIASAAAAAAIIAFpr6gCoczEBAAAEgBMAAAAAAggAW2vbAJp4FwEAAASAFAAAAAIEAgAHACsEAgACAAACCABba9sAvG5LAQaAAAAAAAACCABba9sAvG5LASMIAQAAAAcZAAIAAAADAGAAyAAAAAIAAwAgAMgAAABOSDIAAAAABYAsAAAABAYEABEAAAAFBgQAEgAAAAAABYAtAAAABAYEABIAAAAFBgQAEwAAAAAABYAuAAAABAYEABIAAAAFBgQAFAAAAAAAAAADgBUAAAAEgBYAAAACBAIACAArBAIAAQAAAggAWmvqAMiuvwEGgAAAAAAAAggAWmvqAMiuvwEjCAEAAAAHDgABAAAAAwBgAMgAAABPSAAAAAAEgBcAAAAAAggAWGv5AKap2QEAAASAGAAAAAIEAgAIACsEAgABAAACCABaa+oA/KTzAQaAAAAAAAACCABaa+oA/KTzASMIAQAAAAcOAAEAAAADAGAAyAAAAE9IAAAAAAWALwAAAAQGBAAWAAAABQYEABcAAAAAAAWAMAAAAAQGBAAXAAAABQYEABgAAAAAAAAAIYAZAAAABAIQAFhr7QA0kJoBWGvtADrFZgE3CgIAAAAvCgIAAQAgCgIAyggxCgIAMwI1CgIAAgAwCgIAGQAHAgwANJCaAVhr7QAAAAAACAIMADrFZgFYa+0AAAAAAAAAIYAcAAAABAIQAP//7AD4wHAC///sAABAJwI3CgIAAAA1CgIAAgAvCgIAAwAgCgIAWAIwCgIAWAIxCgIAlgAzCgIAWAIHAgwA+MBwAv//7AAAAAAACAIMAABAJwL//+wAAAAAAAAAB4AxAAAAEwAEABwAAAAACgIAAQACCgIAIAAgCgIAWAIEAhAA///sAPjAcAL//+wAAEAnAgAAB4AfAAAABAIQAFpr+QDMjuECWuvxAMyO4QIACgIABwAHCgIACAAAAA2AAAAAAA6AAAAAAAEMCAAEAAAACgAAAAIMBAAVAAAABAwEABkAAAAAAA6AAAAAAAEMBAAQAAAAAgwEABUAAAAEDAQAMQAAAAAAAAAAAAAAAAA=
\ No newline at end of file
+VmpDRDAxMDAEAwIBAAAAAAAAAAAAAAAAAAAAAAUIBAAAAB4AGggCAAMAGwgCAAQAAAEkAAAAAgACAOn9BQBBcmlhbAMA6f0PAFRpbWVzIE5ldyBSb21hbgADMgAIAP///////wAAAAAAAP//AAAAAP////8AAAAA//8AAAAA/////wAAAAD/////AAD//wGAAAAAABAIAgABAA8IAgABAAOABAAAAASABQAAAAACCABWawgBqHMxAQAABIAGAAAAAAIIAFpr6gCoczEBAAAEgAcAAAAAAggAW2vbAJp4FwEAAASACAAAAAIEAgAHACsEAgACAAACCABba9sAvG5LAQaAAAAAAAACCABba9sAvG5LASMIAQAAAAcZAAIAAAADAGAAyAAAAAIAAwAgAMgAAABOSDIAAAAABYAiAAAABAYEAAUAAAAFBgQABgAAAAAABYAjAAAABAYEAAYAAAAFBgQABwAAAAAABYAkAAAABAYEAAYAAAAFBgQACAAAAAAAAAADgAkAAAAEgAoAAAAAAggAC1bWANROrAIAAASACwAAAAACCABL+OcA3JPEAgAABIAMAAAAAAIIAKiABAHITrsCAAAEgA0AAAAAAggAqIAEAeBOnQIAAASADgAAAAACCABL+OcAyAmUAgAABYAlAAAABAYEAAoAAAAFBgQADgAAAAAABYAmAAAABAYEAA4AAAAFBgQADQAAAAAABYAnAAAABAYEAA0AAAAFBgQADAAAAAAABYAoAAAABAYEAAwAAAAFBgQACwAAAAAABYApAAAABAYEAAsAAAAFBgQACgAAAAAAAAADgA8AAAAEgBAAAAAAAggAZVHWADDPEwMAAASAEQAAAAACCABOhQQBLNIiAwAABIASAAAAAAIIADwi6AAgGSwDAAAEgBMAAAAAAggAToUEATjMBAMAAASAFAAAAAACCAA8IugAfIT7AgAABYAqAAAABAYEABAAAAAFBgQAFAAAAAAABYArAAAABAYEABQAAAAFBgQAEwAAAAAGAgACAAAABYAsAAAABAYEABMAAAAFBgQAEQAAAAAABYAtAAAABAYEABEAAAAFBgQAEgAAAAAGAgACAAAABYAuAAAABAYEABIAAAAFBgQAEAAAAAAAAAADgBUAAAAEgBYAAAACBAIACAArBAIAAQAAAggAWmvqAMiuvwEGgAAAAAAAAggAWmvqAMiuvwEjCAEAAAAHDgABAAAAAwBgAMgAAABPSAAAAAAEgBcAAAAAAggAWGv5AKap2QEAAASAGAAAAAIEAgAIACsEAgABAAACCABaa+oA/KTzAQaAAAAAAAACCABaa+oA/KTzASMIAQAAAAcOAAEAAAADAGAAyAAAAE9IAAAAAAWALwAAAAQGBAAWAAAABQYEABcAAAAAAAWAMAAAAAQGBAAXAAAABQYEABgAAAAAAAAAIYAZAAAABAIQAFhr7QA0kJoBWGvtADrFZgE3CgIAAAAvCgIAAQAgCgIAyggxCgIAMwI1CgIAAgAwCgIAGQAHAgwANJCaAVhr7QAAAAAACAIMADrFZgFYa+0AAAAAAAAAIYAcAAAABAIQAP//7AD4wHAC///sAABAJwI3CgIAAAA1CgIAAgAvCgIAAwAgCgIAWAIwCgIAWAIxCgIAlgAzCgIAWAIHAgwA+MBwAv//7AAAAAAACAIMAABAJwL//+wAAAAAAAAAB4AxAAAAEwAEABwAAAAACgIAAQACCgIAIAAgCgIAWAIEAhAA///sAPjAcAL//+wAAEAnAgAAB4AfAAAABAIQAFpr+QDMjuECWuvxAMyO4QIACgIABwAHCgIACAAAAA2AAAAAAA6AAAAAAAEMBAAEAAAAAgwEABUAAAAEDAQAGQAAAAAADoAAAAAAAQwIAAkAAAAPAAAAAgwEABUAAAAEDAQAMQAAAAAAAAAAAAAAAAA=
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cdxml b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cdxml
index a72a9a8af9..a795d4ecc4 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cdxml
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cdxml
@@ -18,42 +18,42 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
NH
2
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -75,8 +75,8 @@
-
-
+
+
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cml b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cml
index e3758cd197..a72e11c694 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cml
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.cml
@@ -2,6 +2,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -38,19 +51,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smarts b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smarts
index 3168821c16..ef43a39c45 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smarts
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smarts
@@ -1 +1 @@
-[#6]1-[#6]-[#6]-[#6]-[#6]-1.[#6]1-[#6]=[#6]-[#6]=[#6]-1.[#6]-[#6](-[#7])-[#6]>>[#8]-[#6]-[#8]
\ No newline at end of file
+[#6]-[#6](-[#7])-[#6].[#6]1-[#6]-[#6]-[#6]-[#6]-1.[#6]1-[#6]=[#6]-[#6]=[#6]-1>>[#8]-[#6]-[#8]
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smi b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smi
index aab9da2128..1ad2aa86f0 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smi
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products.smi
@@ -1 +1 @@
-C1CCCC1.C1C=CC=C1.CC(N)C>>OCO
\ No newline at end of file
+CC(N)C.C1CCCC1.C1C=CC=C1>>OCO
\ No newline at end of file
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_2000.rxn b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_2000.rxn
index 2a4d964e8a..564592aaf7 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_2000.rxn
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_2000.rxn
@@ -7,6 +7,19 @@ $MOL
-INDIGO-01000000002D
+ 4 3 0 0 0 0 0 0 0 0999 V2000
+ 10.1817 -8.8140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.1817 -7.8140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.3157 -7.3140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.0478 -7.3140 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 2 4 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
5 5 0 0 0 0 0 0 0 0999 V2000
22.8103 -7.1445 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
23.6193 -7.7323 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -39,19 +52,6 @@ $MOL
-INDIGO-01000000002D
- 4 3 0 0 0 0 0 0 0 0999 V2000
- 10.1817 -8.8140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.1817 -7.8140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.3157 -7.3140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.0478 -7.3140 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 2 4 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
3 2 0 0 0 0 0 0 0 0999 V2000
14.9228 -7.8140 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
15.7888 -8.3140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
diff --git a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_3000.rxn b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_3000.rxn
index c8eae2944a..2514843869 100644
--- a/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_3000.rxn
+++ b/api/tests/integration/tests/formats/ref/ket_simple_arrow_retro_arrow_sum_of_products_3000.rxn
@@ -5,6 +5,20 @@ $RXN V3000
M V30 COUNTS 3 1
M V30 BEGIN REACTANT
M V30 BEGIN CTAB
+M V30 COUNTS 4 3 0 0 0
+M V30 BEGIN ATOM
+M V30 1 C 10.1817 -8.81398 0.0 0
+M V30 2 C 10.1817 -7.81398 0.0 0
+M V30 3 C 9.3157 -7.31398 0.0 0
+M V30 4 N 11.0478 -7.31398 0.0 0
+M V30 END ATOM
+M V30 BEGIN BOND
+M V30 1 1 1 2
+M V30 2 1 2 3
+M V30 3 1 2 4
+M V30 END BOND
+M V30 END CTAB
+M V30 BEGIN CTAB
M V30 COUNTS 5 5 0 0 0
M V30 BEGIN ATOM
M V30 1 C 22.8103 -7.14454 0.0 0
@@ -38,20 +52,6 @@ M V30 4 2 2 3
M V30 5 1 3 1
M V30 END BOND
M V30 END CTAB
-M V30 BEGIN CTAB
-M V30 COUNTS 4 3 0 0 0
-M V30 BEGIN ATOM
-M V30 1 C 10.1817 -8.81398 0.0 0
-M V30 2 C 10.1817 -7.81398 0.0 0
-M V30 3 C 9.3157 -7.31398 0.0 0
-M V30 4 N 11.0478 -7.31398 0.0 0
-M V30 END ATOM
-M V30 BEGIN BOND
-M V30 1 1 1 2
-M V30 2 1 2 3
-M V30 3 1 2 4
-M V30 END BOND
-M V30 END CTAB
M V30 END REACTANT
M V30 BEGIN PRODUCT
M V30 BEGIN CTAB
diff --git a/api/tests/integration/tests/formats/ref/multi_overlap.cdxml b/api/tests/integration/tests/formats/ref/multi_overlap.cdxml
index b8b04bc8d1..ee59976467 100644
--- a/api/tests/integration/tests/formats/ref/multi_overlap.cdxml
+++ b/api/tests/integration/tests/formats/ref/multi_overlap.cdxml
@@ -18,88 +18,88 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- O
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
NH
2
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
ClH
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/api/tests/integration/tests/formats/ref/pathway1.cdxml b/api/tests/integration/tests/formats/ref/pathway1.cdxml
index 1e95025aa6..62e8365daa 100644
--- a/api/tests/integration/tests/formats/ref/pathway1.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway1.cdxml
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -32,11 +32,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -44,13 +44,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -60,13 +60,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -76,14 +76,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -94,15 +94,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/api/tests/integration/tests/formats/ref/pathway1.rdf b/api/tests/integration/tests/formats/ref/pathway1.rdf
index d3cff0b676..2a300e5499 100644
--- a/api/tests/integration/tests/formats/ref/pathway1.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway1.rdf
@@ -3,66 +3,6 @@ $DATM 01/00/00 00:00
$RDFILE 1
$DATM 01/00/00 00:00
$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9206 13.6931 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4210 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4203 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1109 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 9.1529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 9.1534 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8668 9.6530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 8.1524 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 8.1479 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8690 7.6529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 3 1 2 0 0 0 0
- 1 5 1 0 0 0 0
- 5 6 2 0 0 0 0
- 6 4 1 0 0 0 0
- 4 2 2 0 0 0 0
- 2 3 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 7 7 0 0 0 0 0 0 0 0999 V2000
- 5.7891 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7891 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 9.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.3872 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 5 7 1 0 0 0 0
-M END
-$RFMT
$RXN
-INDIGO- 0100000000
@@ -154,3 +94,63 @@ $MOL
6 8 2 0 0 0 0
4 9 1 0 0 0 0
M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.9206 13.6931 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4210 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4203 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1109 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 9.1529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 9.1534 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8668 9.6530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 8.1524 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 8.1479 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8690 7.6529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 1 2 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 6 2 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 2 2 0 0 0 0
+ 2 3 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 5.7891 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7891 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 9.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.3872 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 5 7 1 0 0 0 0
+M END
diff --git a/api/tests/integration/tests/formats/ref/pathway10.cdxml b/api/tests/integration/tests/formats/ref/pathway10.cdxml
index 211ea1d8d8..e89971e211 100644
--- a/api/tests/integration/tests/formats/ref/pathway10.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway10.cdxml
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
F
@@ -34,11 +34,11 @@
-
-
-
-
-
+
+
+
+
+
Cl
@@ -48,11 +48,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -60,12 +60,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -74,11 +74,11 @@
-
-
-
-
-
+
+
+
+
+
OH
@@ -88,12 +88,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -102,12 +102,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
NH
2
@@ -119,13 +119,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
SH
@@ -137,12 +137,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
PH
2
@@ -154,42 +154,42 @@
-
-
+
+
OH
-
-
+
+
OH
-
-
+
+
OH
-
-
+
+
OH
-
-
+
+
O
-
-
+
+
OH
-
-
-
-
-
-
+
+
+
+
+
+
@@ -202,8 +202,8 @@
-
-
+
+
Chiral
diff --git a/api/tests/integration/tests/formats/ref/pathway10.rdf b/api/tests/integration/tests/formats/ref/pathway10.rdf
index 136f00f28c..024b45d7f9 100644
--- a/api/tests/integration/tests/formats/ref/pathway10.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway10.rdf
@@ -12,6 +12,54 @@ $MOL
-INDIGO-01000000002D
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 7.8497 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.8509 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.3504 2.5878 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.6092 3.5537 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+ 3 4 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 9.8367 11.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.8367 10.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.7027 10.4722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.5687 10.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.5687 11.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.7027 12.4722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 10.8653 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.8616 2.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.8534 1.7357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.8509 2.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.5687 3.4250 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+ 2 5 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
5 5 0 0 0 0 0 0 0 0999 V2000
1.7303 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7266 0.9951 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -76,49 +124,31 @@ $MOL
-INDIGO-01000000002D
- 4 4 0 0 0 0 0 0 0 0999 V2000
- 7.8497 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.8509 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.3504 2.5878 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.6092 3.5537 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 1 1 0 0 0 0
- 3 4 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 9.8367 11.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.8367 10.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.7027 10.4722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.5687 10.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.5687 11.9722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.7027 12.4722 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 10.8653 1.7228 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.8616 2.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.8534 1.7357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.8509 2.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.5687 3.4250 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
- 2 5 1 0 0 0 0
+ 12 12 0 0 1 0 0 0 0 0999 V2000
+ 19.5055 8.6403 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.5055 6.7652 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.6861 5.8247 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.8666 6.7651 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.6805 8.6403 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.0687 8.0460 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.5957 8.1812 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
+ 18.5957 7.2298 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
+ 17.6805 6.7651 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
+ 16.7709 7.2296 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
+ 16.7709 8.1811 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
+ 15.8666 8.6401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 12 1 0 0 0 0
+ 11 5 1 0 0 0 0
+ 5 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 9 1 0 0 0 0
+ 9 10 1 0 0 0 0
+ 10 11 1 0 0 0 0
+ 11 12 1 1 0 0 0
+ 7 1 1 6 0 0 0
+ 8 2 1 6 0 0 0
+ 9 3 1 6 0 0 0
+ 10 4 1 6 0 0 0
M END
$MOL
@@ -154,33 +184,3 @@ $MOL
3 1 1 0 0 0 0
2 5 1 0 0 0 0
M END
-$MOL
-
- -INDIGO-01000000002D
-
- 12 12 0 0 1 0 0 0 0 0999 V2000
- 19.5055 8.6403 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 19.5055 6.7652 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 17.6861 5.8247 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 15.8666 6.7651 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 17.6805 8.6403 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 15.0687 8.0460 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
- 18.5957 8.1812 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
- 18.5957 7.2298 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
- 17.6805 6.7651 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
- 16.7709 7.2296 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
- 16.7709 8.1811 0.0000 C 0 0 1 0 0 0 0 0 0 0 0 0
- 15.8666 8.6401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 12 1 0 0 0 0
- 11 5 1 0 0 0 0
- 5 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 9 1 0 0 0 0
- 9 10 1 0 0 0 0
- 10 11 1 0 0 0 0
- 11 12 1 1 0 0 0
- 7 1 1 6 0 0 0
- 8 2 1 6 0 0 0
- 9 3 1 6 0 0 0
- 10 4 1 6 0 0 0
-M END
diff --git a/api/tests/integration/tests/formats/ref/pathway11.cdxml b/api/tests/integration/tests/formats/ref/pathway11.cdxml
new file mode 100644
index 0000000000..563cfafb00
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/pathway11.cdxml
@@ -0,0 +1,484 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OH
+
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+ OH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cl
+
+
+
+
+
+ I
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ N
+
+
+
+
+
+ S
+
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+
+
+
+
+
+ OH
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NH
+
+
+
+
+
+ N
+
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+ OH
+
+
+
+
+
+ Cl
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ N
+
+
+
+
+
+
+ OH
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+ O
+
+
+
+
+
+
+
+ N
+
+
+
+
+
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NH
+
+
+
+
+
+
+ OH
+
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+ NH
+ 2
+
+
+
+
+ O
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api/tests/integration/tests/formats/ref/pathway11.rdf b/api/tests/integration/tests/formats/ref/pathway11.rdf
new file mode 100644
index 0000000000..1378b4e651
--- /dev/null
+++ b/api/tests/integration/tests/formats/ref/pathway11.rdf
@@ -0,0 +1,196 @@
+$RDFILE 1
+$DATM 01/00/00 00:00
+$RDFILE 1
+$DATM 01/00/00 00:00
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 3 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 6.8165 -9.8364 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.6255 -10.4242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.3165 -11.3753 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.3165 -11.3753 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0076 -10.4242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+ 2 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 6.9277 -12.1136 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.4281 -13.6537 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.7373 -12.7074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.4273 -13.6537 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.1180 -12.7074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 6.0616 -14.9114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0616 -15.9114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9277 -16.4114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.7937 -15.9114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.7937 -14.9114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9277 -14.4114 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 10.1458 -12.4392 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.8761 -12.4388 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.0126 -11.9391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.8761 -13.4397 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.1458 -13.4442 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.0148 -13.9392 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 1 2 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 6 2 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 2 2 0 0 0 0
+ 2 3 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 9.0467 -21.2520 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.0430 -20.2569 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.0348 -21.2391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.0323 -20.2569 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 3 3 0 0 0 0 0 0 0 0999 V2000
+ 11.4363 -21.2511 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.4375 -21.2511 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.9370 -20.3861 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 16.6286 -21.7080 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 16.6288 -20.7055 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.3340 -20.0002 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.3342 -22.4134 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.3366 -22.4134 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.0420 -21.7080 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.0419 -20.7055 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.3366 -20.0001 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 8.4733 -24.9313 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.2823 -25.5191 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.9733 -26.4702 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.9733 -26.4702 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.6643 -25.5191 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+ 2 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 11.6427 -25.4083 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.4266 -24.7908 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.3996 -25.0133 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.8337 -25.9091 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.6482 -26.4155 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4003 -26.8162 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.4266 -27.0387 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 7 1 0 0 0 0
+ 7 6 1 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 17.0791 -26.3582 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.0793 -25.3557 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.7845 -24.6505 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.7847 -27.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7871 -27.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4924 -26.3582 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4923 -25.3557 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7871 -24.6504 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
diff --git a/api/tests/integration/tests/formats/ref/pathway2.cdxml b/api/tests/integration/tests/formats/ref/pathway2.cdxml
index 24740da2ac..d1652d6ad1 100644
--- a/api/tests/integration/tests/formats/ref/pathway2.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway2.cdxml
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -32,11 +32,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -44,13 +44,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -60,13 +60,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -76,15 +76,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/api/tests/integration/tests/formats/ref/pathway2.rdf b/api/tests/integration/tests/formats/ref/pathway2.rdf
index 8e25eb284e..e3139b414b 100644
--- a/api/tests/integration/tests/formats/ref/pathway2.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway2.rdf
@@ -12,66 +12,6 @@ $MOL
-INDIGO-01000000002D
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9206 8.9452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4210 7.4051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 8.3514 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4203 7.4051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1109 8.3514 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 4.4050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 4.4055 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8668 4.9051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 3.4045 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 3.4000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8690 2.9050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 3 1 2 0 0 0 0
- 1 5 1 0 0 0 0
- 5 6 2 0 0 0 0
- 6 4 1 0 0 0 0
- 4 2 2 0 0 0 0
- 2 3 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 7 7 0 0 0 0 0 0 0 0999 V2000
- 5.2303 6.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.2303 5.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0963 5.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9624 5.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9624 6.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0963 7.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.8284 7.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 5 7 1 0 0 0 0
-M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
7 7 0 0 0 0 0 0 0 0999 V2000
5.2303 6.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.2303 5.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -132,3 +72,63 @@ $MOL
6 8 2 0 0 0 0
4 9 1 0 0 0 0
M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.9206 8.9452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4210 7.4051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 8.3514 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4203 7.4051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1109 8.3514 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 4.4050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 4.4055 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8668 4.9051 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 3.4045 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 3.4000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8690 2.9050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 1 2 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 6 2 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 2 2 0 0 0 0
+ 2 3 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 5.2303 6.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.2303 5.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0963 5.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9624 5.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9624 6.5401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0963 7.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.8284 7.0401 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 5 7 1 0 0 0 0
+M END
diff --git a/api/tests/integration/tests/formats/ref/pathway3.cdxml b/api/tests/integration/tests/formats/ref/pathway3.cdxml
index 07a0db1abf..b49f31a2a5 100644
--- a/api/tests/integration/tests/formats/ref/pathway3.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway3.cdxml
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -32,11 +32,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -44,13 +44,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -60,15 +60,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -79,9 +79,9 @@
-
+
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway4.cdxml b/api/tests/integration/tests/formats/ref/pathway4.cdxml
index 693041a2dd..1ed864bed8 100644
--- a/api/tests/integration/tests/formats/ref/pathway4.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway4.cdxml
@@ -18,11 +18,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -30,13 +30,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -46,15 +46,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -65,8 +65,8 @@
-
-
+
+
diff --git a/api/tests/integration/tests/formats/ref/pathway5.cdxml b/api/tests/integration/tests/formats/ref/pathway5.cdxml
index 543aabc4ab..3987968848 100644
--- a/api/tests/integration/tests/formats/ref/pathway5.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway5.cdxml
@@ -18,13 +18,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -34,15 +34,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -53,7 +53,7 @@
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway6.cdxml b/api/tests/integration/tests/formats/ref/pathway6.cdxml
index 49426978b3..677e4eb1e9 100644
--- a/api/tests/integration/tests/formats/ref/pathway6.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway6.cdxml
@@ -18,12 +18,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -32,11 +32,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -44,13 +44,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -60,13 +60,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -76,14 +76,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -94,19 +94,19 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
@@ -114,15 +114,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -134,14 +134,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -152,22 +152,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -186,11 +186,11 @@
-
-
+
+
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway6.rdf b/api/tests/integration/tests/formats/ref/pathway6.rdf
index df5f611c61..7b7e755f8d 100644
--- a/api/tests/integration/tests/formats/ref/pathway6.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway6.rdf
@@ -7,60 +7,135 @@ $RXN
-INDIGO- 0100000000
- 2 1
+ 1 1
$MOL
-INDIGO-01000000002D
5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9206 13.6931 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4210 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4203 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1109 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5782 17.3950 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.3872 16.8072 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.0782 15.8561 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.0782 15.8561 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.7692 16.8072 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
+ 5 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+ 2 1 1 0 0 0 0
M END
$MOL
-INDIGO-01000000002D
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 9.1529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 9.1534 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8668 9.6530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 8.1524 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 8.1479 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8690 7.6529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 12.7773 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7775 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4826 17.8321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4828 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4852 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.1906 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.1905 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4852 17.8322 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 12.7773 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7775 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4826 17.8321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4828 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4852 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.1906 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.1905 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4852 17.8322 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 9 9 0 0 0 0 0 0 0 0999 V2000
+ 12.7532 6.8825 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4835 6.8830 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6200 7.3826 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4835 5.8821 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7532 5.8776 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6222 5.3826 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.8872 5.3776 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.9151 4.6755 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.1906 5.1750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
6 4 1 0 0 0 0
4 2 2 0 0 0 0
2 3 1 0 0 0 0
+ 5 7 1 0 0 0 0
+ 6 8 2 0 0 0 0
+ 4 9 1 0 0 0 0
M END
$MOL
-INDIGO-01000000002D
- 7 7 0 0 0 0 0 0 0 0999 V2000
- 5.7891 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7891 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 9.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.3872 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
+ 16 17 0 0 0 0 0 0 0 0999 V2000
+ 18.6906 9.2219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.6908 10.2244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3960 10.9296 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3962 8.5165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.3986 8.5165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 21.1040 9.2219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 21.1039 10.2244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.3986 10.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7740 12.4302 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7742 13.4327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4793 14.1380 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4795 11.7248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.4819 11.7248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 21.1873 12.4302 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 21.1872 13.4327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.4819 14.1381 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
4 5 1 0 0 0 0
5 6 1 0 0 0 0
- 5 7 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+ 10 9 1 0 0 0 0
+ 9 12 1 0 0 0 0
+ 12 13 1 0 0 0 0
+ 13 14 1 0 0 0 0
+ 14 15 1 0 0 0 0
+ 15 16 1 0 0 0 0
+ 16 11 1 0 0 0 0
+ 11 10 1 0 0 0 0
+ 12 3 1 0 0 0 0
M END
$RFMT
$RXN
@@ -193,133 +268,58 @@ $RXN
-INDIGO- 0100000000
- 1 1
+ 2 1
$MOL
-INDIGO-01000000002D
5 5 0 0 0 0 0 0 0 0999 V2000
- 7.5782 17.3950 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.3872 16.8072 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.0782 15.8561 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.0782 15.8561 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.7692 16.8072 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.9206 13.6931 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4210 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4203 12.1530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1109 13.0993 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 5 1 0 0 0 0
- 5 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 2 1 0 0 0 0
- 2 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 8 8 0 0 0 0 0 0 0 0999 V2000
- 12.7773 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7775 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4826 17.8321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4828 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4852 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.1906 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.1905 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4852 17.8322 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
-M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
- 8 8 0 0 0 0 0 0 0 0999 V2000
- 12.7773 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7775 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4826 17.8321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4828 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4852 15.4189 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.1906 16.1243 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.1905 17.1269 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4852 17.8322 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
M END
$MOL
-INDIGO-01000000002D
- 9 9 0 0 0 0 0 0 0 0999 V2000
- 12.7532 6.8825 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4835 6.8830 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6200 7.3826 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4835 5.8821 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7532 5.8776 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6222 5.3826 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.8872 5.3776 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.9151 4.6755 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.1906 5.1750 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 9.1529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 9.1534 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8668 9.6530 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 8.1524 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 8.1479 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8690 7.6529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
6 4 1 0 0 0 0
4 2 2 0 0 0 0
2 3 1 0 0 0 0
- 5 7 1 0 0 0 0
- 6 8 2 0 0 0 0
- 4 9 1 0 0 0 0
M END
$MOL
-INDIGO-01000000002D
- 16 17 0 0 0 0 0 0 0 0999 V2000
- 18.6906 9.2219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.6908 10.2244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3960 10.9296 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3962 8.5165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.3986 8.5165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 21.1040 9.2219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 21.1039 10.2244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.3986 10.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.7740 12.4302 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.7742 13.4327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.4793 14.1380 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.4795 11.7248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.4819 11.7248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 21.1873 12.4302 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 21.1872 13.4327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.4819 14.1381 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 5.7891 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7891 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 9.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 10.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 11.2880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.3872 11.7880 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
4 5 1 0 0 0 0
5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
- 10 9 1 0 0 0 0
- 9 12 1 0 0 0 0
- 12 13 1 0 0 0 0
- 13 14 1 0 0 0 0
- 14 15 1 0 0 0 0
- 15 16 1 0 0 0 0
- 16 11 1 0 0 0 0
- 11 10 1 0 0 0 0
- 12 3 1 0 0 0 0
+ 5 7 1 0 0 0 0
M END
diff --git a/api/tests/integration/tests/formats/ref/pathway7.cdxml b/api/tests/integration/tests/formats/ref/pathway7.cdxml
index 4886913be3..df7e1c3743 100644
--- a/api/tests/integration/tests/formats/ref/pathway7.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway7.cdxml
@@ -18,11 +18,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -30,12 +30,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -44,13 +44,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -60,66 +60,66 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -196,73 +196,73 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -338,14 +338,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -355,9 +355,9 @@
-
+
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway7.rdf b/api/tests/integration/tests/formats/ref/pathway7.rdf
index 1d23e6b07a..76e1934e49 100644
--- a/api/tests/integration/tests/formats/ref/pathway7.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway7.rdf
@@ -165,60 +165,18 @@ $RXN
-INDIGO- 0100000000
- 3 1
-$MOL
-
- -INDIGO-01000000002D
-
- 7 7 0 0 0 0 0 0 0 0999 V2000
- 13.5150 8.9987 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.5113 9.9946 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.5023 9.0116 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.4998 9.9946 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.9648 10.4975 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.0916 10.6227 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6338 8.0370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
- 5 4 1 0 0 0 0
- 6 2 1 0 0 0 0
- 7 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 13.7708 4.0406 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.7671 5.0365 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7580 4.0535 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7555 5.0365 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.2206 5.4143 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6338 5.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
- 5 4 1 0 0 0 0
- 2 6 1 0 0 0 0
-M END
+ 2 1
$MOL
-INDIGO-01000000002D
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 14.6338 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6301 0.9959 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6210 0.0130 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6185 0.9959 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.6249 1.5406 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 3 0 0 0 0 0 0 0 0999 V2000
+ 32.6062 18.0032 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 32.1584 17.2274 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 33.0541 17.2274 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
+ 2 3 1 0 0 0 0
3 1 1 0 0 0 0
- 5 4 1 0 0 0 0
M END
$MOL
@@ -358,23 +316,87 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 37.7244 12.5030 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 38.5519 12.1602 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 38.8947 11.3327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 36.8969 12.1602 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 36.5541 11.3327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 36.8969 10.5052 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 37.7244 10.1624 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 38.5519 10.5052 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
$RFMT
$RXN
-INDIGO- 0100000000
- 2 1
+ 3 1
$MOL
-INDIGO-01000000002D
- 3 3 0 0 0 0 0 0 0 0999 V2000
- 32.6062 18.0032 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 32.1584 17.2274 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 33.0541 17.2274 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 13.5150 8.9987 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.5113 9.9946 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.5023 9.0116 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.4998 9.9946 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.9648 10.4975 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.0916 10.6227 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6338 8.0370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+ 5 4 1 0 0 0 0
+ 6 2 1 0 0 0 0
+ 7 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 13.7708 4.0406 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.7671 5.0365 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7580 4.0535 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7555 5.0365 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.2206 5.4143 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6338 5.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+ 5 4 1 0 0 0 0
+ 2 6 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 14.6338 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6301 0.9959 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6210 0.0130 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6185 0.9959 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.6249 1.5406 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
3 1 1 0 0 0 0
+ 5 4 1 0 0 0 0
M END
$MOL
@@ -514,25 +536,3 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
-$MOL
-
- -INDIGO-01000000002D
-
- 8 8 0 0 0 0 0 0 0 0999 V2000
- 37.7244 12.5030 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 38.5519 12.1602 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 38.8947 11.3327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 36.8969 12.1602 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 36.5541 11.3327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 36.8969 10.5052 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 37.7244 10.1624 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 38.5519 10.5052 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
-M END
diff --git a/api/tests/integration/tests/formats/ref/pathway8.cdxml b/api/tests/integration/tests/formats/ref/pathway8.cdxml
index 97709c65b6..a81eefbfd2 100644
--- a/api/tests/integration/tests/formats/ref/pathway8.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway8.cdxml
@@ -18,11 +18,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -30,12 +30,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -44,66 +44,66 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -180,12 +180,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -194,65 +194,65 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -328,11 +328,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -340,83 +340,83 @@
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -492,14 +492,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -509,12 +509,12 @@
-
-
-
-
+
+
+
+
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway8.rdf b/api/tests/integration/tests/formats/ref/pathway8.rdf
index 587cbbfd57..ba2e493c32 100644
--- a/api/tests/integration/tests/formats/ref/pathway8.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway8.rdf
@@ -12,24 +12,6 @@ $MOL
-INDIGO-01000000002D
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0017 14.7456 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 14.7461 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8684 15.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 13.7452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0017 13.7407 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8706 13.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 3 1 2 0 0 0 0
- 1 5 1 0 0 0 0
- 5 6 2 0 0 0 0
- 6 4 1 0 0 0 0
- 4 2 2 0 0 0 0
- 2 3 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
60 74 0 0 0 0 0 0 0 0999 V2000
10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -166,46 +148,24 @@ $MOL
52 59 1 0 0 0 0
56 43 1 0 0 0 0
M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
$MOL
-INDIGO-01000000002D
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8660 26.4988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8660 28.4989 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
+ 3 3 0 0 0 0 0 0 0 0999 V2000
+ 23.6769 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6782 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.1776 14.6782 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
+ 3 1 1 0 0 0 0
M END
-$MOL
+$RFMT
+$RXN
- -INDIGO-01000000002D
+ -INDIGO- 0100000000
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9282 23.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4250 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4315 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1243 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
+ 1 1
$MOL
-INDIGO-01000000002D
@@ -344,6 +304,20 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
$RFMT
$RXN
@@ -354,67 +328,82 @@ $MOL
-INDIGO-01000000002D
- 60 74 0 0 0 0 0 0 0 0999 V2000
- 10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.2051 10.4719 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.5214 9.7873 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.4561 11.2696 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.9167 10.5473 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.8066 10.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6323 11.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.2941 10.7500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.4830 11.6377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.6573 10.1642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.9955 10.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.4171 11.8978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.7820 11.3157 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.2676 12.0008 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.4459 10.5278 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0812 11.1099 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.5955 10.4248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.3143 12.7482 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5007 13.6391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.1646 12.8512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9864 14.3242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7999 13.4333 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.1359 14.2212 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.2195 15.9625 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0329 15.0716 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.8834 15.1746 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.5186 15.7567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.7051 16.6476 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.8547 16.5446 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.1638 12.4943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.8192 13.1214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.6725 13.1960 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4571 12.3450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.8018 11.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9485 11.6433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.2532 14.6765 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.5979 14.0494 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.7445 13.9748 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.9599 14.8257 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.6152 15.4528 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.4686 15.5275 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.0493 17.0079 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3940 16.3809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.5405 16.3062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.7560 17.1573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4113 17.7843 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.2647 17.8590 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.5489 17.3760 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.6862 18.3289 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.8425 18.1807 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.2364 17.6723 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.0990 16.7193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.9427 16.8674 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.0529 18.7042 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.3691 18.0194 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.9086 18.7418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.9738 17.2594 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6576 17.9442 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1180 17.2218 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.8097 4.8948 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.3101 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.6194 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3094 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 59 73 0 0 0 0 0 0 0 0999 V2000
+ 10.3580 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.4308 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.9467 0.7545 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.3262 0.0421 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.2534 1.5930 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.7375 0.8386 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6725 0.3391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4721 1.8787 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1279 1.0510 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.3611 1.9943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.5614 0.4547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.9056 1.2823 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0240 2.1739 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.4468 1.5522 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9149 2.2738 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.0878 0.7308 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.6651 1.3525 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.1970 0.6309 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.9241 3.0647 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.1739 3.9860 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.8150 3.1646 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6419 4.7076 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.3922 3.7863 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7512 4.6077 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9010 6.4198 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.6513 5.4985 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.5421 5.5984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.1194 6.2201 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.3690 7.1413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.4782 7.0414 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.0512 2.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.5013 3.0418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3025 3.4439 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4490 2.1469 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.9990 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.1978 1.6542 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.3504 4.3357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9004 4.2450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.0991 3.8429 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9526 5.1399 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.4027 5.2305 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.2038 5.6327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 16.2517 6.5244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.8017 6.4338 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.0005 6.0317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.8539 7.3287 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 16.3040 7.4193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.1052 7.8214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.2197 7.4816 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5783 8.2332 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.6821 8.2496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.0122 7.4489 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.6538 6.6972 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5500 6.6809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4808 7.6711 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.9050 6.2840 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1967 7.1317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.0087 6.2996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7465 7.1568 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
@@ -480,15 +469,34 @@ $MOL
54 52 1 0 0 0 0
52 50 2 0 0 0 0
50 51 1 0 0 0 0
- 57 55 2 0 0 0 0
- 55 59 1 0 0 0 0
- 59 60 2 0 0 0 0
- 60 58 1 0 0 0 0
- 58 56 2 0 0 0 0
- 56 57 1 0 0 0 0
25 49 1 0 0 0 0
+ 55 59 1 0 0 0 0
+ 59 58 2 0 0 0 0
+ 58 56 1 0 0 0 0
+ 56 57 2 0 0 0 0
+ 57 55 1 0 0 0 0
52 59 1 0 0 0 0
- 56 43 1 0 0 0 0
+ 57 47 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
M END
$MOL
@@ -502,24 +510,80 @@ $MOL
2 3 1 0 0 0 0
3 1 1 0 0 0 0
M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 1 1
$MOL
-INDIGO-01000000002D
- 59 73 0 0 0 0 0 0 0 0999 V2000
- 10.4706 22.7927 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5434 21.2418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.0593 21.9963 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.4388 21.2839 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.3660 22.8348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.8501 22.0804 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.7851 21.5809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 28.1782 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.1784 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.8836 21.0126 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.8838 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 29.8862 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 30.5916 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 30.5915 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 29.8862 21.0127 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8660 26.4988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8660 28.4989 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.9282 23.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4250 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4315 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1243 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 59 73 0 0 0 0 0 0 0 0999 V2000
+ 10.4706 22.7927 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5434 21.2418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.0593 21.9963 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.4388 21.2839 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.3660 22.8348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.8501 22.0804 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.7851 21.5809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14.5847 23.1205 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14.2405 22.2928 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
15.4737 23.2361 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -646,20 +710,6 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
-$MOL
-
- -INDIGO-01000000002D
-
- 4 4 0 0 0 0 0 0 0 0999 V2000
- 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
$RFMT
$RXN
@@ -670,82 +720,85 @@ $MOL
-INDIGO-01000000002D
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.8097 4.8948 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.3101 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.6194 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.3094 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0017 14.7456 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 14.7461 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8684 15.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 13.7452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0017 13.7407 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8706 13.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 1 2 0 0 0 0
1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
+ 5 6 2 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 2 2 0 0 0 0
+ 2 3 1 0 0 0 0
M END
$MOL
-INDIGO-01000000002D
- 59 73 0 0 0 0 0 0 0 0999 V2000
- 10.3580 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.4308 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.9467 0.7545 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.3262 0.0421 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.2534 1.5930 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.7375 0.8386 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6725 0.3391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4721 1.8787 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1279 1.0510 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.3611 1.9943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.5614 0.4547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.9056 1.2823 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0240 2.1739 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.4468 1.5522 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9149 2.2738 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.0878 0.7308 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.6651 1.3525 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.1970 0.6309 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.9241 3.0647 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.1739 3.9860 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.8150 3.1646 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6419 4.7076 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.3922 3.7863 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7512 4.6077 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9010 6.4198 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.6513 5.4985 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.5421 5.5984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.1194 6.2201 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.3690 7.1413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.4782 7.0414 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.0512 2.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.5013 3.0418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3025 3.4439 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4490 2.1469 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.9990 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.1978 1.6542 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.3504 4.3357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9004 4.2450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.0991 3.8429 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9526 5.1399 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.4027 5.2305 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.2038 5.6327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 16.2517 6.5244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.8017 6.4338 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.0005 6.0317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.8539 7.3287 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 16.3040 7.4193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.1052 7.8214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.2197 7.4816 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5783 8.2332 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.6821 8.2496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.0122 7.4489 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.6538 6.6972 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5500 6.6809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4808 7.6711 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.9050 6.2840 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1967 7.1317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.0087 6.2996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7465 7.1568 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 60 74 0 0 0 0 0 0 0 0999 V2000
+ 10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.2051 10.4719 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.5214 9.7873 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.4561 11.2696 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.9167 10.5473 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.8066 10.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6323 11.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.2941 10.7500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.4830 11.6377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.6573 10.1642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.9955 10.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.4171 11.8978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.7820 11.3157 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.2676 12.0008 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.4459 10.5278 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0812 11.1099 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.5955 10.4248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.3143 12.7482 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5007 13.6391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.1646 12.8512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9864 14.3242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7999 13.4333 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.1359 14.2212 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.2195 15.9625 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0329 15.0716 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.8834 15.1746 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.5186 15.7567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.7051 16.6476 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.8547 16.5446 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.1638 12.4943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.8192 13.1214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.6725 13.1960 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4571 12.3450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.8018 11.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9485 11.6433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.2532 14.6765 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.5979 14.0494 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7445 13.9748 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.9599 14.8257 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.6152 15.4528 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4686 15.5275 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.0493 17.0079 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3940 16.3809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.5405 16.3062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.7560 17.1573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4113 17.7843 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.2647 17.8590 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.5489 17.3760 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.6862 18.3289 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.8425 18.1807 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.2364 17.6723 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.0990 16.7193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.9427 16.8674 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.0529 18.7042 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.3691 18.0194 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.9086 18.7418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.9738 17.2594 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6576 17.9442 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1180 17.2218 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
@@ -811,66 +864,13 @@ $MOL
54 52 1 0 0 0 0
52 50 2 0 0 0 0
50 51 1 0 0 0 0
- 25 49 1 0 0 0 0
+ 57 55 2 0 0 0 0
55 59 1 0 0 0 0
- 59 58 2 0 0 0 0
- 58 56 1 0 0 0 0
- 56 57 2 0 0 0 0
- 57 55 1 0 0 0 0
+ 59 60 2 0 0 0 0
+ 60 58 1 0 0 0 0
+ 58 56 2 0 0 0 0
+ 56 57 1 0 0 0 0
+ 25 49 1 0 0 0 0
52 59 1 0 0 0 0
- 57 47 1 0 0 0 0
-M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
- 4 4 0 0 0 0 0 0 0 0999 V2000
- 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 3 3 0 0 0 0 0 0 0 0999 V2000
- 23.6769 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6782 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.1776 14.6782 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 8 8 0 0 0 0 0 0 0 0999 V2000
- 28.1782 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.1784 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.8836 21.0126 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.8838 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 29.8862 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 30.5916 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 30.5915 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 29.8862 21.0127 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
+ 56 43 1 0 0 0 0
M END
diff --git a/api/tests/integration/tests/formats/ref/pathway9.cdxml b/api/tests/integration/tests/formats/ref/pathway9.cdxml
index 965e3765bb..2ddecd89a7 100644
--- a/api/tests/integration/tests/formats/ref/pathway9.cdxml
+++ b/api/tests/integration/tests/formats/ref/pathway9.cdxml
@@ -18,11 +18,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -30,12 +30,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -44,66 +44,66 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -180,12 +180,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -194,65 +194,65 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -328,11 +328,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -340,30 +340,30 @@
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -372,11 +372,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -384,13 +384,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -400,13 +400,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -416,14 +416,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -434,65 +434,65 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -568,14 +568,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -586,15 +586,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -605,12 +605,12 @@
-
-
-
-
+
+
+
+
-
+
diff --git a/api/tests/integration/tests/formats/ref/pathway9.rdf b/api/tests/integration/tests/formats/ref/pathway9.rdf
index abce544de0..1ab1a820fc 100644
--- a/api/tests/integration/tests/formats/ref/pathway9.rdf
+++ b/api/tests/integration/tests/formats/ref/pathway9.rdf
@@ -12,24 +12,6 @@ $MOL
-INDIGO-01000000002D
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0017 14.7456 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 14.7461 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8684 15.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 13.7452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0017 13.7407 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8706 13.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 3 1 2 0 0 0 0
- 1 5 1 0 0 0 0
- 5 6 2 0 0 0 0
- 6 4 1 0 0 0 0
- 4 2 2 0 0 0 0
- 2 3 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
60 74 0 0 0 0 0 0 0 0999 V2000
10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -166,46 +148,24 @@ $MOL
52 59 1 0 0 0 0
56 43 1 0 0 0 0
M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
$MOL
-INDIGO-01000000002D
- 6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8660 26.4988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8660 28.4989 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
+ 3 3 0 0 0 0 0 0 0 0999 V2000
+ 23.6769 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6782 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.1776 14.6782 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
+ 3 1 1 0 0 0 0
M END
-$MOL
+$RFMT
+$RXN
- -INDIGO-01000000002D
+ -INDIGO- 0100000000
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9282 23.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4250 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7320 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4315 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1243 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
+ 1 1
$MOL
-INDIGO-01000000002D
@@ -344,6 +304,20 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
$RFMT
$RXN
@@ -354,67 +328,82 @@ $MOL
-INDIGO-01000000002D
- 60 74 0 0 0 0 0 0 0 0999 V2000
- 10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.2051 10.4719 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.5214 9.7873 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.4561 11.2696 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.9167 10.5473 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.8066 10.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6323 11.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.2941 10.7500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.4830 11.6377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.6573 10.1642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.9955 10.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.4171 11.8978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.7820 11.3157 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.2676 12.0008 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.4459 10.5278 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0812 11.1099 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.5955 10.4248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.3143 12.7482 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5007 13.6391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.1646 12.8512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9864 14.3242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7999 13.4333 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.1359 14.2212 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.2195 15.9625 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0329 15.0716 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.8834 15.1746 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.5186 15.7567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.7051 16.6476 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.8547 16.5446 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.1638 12.4943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.8192 13.1214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.6725 13.1960 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4571 12.3450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.8018 11.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9485 11.6433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.2532 14.6765 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.5979 14.0494 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.7445 13.9748 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.9599 14.8257 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.6152 15.4528 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.4686 15.5275 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.0493 17.0079 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3940 16.3809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.5405 16.3062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.7560 17.1573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4113 17.7843 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.2647 17.8590 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.5489 17.3760 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.6862 18.3289 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.8425 18.1807 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.2364 17.6723 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.0990 16.7193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.9427 16.8674 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.0529 18.7042 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.3691 18.0194 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.9086 18.7418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.9738 17.2594 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.6576 17.9442 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1180 17.2218 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.8097 4.8948 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.3101 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.6194 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3094 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 59 73 0 0 0 0 0 0 0 0999 V2000
+ 10.3580 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.4308 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.9467 0.7545 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.3262 0.0421 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.2534 1.5930 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.7375 0.8386 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6725 0.3391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.4721 1.8787 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1279 1.0510 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.3611 1.9943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.5614 0.4547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.9056 1.2823 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0240 2.1739 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.4468 1.5522 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9149 2.2738 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.0878 0.7308 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.6651 1.3525 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.1970 0.6309 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.9241 3.0647 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.1739 3.9860 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.8150 3.1646 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6419 4.7076 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.3922 3.7863 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7512 4.6077 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9010 6.4198 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.6513 5.4985 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.5421 5.5984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.1194 6.2201 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.3690 7.1413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.4782 7.0414 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.0512 2.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.5013 3.0418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3025 3.4439 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4490 2.1469 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.9990 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.1978 1.6542 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.3504 4.3357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9004 4.2450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.0991 3.8429 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9526 5.1399 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.4027 5.2305 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.2038 5.6327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 16.2517 6.5244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.8017 6.4338 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.0005 6.0317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.8539 7.3287 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 16.3040 7.4193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 17.1052 7.8214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.2197 7.4816 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5783 8.2332 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.6821 8.2496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.0122 7.4489 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.6538 6.6972 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5500 6.6809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.4808 7.6711 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.9050 6.2840 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1967 7.1317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.0087 6.2996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 12.7465 7.1568 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
@@ -480,15 +469,34 @@ $MOL
54 52 1 0 0 0 0
52 50 2 0 0 0 0
50 51 1 0 0 0 0
- 57 55 2 0 0 0 0
- 55 59 1 0 0 0 0
- 59 60 2 0 0 0 0
- 60 58 1 0 0 0 0
- 58 56 2 0 0 0 0
- 56 57 1 0 0 0 0
25 49 1 0 0 0 0
+ 55 59 1 0 0 0 0
+ 59 58 2 0 0 0 0
+ 58 56 1 0 0 0 0
+ 56 57 2 0 0 0 0
+ 57 55 1 0 0 0 0
52 59 1 0 0 0 0
- 56 43 1 0 0 0 0
+ 57 47 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 4 4 0 0 0 0 0 0 0 0999 V2000
+ 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 4 1 0 0 0 0
+ 4 3 1 0 0 0 0
+ 3 1 1 0 0 0 0
M END
$MOL
@@ -502,24 +510,80 @@ $MOL
2 3 1 0 0 0 0
3 1 1 0 0 0 0
M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 1 1
$MOL
-INDIGO-01000000002D
- 59 73 0 0 0 0 0 0 0 0999 V2000
- 10.4706 22.7927 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5434 21.2418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.0593 21.9963 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.4388 21.2839 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.3660 22.8348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.8501 22.0804 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.7851 21.5809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ 28.1782 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.1784 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.8836 21.0126 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 28.8838 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 29.8862 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 30.5916 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 30.5915 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 29.8862 21.0127 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2 1 1 0 0 0 0
+ 1 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 6 7 1 0 0 0 0
+ 7 8 1 0 0 0 0
+ 8 3 1 0 0 0 0
+ 3 2 1 0 0 0 0
+M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8660 26.4988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 26.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 27.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8660 28.4989 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.9282 23.9988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4250 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4315 22.4699 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1243 23.4092 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 59 73 0 0 0 0 0 0 0 0999 V2000
+ 10.4706 22.7927 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.5434 21.2418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.0593 21.9963 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.4388 21.2839 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.3660 22.8348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.8501 22.0804 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.7851 21.5809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14.5847 23.1205 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
14.2405 22.2928 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
15.4737 23.2361 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
@@ -646,53 +710,23 @@ $MOL
52 59 1 0 0 0 0
57 47 1 0 0 0 0
M END
-$MOL
-
- -INDIGO-01000000002D
-
- 4 4 0 0 0 0 0 0 0 0999 V2000
- 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
$RFMT
$RXN
-INDIGO- 0100000000
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.9206 44.6845 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.4210 43.1444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 44.0907 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.4203 43.1444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.1109 44.0907 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
+ 1 1
$MOL
-INDIGO-01000000002D
6 6 0 0 0 0 0 0 0 0999 V2000
- 0.0000 40.1443 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 40.1448 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8668 40.6444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.7303 39.1438 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 39.1393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.8690 38.6443 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0017 14.7456 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 14.7461 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8684 15.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7320 13.7452 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0017 13.7407 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8706 13.2457 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
@@ -704,108 +738,67 @@ $MOL
-INDIGO-01000000002D
- 7 7 0 0 0 0 0 0 0 0999 V2000
- 5.7891 42.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7891 41.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 40.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 41.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.5212 42.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6551 42.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 8.3872 42.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6 1 1 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 5 7 1 0 0 0 0
-M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 1 1
-$MOL
-
- -INDIGO-01000000002D
-
- 5 5 0 0 0 0 0 0 0 0999 V2000
- 0.8097 4.8948 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.3101 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1.6194 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.3094 3.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 0.0000 4.3009 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 5 1 0 0 0 0
- 5 4 2 0 0 0 0
- 4 2 1 0 0 0 0
- 2 3 2 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 59 73 0 0 0 0 0 0 0 0999 V2000
- 10.3580 1.5509 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.4308 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.9467 0.7545 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.3262 0.0421 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.2534 1.5930 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.7375 0.8386 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.6725 0.3391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.4721 1.8787 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1279 1.0510 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.3611 1.9943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.5614 0.4547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 15.9056 1.2823 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.0240 2.1739 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.4468 1.5522 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9149 2.2738 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.0878 0.7308 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.6651 1.3525 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.1970 0.6309 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.9241 3.0647 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 7.1739 3.9860 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.8150 3.1646 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.6419 4.7076 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.3922 3.7863 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.7512 4.6077 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.9010 6.4198 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.6513 5.4985 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.5421 5.5984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.1194 6.2201 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 6.3690 7.1413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 5.4782 7.0414 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 20.0512 2.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.5013 3.0418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.3025 3.4439 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.4490 2.1469 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.9990 2.0563 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 19.1978 1.6542 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.3504 4.3357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9004 4.2450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.0991 3.8429 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.9526 5.1399 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.4027 5.2305 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 18.2038 5.6327 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 16.2517 6.5244 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.8017 6.4338 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.0005 6.0317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.8539 7.3287 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 16.3040 7.4193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 17.1052 7.8214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.2197 7.4816 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5783 8.2332 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.6821 8.2496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 11.0122 7.4489 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 9.6538 6.6972 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 10.5500 6.6809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.4808 7.6711 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.9050 6.2840 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 14.1967 7.1317 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 13.0087 6.2996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 12.7465 7.1568 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 60 74 0 0 0 0 0 0 0 0999 V2000
+ 10.6003 11.2320 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.6656 9.7496 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.2051 10.4719 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.5214 9.7873 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.4561 11.2696 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.9167 10.5473 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.8066 10.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.6323 11.5370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.2941 10.7500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.4830 11.6377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.6573 10.1642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.9955 10.9512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.4171 11.8978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.7820 11.3157 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.2676 12.0008 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.4459 10.5278 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0812 11.1099 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.5955 10.4248 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.3143 12.7482 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5007 13.6391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.1646 12.8512 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.9864 14.3242 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7999 13.4333 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.1359 14.2212 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.2195 15.9625 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.0329 15.0716 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.8834 15.1746 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.5186 15.7567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.7051 16.6476 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.8547 16.5446 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 20.1638 12.4943 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.8192 13.1214 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.6725 13.1960 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4571 12.3450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.8018 11.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.9485 11.6433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.2532 14.6765 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.5979 14.0494 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.7445 13.9748 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.9599 14.8257 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.6152 15.4528 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.4686 15.5275 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.0493 17.0079 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.3940 16.3809 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.5405 16.3062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.7560 17.1573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 18.4113 17.7843 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 19.2647 17.8590 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.5489 17.3760 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.6862 18.3289 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 9.8425 18.1807 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 11.2364 17.6723 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.0990 16.7193 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 10.9427 16.8674 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.0529 18.7042 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 15.3691 18.0194 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.9086 18.7418 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.9738 17.2594 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 13.6576 17.9442 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 14.1180 17.2218 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3 1 2 0 0 0 0
1 5 1 0 0 0 0
5 6 2 0 0 0 0
@@ -871,68 +864,15 @@ $MOL
54 52 1 0 0 0 0
52 50 2 0 0 0 0
50 51 1 0 0 0 0
- 25 49 1 0 0 0 0
+ 57 55 2 0 0 0 0
55 59 1 0 0 0 0
- 59 58 2 0 0 0 0
- 58 56 1 0 0 0 0
- 56 57 2 0 0 0 0
- 57 55 1 0 0 0 0
+ 59 60 2 0 0 0 0
+ 60 58 1 0 0 0 0
+ 58 56 2 0 0 0 0
+ 56 57 1 0 0 0 0
+ 25 49 1 0 0 0 0
52 59 1 0 0 0 0
- 57 47 1 0 0 0 0
-M END
-$RFMT
-$RXN
-
- -INDIGO- 0100000000
-
- 2 1
-$MOL
-
- -INDIGO-01000000002D
-
- 4 4 0 0 0 0 0 0 0 0999 V2000
- 24.6782 24.8691 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6745 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6663 24.8820 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 23.6638 25.8642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 4 1 0 0 0 0
- 4 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 3 3 0 0 0 0 0 0 0 0999 V2000
- 23.6769 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.6782 13.8132 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 24.1776 14.6782 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 1 2 1 0 0 0 0
- 2 3 1 0 0 0 0
- 3 1 1 0 0 0 0
-M END
-$MOL
-
- -INDIGO-01000000002D
-
- 8 8 0 0 0 0 0 0 0 0999 V2000
- 28.1782 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.1784 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.8836 21.0126 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 28.8838 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 29.8862 18.5995 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 30.5916 19.3050 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 30.5915 20.3074 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 29.8862 21.0127 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
- 2 1 1 0 0 0 0
- 1 4 1 0 0 0 0
- 4 5 1 0 0 0 0
- 5 6 1 0 0 0 0
- 6 7 1 0 0 0 0
- 7 8 1 0 0 0 0
- 8 3 1 0 0 0 0
- 3 2 1 0 0 0 0
+ 56 43 1 0 0 0 0
M END
$RFMT
$RXN
@@ -1026,3 +966,63 @@ $MOL
6 8 2 0 0 0 0
4 9 1 0 0 0 0
M END
+$RFMT
+$RXN
+
+ -INDIGO- 0100000000
+
+ 2 1
+$MOL
+
+ -INDIGO-01000000002D
+
+ 5 5 0 0 0 0 0 0 0 0999 V2000
+ 0.9206 44.6845 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.4210 43.1444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 44.0907 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4203 43.1444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1109 44.0907 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 4 2 0 0 0 0
+ 4 2 1 0 0 0 0
+ 2 3 2 0 0 0 0
+ 3 1 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 6 6 0 0 0 0 0 0 0 0999 V2000
+ 0.0000 40.1443 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 40.1448 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8668 40.6444 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7303 39.1438 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.0000 39.1393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8690 38.6443 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3 1 2 0 0 0 0
+ 1 5 1 0 0 0 0
+ 5 6 2 0 0 0 0
+ 6 4 1 0 0 0 0
+ 4 2 2 0 0 0 0
+ 2 3 1 0 0 0 0
+M END
+$MOL
+
+ -INDIGO-01000000002D
+
+ 7 7 0 0 0 0 0 0 0 0999 V2000
+ 5.7891 42.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 5.7891 41.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 40.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 41.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 7.5212 42.2794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6.6551 42.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 8.3872 42.7794 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 6 1 1 0 0 0 0
+ 1 2 1 0 0 0 0
+ 2 3 1 0 0 0 0
+ 3 4 1 0 0 0 0
+ 4 5 1 0 0 0 0
+ 5 6 1 0 0 0 0
+ 5 7 1 0 0 0 0
+M END
diff --git a/api/tests/integration/tests/formats/ref/retro_arrow_diagonal.cdxml b/api/tests/integration/tests/formats/ref/retro_arrow_diagonal.cdxml
index 22f7f1117e..bd95a29bc2 100644
--- a/api/tests/integration/tests/formats/ref/retro_arrow_diagonal.cdxml
+++ b/api/tests/integration/tests/formats/ref/retro_arrow_diagonal.cdxml
@@ -18,39 +18,39 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -58,9 +58,9 @@
-
-
-
+
+
+
diff --git a/api/tests/integration/tests/formats/rxn_to_ket.py b/api/tests/integration/tests/formats/rxn_to_ket.py
new file mode 100644
index 0000000000..f99fb1f83b
--- /dev/null
+++ b/api/tests/integration/tests/formats/rxn_to_ket.py
@@ -0,0 +1,45 @@
+import difflib
+import os
+import sys
+
+
+def find_diff(a, b):
+ return "\n".join(difflib.unified_diff(a.splitlines(), b.splitlines()))
+
+
+sys.path.append(
+ os.path.normpath(
+ os.path.join(os.path.abspath(__file__), "..", "..", "..", "common")
+ )
+)
+from env_indigo import * # noqa
+
+indigo = Indigo()
+indigo.setOption("json-saving-pretty", True)
+indigo.setOption("ignore-stereochemistry-errors", True)
+
+print("*** RXN to KET ***")
+
+root = joinPathPy("reactions/", __file__)
+ref_path = joinPathPy("ref/", __file__)
+
+files = [
+ "2531-bad-layout",
+ "2485-bad-layout",
+]
+
+files.sort()
+for filename in files:
+ mol = indigo.loadReactionFromFile(os.path.join(root, filename + ".rxn"))
+
+ # with open(os.path.join(ref_path, filename) + ".ket", "w") as file:
+ # file.write(mol.json())
+ with open(os.path.join(ref_path, filename) + ".ket", "r") as file:
+ ket_ref = file.read()
+ ket = mol.json()
+ diff = find_diff(ket_ref, ket)
+ if not diff:
+ print(filename + ".ket:SUCCEED")
+ else:
+ print(filename + ".ket:FAILED")
+ print(diff)
diff --git a/api/tests/integration/tests/reaction/pathway.py b/api/tests/integration/tests/reaction/pathway.py
index e2bd05f00f..b3771c01e7 100644
--- a/api/tests/integration/tests/reaction/pathway.py
+++ b/api/tests/integration/tests/reaction/pathway.py
@@ -29,6 +29,7 @@ def find_diff(a, b):
"pathway8",
"pathway9",
"pathway10",
+ "pathway11",
]
for filename in files:
diff --git a/api/tests/integration/tests/reaction/reactions/pathway11.rdf b/api/tests/integration/tests/reaction/reactions/pathway11.rdf
new file mode 100644
index 0000000000..e32da0593a
--- /dev/null
+++ b/api/tests/integration/tests/reaction/reactions/pathway11.rdf
@@ -0,0 +1,671 @@
+$RDFILE 1
+$DATM 2/8/2024, 10:14:53 AM
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 6 5 0 0 0 0 0 0 0 0999 V2000
+ -0.2893 -0.4179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1549 0.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1541 1.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.0213 -0.4165 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.8869 0.0841 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.7533 -0.4153 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 11 11 0 0 0 0 0 0 0 0999 V2000
+ -3.6362 -0.9186 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.7720 -0.4156 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.7756 0.5844 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9042 -0.9124 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.0400 -0.4094 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.1722 -0.9062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6920 -0.4030 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6884 0.5968 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.5526 1.1000 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.1794 1.0938 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.0436 0.5906 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 8 10 4 0
+ 10 11 4 0
+ 11 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -4.1340 0.2215 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1348 -0.7785 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0012 -1.2779 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2692 -1.2791 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4028 -0.7799 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5372 -1.2805 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6710 -0.7813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1948 -1.2819 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0612 -0.7827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0620 0.2173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9284 0.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9292 1.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7956 2.2159 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0636 2.2173 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1964 0.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6702 0.2187 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 1 0
+ 11 12 1 0
+ 12 13 1 0
+ 12 14 2 0
+ 10 15 4 0
+ 15 16 4 0
+ 16 7 4 0
+M END
+
+$DTYPE Name
+$DATUM Mitsunobu reaction
+$DTYPE Reference
+$DATUM [10.1021/jo0345751]: https://doi.org/10.1021/jo0345751 [10.1021/ol0618757]: https://doi.org/10.1021/ol0618757
+$DTYPE Reaction Conditions
+$DATUM DEAD.or.DCAD.or.DIAD.PPh3
+$DTYPE SMILES
+$DATUM CC(C)=CCO.NC(=O)Cc1ccc(O)cc1>>CC(C)=CCOc1ccc(CC(N)=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 1 1
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -7.6865 0.2215 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.6874 -0.7785 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.5537 -1.2779 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.8217 -1.2791 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.9553 -0.7799 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0897 -1.2805 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.2235 -0.7813 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3578 -1.2819 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4914 -0.7827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4905 0.2173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.6242 0.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.6233 1.7167 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7570 2.2159 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4889 2.2173 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3562 0.7179 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.2227 0.2187 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 2 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 1 0
+ 11 12 1 0
+ 12 13 1 0
+ 12 14 2 0
+ 10 15 4 0
+ 15 16 4 0
+ 16 7 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 14 14 0 0 0 0 0 0 0 0999 V2000
+ 0.2544 2.1405 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6120 1.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4776 2.1419 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6128 0.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4792 0.1419 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.4800 -0.8581 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3464 -1.3573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2120 -0.8567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.0784 -1.3561 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9440 -0.8553 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.8104 -1.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.6760 -0.8539 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2112 0.1433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3448 0.6425 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 2 0
+ 8 13 4 0
+ 13 14 4 0
+ 14 5 4 0
+M END
+
+$DTYPE Name
+$DATUM Ozonolysis
+$DTYPE Reference
+$DATUM [10.1016/j.tet.2017.03.039]: https://doi.org/10.1016/j.tet.2017.03.039
+$DTYPE Reaction Conditions
+$DATUM O3.MeOH.CH2Cl2.PPh3 or Me2S.low temperature
+$DTYPE SMILES
+$DATUM CC(C)=CCOc1ccc(CC(N)=O)cc1>>NC(=O)Cc1ccc(OCC=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 3 2 0 0 0 0 0 0 0 0999 V2000
+ -0.0003 -0.1674 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.8659 0.3334 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.7323 -0.1660 0.0000 I 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 14 14 0 0 0 0 0 0 0 0999 V2000
+ 1.0110 2.1405 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1446 1.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7210 2.1419 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1438 0.6413 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7226 0.1419 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7234 -0.8581 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5898 -1.3573 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4554 -0.8567 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3218 -1.3561 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1874 -0.8553 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.0538 -1.3547 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.9194 -0.8539 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4546 0.1433 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5882 0.6425 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 2 0
+ 8 13 4 0
+ 13 14 4 0
+ 14 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -3.2719 2.9350 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4055 2.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5399 2.9364 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4047 1.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5385 0.9364 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5377 -0.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6713 -0.5628 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1945 -0.0622 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0607 -0.5616 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0615 -1.5616 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9279 -2.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7935 -1.5602 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.9287 -3.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.7951 -3.5602 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.1937 0.9378 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6727 1.4370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 1 0
+ 11 13 1 0
+ 13 14 1 0
+ 8 15 4 0
+ 15 16 4 0
+ 16 5 4 0
+M END
+
+$DTYPE Name
+$DATUM Addition of dihalomethane to aldehyde
+$DTYPE Reference
+$DATUM [10.1016/j.tetlet.2005.02.093]: https://doi.org/10.1016/j.tetlet.2005.02.093 [10.1021/jo970318i]: https://doi.org/10.1021/jo970318i [10.1016/j.tet.2012.02.033]: https://doi.org/10.1016/j.tet.2012.02.033
+$DTYPE Reaction Conditions
+$DATUM SmI2.THF
+$DTYPE SMILES
+$DATUM ClCI.NC(=O)Cc1ccc(OCC=O)cc1>>NC(=O)Cc1ccc(OCC(O)CCl)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 6 5 0 0 0 0 0 0 0 0999 V2000
+ -0.2885 -0.5821 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1549 -0.0827 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.1557 0.9173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.0205 -0.5835 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.8869 -0.0841 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.7533 0.4153 0.0000 S 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 2 0
+ 5 6 2 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 8 8 0 0 0 0 0 0 0 0999 V2000
+ -0.8881 -0.9990 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.0217 -0.4996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8439 -1.0004 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7103 -0.5010 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.7111 0.4990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.8455 0.9996 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.0209 0.5004 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.8865 1.0010 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 4 0
+ 3 4 4 0
+ 4 5 4 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 1 0
+ 7 2 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 13 14 0 0 0 0 0 0 0 0999 V2000
+ -2.7676 0.5970 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.7676 0.5978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2682 1.4642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2668 -0.2678 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.2666 -0.2670 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3202 0.5426 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2716 0.2342 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1372 0.7348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3.0036 0.2356 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 3.0044 -0.7644 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1388 -1.2650 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2724 -0.7658 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3214 -1.0758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 5 4 0
+ 12 7 4 0
+M END
+
+$DTYPE Name
+$DATUM Published reaction
+$DTYPE Reference
+$DATUM [10.1002/ANIE.201201451]: https://doi.org/10.1002/ANIE.201201451
+$DTYPE Reaction Conditions
+$DATUM Stage 1: 14 h, Copper(II) chloride, Dimethylformamide, Dichloromethane, CK2O3 Potassium carbonate | Stage 2: 5 h, 80 degree, acid, Dy(3+)-salt C3Dy1F9O9S3, Dichloromethane, Acetonitrile
+$DTYPE SMILES
+$DATUM CC(C)N=C=S.Nc1ccccc1O>>CC(C)Nc1nc2ccccc2o1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 2 1
+$MOL
+
+ RDKit 2D
+
+ 13 14 0 0 0 0 0 0 0 0999 V2000
+ -6.4787 0.5970 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.4787 0.5978 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9793 1.4642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.9779 -0.2678 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.9777 -0.2670 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3909 0.5426 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4395 0.2342 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5739 0.7348 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7075 0.2356 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.7067 -0.7644 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5723 -1.2650 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4387 -0.7658 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3897 -1.0758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 4 0
+ 9 10 4 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 5 4 0
+ 12 7 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 16 16 0 0 0 0 0 0 0 0999 V2000
+ -4.9897 2.9350 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1233 2.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2577 2.9364 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.1225 1.4358 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2563 0.9364 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.2555 -0.0636 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3891 -0.5628 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5233 -0.0622 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6571 -0.5616 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.6563 -1.5616 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.2101 -2.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0757 -1.5602 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.2109 -3.0608 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.0773 -3.5602 0.0000 Cl 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.5241 0.9378 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.3905 1.4370 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 2 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 4 0
+ 6 7 4 0
+ 7 8 4 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 1 0
+ 11 12 1 0
+ 11 13 1 0
+ 13 14 1 0
+ 8 15 4 0
+ 15 16 4 0
+ 16 5 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 28 30 0 0 0 0 0 0 0 0999 V2000
+ -2.1558 -2.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2884 -1.9441 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4238 -2.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.2856 -0.9441 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.1502 -0.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.0176 -0.9393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.0204 -1.9393 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.8822 -0.4369 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.7498 -0.9345 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.6142 -0.4321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.6116 0.5679 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.4762 1.0703 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3436 0.5727 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2082 1.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2054 2.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.0700 2.5775 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3380 2.5727 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.3462 -0.4273 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.4818 -0.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4180 -0.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.4942 -0.8561 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.1654 -0.1147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1652 -0.1173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.6678 0.7471 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 2.1702 1.6147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.1702 1.6173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.6678 0.7527 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.3110 0.5477 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 4 20 1 0
+ 20 21 4 0
+ 21 22 4 0
+ 22 23 4 0
+ 23 24 4 0
+ 24 25 4 0
+ 25 26 4 0
+ 26 27 4 0
+ 27 28 4 0
+ 19 10 4 0
+ 28 20 4 0
+ 27 22 4 0
+M END
+
+$DTYPE Name
+$DATUM Alkylation of amines with alkyl halides
+$DTYPE Reference
+$DATUM [10.1016/s0040-4039(00)74286-9]: https://doi.org/10.1016/s0040-4039(00)74286-9 [10.1021/acs.oprd.8b00074]: https://doi.org/10.1021/acs.oprd.8b00074 [10.1016/S0040-4020(01)00989-9]: https://doi.org/10.1016/S0040-4020(01)00989-9 [10.1080/00397911.2013.828077]: https://doi.org/10.1080/00397911.2013.828077 [10.1016/j.bmcl.2012.08.032]: https://doi.org/10.1016/j.bmcl.2012.08.032
+$DTYPE Reaction Conditions
+$DATUM KOH. toluene. PTC. catalyst or KI. base e.g. K2CO3
+$DTYPE SMILES
+$DATUM CC(C)Nc1nc2ccccc2o1.NC(=O)Cc1ccc(OCC(O)CCl)cc1>>CC(C)N(CC(O)COc1ccc(CC(N)=O)cc1)c1nc2ccccc2o1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+$RFMT
+$RXN
+
+ RDKit
+
+ 1 1
+$MOL
+
+ RDKit 2D
+
+ 28 30 0 0 0 0 0 0 0 0999 V2000
+ -5.2331 -2.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3657 -1.9441 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.5011 -2.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.3629 -0.9441 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.2275 -0.4417 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0949 -0.9393 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.0977 -1.9393 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.9595 -0.4369 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.8271 -0.9345 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6915 -0.4321 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.6889 0.5679 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5535 1.0703 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4209 0.5727 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2855 1.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -11.2827 2.0751 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -12.1473 2.5775 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4153 2.5727 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -10.4235 -0.4273 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -9.5591 -0.9297 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.4953 -0.4465 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.5831 -0.8561 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9119 -0.1147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9121 -0.1173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.4095 0.7471 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.9071 1.6147 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.9071 1.6173 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.4095 0.7527 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.3883 0.5477 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 4 20 1 0
+ 20 21 4 0
+ 21 22 4 0
+ 22 23 4 0
+ 23 24 4 0
+ 24 25 4 0
+ 25 26 4 0
+ 26 27 4 0
+ 27 28 4 0
+ 19 10 4 0
+ 28 20 4 0
+ 27 22 4 0
+M END
+$MOL
+
+ RDKit 2D
+
+ 19 19 0 0 0 0 0 0 0 0999 V2000
+ -9.1650 0.7411 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.2994 0.2405 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -8.3002 -0.7595 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -7.4330 0.7397 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ -6.5674 0.2391 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7010 0.7383 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -5.7002 1.7383 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -4.8354 0.2377 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.9690 0.7369 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1034 0.2363 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -3.1042 -0.7637 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2386 -1.2643 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3722 -0.7651 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -0.5066 -1.2657 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3598 -0.7665 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1.2254 -1.2671 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
+ 0.3606 0.2335 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
+ -1.3714 0.2349 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ -2.2370 0.7355 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
+ 1 2 1 0
+ 2 3 1 0
+ 2 4 1 0
+ 4 5 1 0
+ 5 6 1 0
+ 6 7 1 0
+ 6 8 1 0
+ 8 9 1 0
+ 9 10 1 0
+ 10 11 4 0
+ 11 12 4 0
+ 12 13 4 0
+ 13 14 1 0
+ 14 15 1 0
+ 15 16 1 0
+ 15 17 2 0
+ 13 18 4 0
+ 18 19 4 0
+ 19 10 4 0
+M END
+
+$DTYPE Name
+$DATUM Removal of benzoxazol-2-yl group from amines
+$DTYPE Reference
+$DATUM [10.1021/ol501935d]: https://doi.org/10.1021/ol501935d
+$DTYPE Reaction Conditions
+$DATUM LAH.THF.reflux
+$DTYPE SMILES
+$DATUM CC(C)N(CC(O)COc1ccc(CC(N)=O)cc1)c1nc2ccccc2o1>>CC(C)NCC(O)COc1ccc(CC(N)=O)cc1
+$DTYPE Protections
+$DATUM Not available
+$DTYPE Inventory
+$DATUM Not available
+
+END
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway1.ket b/api/tests/integration/tests/reaction/ref/arom/pathway1.ket
index 9af7ed7592..6a6e4618c4 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway1.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway1.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":10.012500762939454,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":16.126874923706056,"z":0.0},{"x":22.802881240844728,"y":3.8981270790100099,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":16.126874923706056,"z":0.0},{"x":22.302881240844728,"y":9.796455383300782,"z":0.0},{"x":22.302881240844728,"y":3.8981270790100099,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":3.8981270790100099,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.962884902954102,"y":1.2320659160614014,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.462884902954102,"y":1.2320659160614014,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.3640971183776859,0.0]},{"label":"C","location":[3.268439769744873,7.364896774291992,0.0]},{"label":"C","location":[1.8868601322174073,8.16424560546875,0.0]},{"label":"C","location":[3.268439769744873,5.763319969177246,0.0]},{"label":"C","location":[0.5000003576278687,5.756120204925537,0.0]},{"label":"C","location":[1.8903801441192628,4.964132308959961,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,4.698119163513184,0.0]},{"label":"C","location":[16.504423141479493,3.098133087158203,0.0]},{"label":"C","location":[17.890010833740236,2.298140525817871,0.0]},{"label":"C","location":[19.2757568359375,3.098133087158203,0.0]},{"label":"C","location":[19.2757568359375,4.698119163513184,0.0]},{"label":"C","location":[17.890010833740236,5.498111724853516,0.0]},{"label":"C","location":[20.661346435546876,5.498111724853516,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,16.5589542388916,0.0]},{"label":"C","location":[19.23128318786621,14.094799995422364,0.0]},{"label":"C","location":[19.726003646850587,15.608877182006836,0.0]},{"label":"C","location":[17.630006790161134,14.094799995422364,0.0]},{"label":"C","location":[17.135128021240236,15.608877182006836,0.0]},{"label":"C","location":[18.430644989013673,18.158950805664064,0.0]},{"label":"C","location":[20.030641555786134,18.158950805664064,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,10.60678482055664,0.0]},{"label":"C","location":[18.85704803466797,11.594799041748047,0.0]},{"label":"C","location":[20.413867950439454,11.238794326782227,0.0]},{"label":"C","location":[21.108436584472658,9.80549430847168,0.0]},{"label":"C","location":[17.611591339111329,8.995245933532715,0.0]},{"label":"C","location":[20.414987564086915,8.354116439819336,0.0]},{"label":"C","location":[18.85704803466797,7.998111724853516,0.0]},{"label":"C","location":[16.057331085205079,11.02087116241455,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,11.378044128417969,0.0]},{"label":"C","location":[38.051475524902347,11.378844261169434,0.0]},{"label":"C","location":[36.66985321044922,12.178218841552735,0.0]},{"label":"C","location":[38.051475524902347,9.777376174926758,0.0]},{"label":"C","location":[35.2829475402832,9.770176887512207,0.0]},{"label":"C","location":[36.673370361328128,8.97816276550293,0.0]},{"label":"C","location":[33.89732360839844,8.970163345336914,0.0]},{"label":"C","location":[35.5419921875,7.846783638000488,0.0]},{"label":"C","location":[39.18285369873047,8.64599609375,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-11.997357368469239,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766118049621582,"z":0.0},{"x":23.90287971496582,"y":-18.22859764099121,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766118049621582,"z":0.0},{"x":23.102880477905275,"y":-11.898179054260254,"z":0.0},{"x":23.102880477905275,"y":-18.22859764099121,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.96612548828125,0.0]},{"label":"C","location":[17.30442237854004,-6.5661115646362309,0.0]},{"label":"C","location":[18.69001007080078,-7.3661041259765629,0.0]},{"label":"C","location":[20.075756072998048,-6.5661115646362309,0.0]},{"label":"C","location":[20.075756072998048,-4.96612548828125,0.0]},{"label":"C","location":[18.69001007080078,-4.166132926940918,0.0]},{"label":"C","location":[21.461345672607423,-4.166132926940918,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.466099739074707,0.0]},{"label":"C","location":[20.031282424926759,-13.930253982543946,0.0]},{"label":"C","location":[20.526002883911134,-12.416176795959473,0.0]},{"label":"C","location":[18.43000602722168,-13.930253982543946,0.0]},{"label":"C","location":[17.93512725830078,-12.416176795959473,0.0]},{"label":"C","location":[19.23064422607422,-9.866103172302246,0.0]},{"label":"C","location":[20.83064079284668,-9.866103172302246,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826820373535,0.0]},{"label":"C","location":[19.657047271728517,-16.430253982543947,0.0]},{"label":"C","location":[21.2138671875,-16.786258697509767,0.0]},{"label":"C","location":[21.908435821533204,-18.219558715820314,0.0]},{"label":"C","location":[18.411590576171876,-19.029808044433595,0.0]},{"label":"C","location":[21.21498680114746,-19.670936584472658,0.0]},{"label":"C","location":[19.657047271728517,-20.026941299438478,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-10.631814002990723,0.0]},{"label":"C","location":[39.65147399902344,-10.631013870239258,0.0]},{"label":"C","location":[38.26985168457031,-9.831639289855957,0.0]},{"label":"C","location":[39.65147399902344,-12.232481956481934,0.0]},{"label":"C","location":[36.8829460144043,-12.239681243896485,0.0]},{"label":"C","location":[38.27336883544922,-13.031695365905762,0.0]},{"label":"C","location":[35.49732208251953,-13.039694786071778,0.0]},{"label":"C","location":[37.141990661621097,-14.163074493408204,0.0]},{"label":"C","location":[40.78285217285156,-13.363862037658692,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway10.ket b/api/tests/integration/tests/reaction/ref/arom/pathway10.ket
index e7ba662466..41c7c0d10d 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway10.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway10.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.59326171875,"y":9.54953670501709,"z":0.0}},"spine":{"pos":[{"x":26.693262100219728,"y":14.832982063293457,"z":0.0},{"x":26.693262100219728,"y":4.266091346740723,"z":0.0}]},"tails":{"pos":[{"x":26.193262100219728,"y":14.832982063293457,"z":0.0},{"x":26.193262100219728,"y":4.266091346740723,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":14.832982063293457,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":17.509796142578126,"z":0.0},{"x":4.962976455688477,"y":12.156167984008789,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":17.509796142578126,"z":0.0},{"x":4.462976455688477,"y":12.156167984008789,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":4.266091346740723,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":6.932154655456543,"z":0.0},{"x":4.962976455688477,"y":1.6000304222106934,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":6.932154655456543,"z":0.0},{"x":4.462976455688477,"y":1.6000304222106934,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,16.148086547851564,0.0]},{"label":"C","location":[3.255575180053711,17.740188598632814,0.0]},{"label":"C","location":[1.6423542499542237,16.168725967407228,0.0]},{"label":"C","location":[1.6383543014526368,17.740188598632814,0.0]},{"label":"F","location":[0.5070357322692871,18.87150764465332,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,10.6642484664917,0.0]},{"label":"C","location":[2.685305595397949,10.6642484664917,0.0]},{"label":"C","location":[1.8843464851379395,12.048088073730469,0.0]},{"label":"Cl","location":[1.8843464851379395,13.648087501525879,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,8.1642484664917,0.0]},{"label":"C","location":[2.684994697570801,5.700060844421387,0.0]},{"label":"C","location":[3.179720878601074,7.213998317718506,0.0]},{"label":"C","location":[1.0836968421936036,5.700060844421387,0.0]},{"label":"C","location":[0.5888104438781738,7.213998317718506,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,2.3998851776123049,0.0]},{"label":"C","location":[3.2685317993164064,2.4006857872009279,0.0]},{"label":"C","location":[1.886906623840332,3.2000608444213869,0.0]},{"label":"C","location":[3.2685317993164064,0.7992148399353027,0.0]},{"label":"C","location":[0.5000004768371582,0.7920145988464356,0.0]},{"label":"C","location":[1.8904266357421876,0.0,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[19.648406982421876,13.36825942993164,0.0]},{"label":"C","location":[21.250329971313478,13.36825942993164,0.0]},{"label":"C","location":[20.449527740478517,14.752262115478516,0.0]},{"label":"O","location":[20.863609313964845,16.29770278930664,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[21.22378921508789,5.066102981567383,0.0]},{"label":"C","location":[21.22378921508789,3.4660792350769045,0.0]},{"label":"C","location":[22.609411239624025,2.666067600250244,0.0]},{"label":"C","location":[23.995031356811525,3.4660792350769045,0.0]},{"label":"C","location":[23.995031356811525,5.066102981567383,0.0]},{"label":"C","location":[22.609411239624025,5.866114616394043,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[23.873374938964845,13.47121810913086,0.0]},{"label":"C","location":[23.867454528808595,15.063383102416993,0.0]},{"label":"C","location":[22.254329681396486,13.491857528686524,0.0]},{"label":"C","location":[22.250328063964845,15.063383102416993,0.0]},{"label":"N","location":[24.998817443847658,16.194747924804689,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[17.35307502746582,15.265052795410157,0.0]},{"label":"C","location":[18.15369987487793,12.800944328308106,0.0]},{"label":"C","location":[18.648406982421876,14.314992904663086,0.0]},{"label":"C","location":[16.552452087402345,12.800944328308106,0.0]},{"label":"C","location":[16.057422637939454,14.314992904663086,0.0]},{"label":"S","location":[17.35307502746582,16.865018844604493,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[18.68425941467285,3.26296329498291,0.0]},{"label":"C","location":[18.6783390045166,4.855135917663574,0.0]},{"label":"C","location":[17.06520652770996,3.2836031913757326,0.0]},{"label":"C","location":[17.061208724975587,4.855135917663574,0.0]},{"label":"P","location":[20.223791122436525,5.269218921661377,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[44.88654327392578,11.802002906799317,0.0]},{"label":"O","location":[44.88654327392578,8.801860809326172,0.0]},{"label":"O","location":[41.97551727294922,7.297069549560547,0.0]},{"label":"O","location":[39.064334869384769,8.801700592041016,0.0]},{"label":"O","location":[41.96656036376953,11.802002906799317,0.0]},{"label":"O","location":[37.78770446777344,10.851127624511719,0.0]},{"label":"C","location":[43.430870056152347,11.0674467086792,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.430870056152347,9.54521656036377,0.0],"stereoLabel":"abs"},{"label":"C","location":[41.96656036376953,8.801700592041016,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,9.544896125793457,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,11.067286491394043,0.0],"stereoLabel":"abs"},{"label":"C","location":[39.064334869384769,11.801682472229004,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-5.538522720336914,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-2.861708164215088,"z":0.0},{"x":5.26297664642334,"y":-8.215337753295899,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-2.861708164215088,"z":0.0},{"x":4.462976455688477,"y":-8.215337753295899,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-16.10541343688965,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-13.439350128173829,"z":0.0},{"x":5.26297664642334,"y":-18.771474838256837,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-13.439350128173829,"z":0.0},{"x":4.462976455688477,"y":-18.771474838256837,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":38.193260192871097,"y":-19.267345428466798,"z":0.0}},"spine":{"pos":[{"x":27.79326057434082,"y":-5.538522720336914,"z":0.0},{"x":27.79326057434082,"y":-32.99617004394531,"z":0.0}]},"tails":{"pos":[{"x":26.993261337280275,"y":-5.538522720336914,"z":0.0},{"x":26.993261337280275,"y":-16.10541343688965,"z":0.0},{"x":26.993261337280275,"y":-21.567201614379884,"z":0.0},{"x":26.993261337280275,"y":-27.46100425720215,"z":0.0},{"x":26.993261337280275,"y":-32.99617004394531,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,-4.223418235778809,0.0]},{"label":"C","location":[3.255575180053711,-2.631316900253296,0.0]},{"label":"C","location":[1.6423542499542237,-4.202779293060303,0.0]},{"label":"C","location":[1.6383543014526368,-2.631316900253296,0.0]},{"label":"F","location":[0.5070357322692871,-1.499997854232788,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,-9.707257270812989,0.0]},{"label":"C","location":[2.685305595397949,-9.707257270812989,0.0]},{"label":"C","location":[1.8843464851379395,-8.323417663574219,0.0]},{"label":"Cl","location":[1.8843464851379395,-6.723418235778809,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,-12.207256317138672,0.0]},{"label":"C","location":[2.684994697570801,-14.671443939208985,0.0]},{"label":"C","location":[3.179720878601074,-13.157506942749024,0.0]},{"label":"C","location":[1.0836968421936036,-14.671443939208985,0.0]},{"label":"C","location":[0.5888104438781738,-13.157506942749024,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,-17.971620559692384,0.0]},{"label":"C","location":[3.2685317993164064,-17.9708194732666,0.0]},{"label":"C","location":[1.886906623840332,-17.171443939208986,0.0]},{"label":"C","location":[3.2685317993164064,-19.572290420532228,0.0]},{"label":"C","location":[0.5000004768371582,-19.579490661621095,0.0]},{"label":"C","location":[1.8904266357421876,-20.371505737304689,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[20.448406219482423,-7.003244876861572,0.0]},{"label":"C","location":[22.050329208374025,-7.003244876861572,0.0]},{"label":"C","location":[21.249526977539064,-5.619243144989014,0.0]},{"label":"O","location":[21.66360855102539,-4.073801040649414,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[22.023788452148439,-15.305401802062989,0.0]},{"label":"C","location":[22.023788452148439,-16.905426025390626,0.0]},{"label":"C","location":[23.40941047668457,-17.70543670654297,0.0]},{"label":"C","location":[24.79503059387207,-16.905426025390626,0.0]},{"label":"C","location":[24.79503059387207,-15.305401802062989,0.0]},{"label":"C","location":[23.40941047668457,-14.505390167236329,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[34.84450149536133,-22.502412796020509,0.0]},{"label":"C","location":[34.83858108520508,-20.910247802734376,0.0]},{"label":"C","location":[33.22545623779297,-22.481773376464845,0.0]},{"label":"C","location":[33.22145462036133,-20.910247802734376,0.0]},{"label":"N","location":[35.96994400024414,-19.778884887695314,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[24.765134811401368,-26.751047134399415,0.0]},{"label":"C","location":[25.565759658813478,-29.21515655517578,0.0]},{"label":"C","location":[26.060466766357423,-27.701107025146486,0.0]},{"label":"C","location":[23.96451187133789,-29.21515655517578,0.0]},{"label":"C","location":[23.469482421875,-27.701107025146486,0.0]},{"label":"S","location":[24.765134811401368,-25.151081085205079,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[22.133798599243165,-43.85889434814453,0.0]},{"label":"C","location":[22.127878189086915,-42.266719818115237,0.0]},{"label":"C","location":[20.514745712280275,-43.838253021240237,0.0]},{"label":"C","location":[20.5107479095459,-42.266719818115237,0.0]},{"label":"P","location":[23.673330307006837,-41.852638244628909,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[46.486541748046878,-17.014877319335939,0.0]},{"label":"O","location":[46.486541748046878,-20.0150203704834,0.0]},{"label":"O","location":[43.57551574707031,-21.519811630249025,0.0]},{"label":"O","location":[40.66433334350586,-20.015180587768556,0.0]},{"label":"O","location":[43.566558837890628,-17.014877319335939,0.0]},{"label":"O","location":[39.38770294189453,-17.96575355529785,0.0]},{"label":"C","location":[45.03086853027344,-17.749435424804689,0.0],"stereoLabel":"abs"},{"label":"C","location":[45.03086853027344,-19.271663665771486,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.566558837890628,-20.015180587768556,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-19.271984100341798,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-17.749595642089845,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.66433334350586,-17.01519775390625,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway2.ket b/api/tests/integration/tests/reaction/ref/arom/pathway2.ket
index 65180ce992..acece7f96a 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway2.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway2.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":31.808698654174806,"y":6.964158058166504,"z":0.0}},"spine":{"pos":[{"x":21.9086971282959,"y":10.03018856048584,"z":0.0},{"x":21.9086971282959,"y":3.8981268405914308,"z":0.0}]},"tails":{"pos":[{"x":21.4086971282959,"y":10.03018856048584,"z":0.0},{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[17.983551025390626,10.462268829345704,0.0]},{"label":"C","location":[18.784191131591798,7.998113632202148,0.0]},{"label":"C","location":[19.27890968322754,9.512189865112305,0.0]},{"label":"C","location":[17.18291473388672,7.998113632202148,0.0]},{"label":"C","location":[16.688034057617189,9.512189865112305,0.0]},{"label":"C","location":[17.983551025390626,12.062265396118164,0.0]},{"label":"C","location":[19.583547592163087,12.062265396118164,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,8.329702377319336,0.0]},{"label":"C","location":[37.15729522705078,8.330501556396485,0.0]},{"label":"C","location":[35.77566909790039,9.129875183105469,0.0]},{"label":"C","location":[37.15729522705078,6.729034423828125,0.0]},{"label":"C","location":[34.388763427734378,6.7218337059021,0.0]},{"label":"C","location":[35.77919006347656,5.9298200607299809,0.0]},{"label":"C","location":[33.003143310546878,5.921819686889648,0.0]},{"label":"C","location":[34.64780807495117,4.798440933227539,0.0]},{"label":"C","location":[38.288673400878909,5.597655296325684,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000571250915529,"z":0.0},{"x":5.262885093688965,"y":-8.43217945098877,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000571250915529,"z":0.0},{"x":4.462884902954102,"y":-8.43217945098877,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":33.40869903564453,"y":-8.832149505615235,"z":0.0}},"spine":{"pos":[{"x":23.008695602416993,"y":-5.766118049621582,"z":0.0},{"x":23.008695602416993,"y":-11.89818000793457,"z":0.0}]},"tails":{"pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":22.208696365356447,"y":-11.89818000793457,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001489639282228,0.0]},{"label":"C","location":[3.268439769744873,-2.299349308013916,0.0]},{"label":"C","location":[1.8868601322174073,-1.5000004768371583,0.0]},{"label":"C","location":[3.268439769744873,-3.900926113128662,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125877380371,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113773345947,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200113773345947,0.0]},{"label":"C","location":[2.6848511695861818,-9.66424560546875,0.0]},{"label":"C","location":[3.179725170135498,-8.150182723999024,0.0]},{"label":"C","location":[1.083749771118164,-9.66424560546875,0.0]},{"label":"C","location":[0.5887150764465332,-8.150182723999024,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.783550262451173,-11.466100692749024,0.0]},{"label":"C","location":[19.584190368652345,-13.930255889892579,0.0]},{"label":"C","location":[20.078908920288087,-12.416179656982422,0.0]},{"label":"C","location":[17.982913970947267,-13.930255889892579,0.0]},{"label":"C","location":[17.488033294677736,-12.416179656982422,0.0]},{"label":"C","location":[18.783550262451173,-9.866104125976563,0.0]},{"label":"C","location":[20.383546829223634,-9.866104125976563,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-7.4666056632995609,0.0]},{"label":"C","location":[38.757293701171878,-7.465806007385254,0.0]},{"label":"C","location":[37.375667572021487,-6.6664323806762699,0.0]},{"label":"C","location":[38.757293701171878,-9.067273139953614,0.0]},{"label":"C","location":[35.98876190185547,-9.074474334716797,0.0]},{"label":"C","location":[37.379188537597659,-9.866487503051758,0.0]},{"label":"C","location":[34.60314178466797,-9.87448787689209,0.0]},{"label":"C","location":[36.247806549072269,-10.9978666305542,0.0]},{"label":"C","location":[39.888671875,-10.198652267456055,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway3.ket b/api/tests/integration/tests/reaction/ref/arom/pathway3.ket
index 178f589c91..a04034c173 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway3.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway3.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0},{"x":31.808698654174806,"y":3.8981266021728517,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,5.263670444488525,0.0]},{"label":"C","location":[37.15729522705078,5.264470100402832,0.0]},{"label":"C","location":[35.77566909790039,6.063843727111816,0.0]},{"label":"C","location":[37.15729522705078,3.6630029678344728,0.0]},{"label":"C","location":[34.388763427734378,3.6558022499084474,0.0]},{"label":"C","location":[35.77919006347656,2.863788604736328,0.0]},{"label":"C","location":[33.003143310546878,2.855788230895996,0.0]},{"label":"C","location":[34.64780807495117,1.7324094772338868,0.0]},{"label":"C","location":[38.288673400878909,2.5316238403320314,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":33.40869903564453,"y":-5.766118049621582,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-4.400574207305908,0.0]},{"label":"C","location":[38.757293701171878,-4.399774551391602,0.0]},{"label":"C","location":[37.375667572021487,-3.600400924682617,0.0]},{"label":"C","location":[38.757293701171878,-6.001241683959961,0.0]},{"label":"C","location":[35.98876190185547,-6.008442401885986,0.0]},{"label":"C","location":[37.379188537597659,-6.8004560470581059,0.0]},{"label":"C","location":[34.60314178466797,-6.8084564208984379,0.0]},{"label":"C","location":[36.247806549072269,-7.931835174560547,0.0]},{"label":"C","location":[39.888671875,-7.132620811462402,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway4.ket b/api/tests/integration/tests/reaction/ref/arom/pathway4.ket
index 58c72c46a5..0886085691 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway4.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway4.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.23126792907715,"y":2.165717124938965,"z":0.0},{"x":31.631269454956056,"y":2.165717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":2.165717124938965,"z":0.0},{"x":14.685455322265625,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,3.3977832794189455,0.0]},{"label":"C","location":[2.5961365699768068,0.9336519241333008,0.0]},{"label":"C","location":[3.091010570526123,2.447714328765869,0.0]},{"label":"C","location":[0.9950351715087891,0.9336519241333008,0.0]},{"label":"C","location":[0.5000004768371582,2.447714328765869,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[15.879900932312012,2.965710163116455,0.0]},{"label":"C","location":[15.879900932312012,1.3657245635986329,0.0]},{"label":"C","location":[17.265487670898439,0.5657310485839844,0.0]},{"label":"C","location":[18.65123748779297,1.3657245635986329,0.0]},{"label":"C","location":[18.65123748779297,2.965710163116455,0.0]},{"label":"C","location":[17.265487670898439,3.765702724456787,0.0]},{"label":"C","location":[20.036823272705079,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[34.211334228515628,3.5312609672546388,0.0]},{"label":"C","location":[36.97986602783203,3.5320606231689455,0.0]},{"label":"C","location":[35.59823989868164,4.33143424987793,0.0]},{"label":"C","location":[36.97986602783203,1.930593490600586,0.0]},{"label":"C","location":[34.211334228515628,1.9233927726745606,0.0]},{"label":"C","location":[35.60176086425781,1.1313791275024415,0.0]},{"label":"C","location":[32.825714111328128,1.1233787536621094,0.0]},{"label":"C","location":[34.47037887573242,0.0,0.0]},{"label":"C","location":[38.111244201660159,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":-3.665717124938965,"z":0.0},{"x":15.485454559326172,"y":-3.665717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.031267166137697,"y":-3.665717124938965,"z":0.0},{"x":33.23126983642578,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,-2.4336514472961427,0.0]},{"label":"C","location":[2.5961365699768068,-4.897782802581787,0.0]},{"label":"C","location":[3.091010570526123,-3.3837203979492189,0.0]},{"label":"C","location":[0.9950351715087891,-4.897782802581787,0.0]},{"label":"C","location":[0.5000004768371582,-3.3837203979492189,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[16.679901123046876,-2.8657240867614748,0.0]},{"label":"C","location":[16.679901123046876,-4.465709686279297,0.0]},{"label":"C","location":[18.065486907958986,-5.265703201293945,0.0]},{"label":"C","location":[19.451236724853517,-4.465709686279297,0.0]},{"label":"C","location":[19.451236724853517,-2.8657240867614748,0.0]},{"label":"C","location":[18.065486907958986,-2.0657315254211427,0.0]},{"label":"C","location":[20.836822509765626,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[35.81133270263672,-2.300173282623291,0.0]},{"label":"C","location":[38.579864501953128,-2.2993736267089845,0.0]},{"label":"C","location":[37.198238372802737,-1.5,0.0]},{"label":"C","location":[38.579864501953128,-3.9008407592773439,0.0]},{"label":"C","location":[35.81133270263672,-3.908041477203369,0.0]},{"label":"C","location":[37.201759338378909,-4.700055122375488,0.0]},{"label":"C","location":[34.42571258544922,-4.70805549621582,0.0]},{"label":"C","location":[36.070377349853519,-5.83143424987793,0.0]},{"label":"C","location":[39.71124267578125,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway5.ket b/api/tests/integration/tests/reaction/ref/arom/pathway5.ket
index 33c8bc5046..50dae6ea8f 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway5.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway5.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":2.165717124938965,"z":0.0},{"x":16.251367568969728,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,2.965710163116455,0.0]},{"label":"C","location":[0.5,1.3657245635986329,0.0]},{"label":"C","location":[1.8855876922607422,0.5657310485839844,0.0]},{"label":"C","location":[3.2713356018066408,1.3657245635986329,0.0]},{"label":"C","location":[3.2713356018066408,2.965710163116455,0.0]},{"label":"C","location":[1.8855876922607422,3.765702724456787,0.0]},{"label":"C","location":[4.656923294067383,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[18.83143424987793,3.5312609672546388,0.0]},{"label":"C","location":[21.59996223449707,3.5320606231689455,0.0]},{"label":"C","location":[20.218338012695314,4.33143424987793,0.0]},{"label":"C","location":[21.59996223449707,1.930593490600586,0.0]},{"label":"C","location":[18.83143424987793,1.9233927726745606,0.0]},{"label":"C","location":[20.22185707092285,1.1313791275024415,0.0]},{"label":"C","location":[17.445810317993165,1.1233787536621094,0.0]},{"label":"C","location":[19.090476989746095,0.0,0.0]},{"label":"C","location":[22.731342315673829,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":-3.665717124938965,"z":0.0},{"x":17.051366806030275,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,-2.8657240867614748,0.0]},{"label":"C","location":[0.5,-4.465709686279297,0.0]},{"label":"C","location":[1.8855876922607422,-5.265703201293945,0.0]},{"label":"C","location":[3.2713356018066408,-4.465709686279297,0.0]},{"label":"C","location":[3.2713356018066408,-2.8657240867614748,0.0]},{"label":"C","location":[1.8855876922607422,-2.0657315254211427,0.0]},{"label":"C","location":[4.656923294067383,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[19.631433486938478,-2.300173282623291,0.0]},{"label":"C","location":[22.399961471557618,-2.2993736267089845,0.0]},{"label":"C","location":[21.01833724975586,-1.5,0.0]},{"label":"C","location":[22.399961471557618,-3.9008407592773439,0.0]},{"label":"C","location":[19.631433486938478,-3.908041477203369,0.0]},{"label":"C","location":[21.0218563079834,-4.700055122375488,0.0]},{"label":"C","location":[18.24580955505371,-4.70805549621582,0.0]},{"label":"C","location":[19.89047622680664,-5.83143424987793,0.0]},{"label":"C","location":[23.531341552734376,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway6.ket b/api/tests/integration/tests/reaction/ref/arom/pathway6.ket
index f935f12ab0..c68188876d 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway6.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway6.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":50.77730178833008,"y":8.532872200012207,"z":0.0}},"spine":{"pos":[{"x":40.877296447753909,"y":15.13511848449707,"z":0.0},{"x":40.877296447753909,"y":1.9306259155273438,"z":0.0}]},"tails":{"pos":[{"x":40.377296447753909,"y":15.13511848449707,"z":0.0},{"x":40.377296447753909,"y":1.9306259155273438,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":15.13511848449707,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":21.249492645263673,"z":0.0},{"x":22.802881240844728,"y":9.020745277404786,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":21.249492645263673,"z":0.0},{"x":22.302881240844728,"y":14.919075012207032,"z":0.0},{"x":22.302881240844728,"y":9.020745277404786,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.302881240844728,"y":1.9306259155273438,"z":0.0},{"x":32.702880859375,"y":1.9306259155273438,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":9.020745277404786,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":11.686806678771973,"z":0.0},{"x":4.962884902954102,"y":6.354684352874756,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":11.686806678771973,"z":0.0},{"x":4.462884902954102,"y":6.354684352874756,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":1.9306259155273438,"z":0.0},{"x":14.862886428833008,"y":1.9306259155273438,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,12.486715316772461,0.0]},{"label":"C","location":[3.268439769744873,12.48751449584961,0.0]},{"label":"C","location":[1.8868601322174073,13.286863327026368,0.0]},{"label":"C","location":[3.268439769744873,10.885937690734864,0.0]},{"label":"C","location":[0.5000003576278687,10.878738403320313,0.0]},{"label":"C","location":[1.8903801441192628,10.086750030517579,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,7.586750030517578,0.0]},{"label":"C","location":[2.6848511695861818,5.122618675231934,0.0]},{"label":"C","location":[3.179725170135498,6.636681079864502,0.0]},{"label":"C","location":[1.083749771118164,5.122618675231934,0.0]},{"label":"C","location":[0.5887150764465332,6.636681079864502,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,9.820738792419434,0.0]},{"label":"C","location":[16.504423141479493,8.220752716064454,0.0]},{"label":"C","location":[17.890010833740236,7.420760154724121,0.0]},{"label":"C","location":[19.2757568359375,8.220752716064454,0.0]},{"label":"C","location":[19.2757568359375,9.820738792419434,0.0]},{"label":"C","location":[17.890010833740236,10.620731353759766,0.0]},{"label":"C","location":[20.661346435546876,10.620731353759766,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,21.68157196044922,0.0]},{"label":"C","location":[19.23128318786621,19.217418670654298,0.0]},{"label":"C","location":[19.726003646850587,20.731494903564454,0.0]},{"label":"C","location":[17.630006790161134,19.217418670654298,0.0]},{"label":"C","location":[17.135128021240236,20.731494903564454,0.0]},{"label":"C","location":[18.430644989013673,23.28156852722168,0.0]},{"label":"C","location":[20.030641555786134,23.28156852722168,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,15.72940444946289,0.0]},{"label":"C","location":[18.85704803466797,16.717418670654298,0.0]},{"label":"C","location":[20.413867950439454,16.361413955688478,0.0]},{"label":"C","location":[21.108436584472658,14.92811393737793,0.0]},{"label":"C","location":[17.611591339111329,14.117865562438965,0.0]},{"label":"C","location":[20.414987564086915,13.476736068725586,0.0]},{"label":"C","location":[18.85704803466797,13.120731353759766,0.0]},{"label":"C","location":[16.057331085205079,16.143489837646486,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,1.2386322021484376,0.0]},{"label":"C","location":[2.6851730346679689,1.2386322021484376,0.0]},{"label":"C","location":[1.8842201232910157,2.62261962890625,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[18.582883834838868,3.1617298126220705,0.0]},{"label":"C","location":[19.877267837524415,2.221261978149414,0.0]},{"label":"C","location":[19.38287353515625,0.6995210647583008,0.0]},{"label":"C","location":[17.782894134521486,0.6995210647583008,0.0]},{"label":"C","location":[17.28849983215332,2.221261978149414,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,16.50066375732422,0.0]},{"label":"C","location":[38.051475524902347,16.501462936401368,0.0]},{"label":"C","location":[36.66985321044922,17.30083465576172,0.0]},{"label":"C","location":[38.051475524902347,14.899994850158692,0.0]},{"label":"C","location":[35.2829475402832,14.89279556274414,0.0]},{"label":"C","location":[36.673370361328128,14.100781440734864,0.0]},{"label":"C","location":[33.89732360839844,14.092782020568848,0.0]},{"label":"C","location":[35.5419921875,12.969402313232422,0.0]},{"label":"C","location":[39.18285369873047,13.76861572265625,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[34.609466552734378,1.1286325454711915,0.0]},{"label":"C","location":[34.60978317260742,2.732619285583496,0.0]},{"label":"C","location":[35.737937927246097,3.861091136932373,0.0]},{"label":"C","location":[35.738258361816409,0.0,0.0]},{"label":"C","location":[37.34208297729492,0.0,0.0]},{"label":"C","location":[38.4707145690918,1.1286325454711915,0.0]},{"label":"C","location":[38.470550537109378,2.732619285583496,0.0]},{"label":"C","location":[37.34208297729492,3.8612513542175295,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[51.97174835205078,5.124068260192871,0.0]},{"label":"C","location":[51.972068786621097,6.7471923828125,0.0]},{"label":"C","location":[53.11383819580078,7.888965606689453,0.0]},{"label":"C","location":[53.114166259765628,3.98197078704834,0.0]},{"label":"C","location":[54.73712921142578,3.98197078704834,0.0]},{"label":"C","location":[55.87922668457031,5.124068260192871,0.0]},{"label":"C","location":[55.879066467285159,6.7471923828125,0.0]},{"label":"C","location":[54.73712921142578,7.889127731323242,0.0]},{"label":"C","location":[52.106773376464847,10.318552017211914,0.0]},{"label":"C","location":[52.10710144042969,11.94167709350586,0.0]},{"label":"C","location":[53.24871063232422,13.083611488342286,0.0]},{"label":"C","location":[53.24903106689453,9.176454544067383,0.0]},{"label":"C","location":[54.87199783325195,9.176454544067383,0.0]},{"label":"C","location":[56.01409149169922,10.318552017211914,0.0]},{"label":"C","location":[56.01393127441406,11.94167709350586,0.0]},{"label":"C","location":[54.87199783325195,13.083773612976075,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766117095947266,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000561714172365,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000561714172365,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.30288314819336,"y":-11.997356414794922,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766117095947266,"z":0.0},{"x":23.90287971496582,"y":-18.228595733642579,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766117095947266,"z":0.0},{"x":23.102880477905275,"y":-11.898178100585938,"z":0.0},{"x":23.102880477905275,"y":-18.228595733642579,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":-23.758045196533204,"z":0.0},{"x":15.662885665893555,"y":-23.758045196533204,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":23.102880477905275,"y":-23.758045196533204,"z":0.0},{"x":34.30288314819336,"y":-23.758045196533204,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":53.177303314208987,"y":-17.877700805664064,"z":0.0}},"spine":{"pos":[{"x":42.77729797363281,"y":-11.997356414794922,"z":0.0},{"x":42.77729797363281,"y":-23.758045196533204,"z":0.0}]},"tails":{"pos":[{"x":41.977298736572269,"y":-11.997356414794922,"z":0.0},{"x":41.977298736572269,"y":-23.758045196533204,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001480102539064,0.0]},{"label":"C","location":[3.268439769744873,-2.2993483543395998,0.0]},{"label":"C","location":[1.8868601322174073,-1.4999995231628419,0.0]},{"label":"C","location":[3.268439769744873,-3.9009251594543459,0.0]},{"label":"C","location":[0.5000003576278687,-3.9081249237060549,0.0]},{"label":"C","location":[1.8903801441192628,-4.700112819671631,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.966124534606934,0.0]},{"label":"C","location":[17.30442237854004,-6.566110610961914,0.0]},{"label":"C","location":[18.69001007080078,-7.366103172302246,0.0]},{"label":"C","location":[20.075756072998048,-6.566110610961914,0.0]},{"label":"C","location":[20.075756072998048,-4.966124534606934,0.0]},{"label":"C","location":[18.69001007080078,-4.166131973266602,0.0]},{"label":"C","location":[21.461345672607423,-4.166131973266602,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.46609878540039,0.0]},{"label":"C","location":[20.031282424926759,-13.930253028869629,0.0]},{"label":"C","location":[20.526002883911134,-12.416175842285157,0.0]},{"label":"C","location":[18.43000602722168,-13.930253028869629,0.0]},{"label":"C","location":[17.93512725830078,-12.416175842285157,0.0]},{"label":"C","location":[19.23064422607422,-9.86610221862793,0.0]},{"label":"C","location":[20.83064079284668,-9.86610221862793,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826629638672,0.0]},{"label":"C","location":[19.657047271728517,-16.430252075195314,0.0]},{"label":"C","location":[21.2138671875,-16.786256790161134,0.0]},{"label":"C","location":[21.908435821533204,-18.21955680847168,0.0]},{"label":"C","location":[18.411590576171876,-19.029804229736329,0.0]},{"label":"C","location":[21.21498680114746,-19.670934677124025,0.0]},{"label":"C","location":[19.657047271728517,-20.026939392089845,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,-24.45003890991211,0.0]},{"label":"C","location":[2.6851730346679689,-24.45003890991211,0.0]},{"label":"C","location":[1.8842201232910157,-23.066051483154298,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[19.382883071899415,-22.526941299438478,0.0]},{"label":"C","location":[20.67726707458496,-23.467409133911134,0.0]},{"label":"C","location":[20.182872772216798,-24.989151000976564,0.0]},{"label":"C","location":[18.58289337158203,-24.989151000976564,0.0]},{"label":"C","location":[18.088499069213868,-23.467409133911134,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[36.88294982910156,-10.631811141967774,0.0]},{"label":"C","location":[39.6514778137207,-10.631011962890625,0.0]},{"label":"C","location":[38.26985549926758,-9.831639289855957,0.0]},{"label":"C","location":[39.6514778137207,-12.2324800491333,0.0]},{"label":"C","location":[36.88294982910156,-12.239679336547852,0.0]},{"label":"C","location":[38.27337646484375,-13.031693458557129,0.0]},{"label":"C","location":[35.4973258972168,-13.039692878723145,0.0]},{"label":"C","location":[37.14199447631836,-14.16307258605957,0.0]},{"label":"C","location":[40.78285598754883,-13.363859176635743,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[36.20946502685547,-24.560039520263673,0.0]},{"label":"C","location":[36.20978546142578,-22.956050872802736,0.0]},{"label":"C","location":[37.33793640136719,-21.827579498291017,0.0]},{"label":"C","location":[37.3382568359375,-25.688671112060548,0.0]},{"label":"C","location":[38.94208526611328,-25.688671112060548,0.0]},{"label":"C","location":[40.070716857910159,-24.560039520263673,0.0]},{"label":"C","location":[40.070556640625,-22.956050872802736,0.0]},{"label":"C","location":[38.94208526611328,-21.82741928100586,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[54.37174987792969,-21.2865047454834,0.0]},{"label":"C","location":[54.3720703125,-19.663379669189454,0.0]},{"label":"C","location":[55.51383972167969,-18.5216064453125,0.0]},{"label":"C","location":[55.51416778564453,-22.42860221862793,0.0]},{"label":"C","location":[57.13713073730469,-22.42860221862793,0.0]},{"label":"C","location":[58.27922821044922,-21.2865047454834,0.0]},{"label":"C","location":[58.27906799316406,-19.663379669189454,0.0]},{"label":"C","location":[57.13713073730469,-18.521446228027345,0.0]},{"label":"C","location":[54.50677490234375,-16.092021942138673,0.0]},{"label":"C","location":[54.507102966308597,-14.468896865844727,0.0]},{"label":"C","location":[55.648712158203128,-13.326961517333985,0.0]},{"label":"C","location":[55.64903259277344,-17.234119415283204,0.0]},{"label":"C","location":[57.27199935913086,-17.234119415283204,0.0]},{"label":"C","location":[58.414093017578128,-16.092021942138673,0.0]},{"label":"C","location":[58.41393280029297,-14.468896865844727,0.0]},{"label":"C","location":[57.27199935913086,-13.326799392700196,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway7.ket b/api/tests/integration/tests/reaction/ref/arom/pathway7.ket
index 24473c0317..e59da3a545 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway7.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway7.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":71.8005142211914,"y":15.753310203552246,"z":0.0}},"spine":{"pos":[{"x":61.9005126953125,"y":24.318458557128908,"z":0.0},{"x":61.9005126953125,"y":7.1881608963012699,"z":0.0}]},"tails":{"pos":[{"x":61.4005126953125,"y":24.318458557128908,"z":0.0},{"x":61.4005126953125,"y":7.1881608963012699,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":35.50852966308594,"y":24.318458557128908,"z":0.0}},"spine":{"pos":[{"x":25.6085262298584,"y":29.7119140625,"z":0.0},{"x":25.6085262298584,"y":18.925006866455079,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":29.7119140625,"z":0.0},{"x":25.1085262298584,"y":24.74292755126953,"z":0.0},{"x":25.1085262298584,"y":18.925006866455079,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":7.1881608963012699,"z":0.0},{"x":35.50852966308594,"y":7.1881608963012699,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,28.512163162231447,0.0]},{"label":"C","location":[13.765717506408692,30.06328773498535,0.0]},{"label":"C","location":[12.194034576416016,28.532411575317384,0.0]},{"label":"C","location":[12.190141677856446,30.06328773498535,0.0]},{"label":"C","location":[10.642601013183594,30.911663055419923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,23.473691940307618,0.0]},{"label":"C","location":[12.78364086151123,25.163124084472658,0.0]},{"label":"C","location":[11.071819305419922,23.495576858520509,0.0]},{"label":"C","location":[11.067578315734864,25.163124084472658,0.0]},{"label":"C","location":[10.16018295288086,25.804018020629884,0.0]},{"label":"C","location":[14.253897666931153,26.012163162231447,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,18.40025520324707,0.0]},{"label":"C","location":[12.54298210144043,19.97838592529297,0.0]},{"label":"C","location":[10.944091796875,18.420696258544923,0.0]},{"label":"C","location":[10.940132141113282,19.97838592529297,0.0]},{"label":"C","location":[10.092357635498047,20.77529525756836,0.0]},{"label":"C","location":[13.462539672851563,20.973690032958986,0.0]},{"label":"C","location":[14.321723937988282,16.876319885253908,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,2.369919776916504,0.0]},{"label":"C","location":[8.728801727294922,0.0,0.0]},{"label":"C","location":[7.992483139038086,1.1547203063964844,0.0]},{"label":"C","location":[10.096963882446289,0.06031990051269531,0.0]},{"label":"C","location":[9.99264144897461,2.430079460144043,0.0]},{"label":"C","location":[10.728961944580079,1.275360107421875,0.0]},{"label":"C","location":[15.349283218383789,0.5019207000732422,0.0]},{"label":"C","location":[15.070564270019532,2.857600212097168,0.0]},{"label":"C","location":[14.529922485351563,1.5993595123291016,0.0]},{"label":"C","location":[16.430564880371095,3.0185604095458986,0.0]},{"label":"C","location":[16.70928382873535,0.6628799438476563,0.0]},{"label":"C","location":[17.249923706054689,1.9211196899414063,0.0]},{"label":"C","location":[1.936478614807129,3.4344005584716799,0.0]},{"label":"C","location":[4.118559837341309,2.503840446472168,0.0]},{"label":"C","location":[3.2961597442626955,3.5990400314331056,0.0]},{"label":"C","location":[3.581282615661621,1.2441596984863282,0.0]},{"label":"C","location":[1.3993606567382813,2.1747207641601564,0.0]},{"label":"C","location":[2.2216014862060549,1.079519271850586,0.0]},{"label":"C","location":[1.7720012664794922,4.79408073425293,0.0]},{"label":"C","location":[3.6688003540039064,6.218400955200195,0.0]},{"label":"C","location":[3.1315202713012697,4.9587202072143559,0.0]},{"label":"C","location":[2.846562385559082,7.313600540161133,0.0]},{"label":"C","location":[0.9496002197265625,5.889281272888184,0.0]},{"label":"C","location":[1.4868803024291993,7.148961067199707,0.0]},{"label":"C","location":[3.2192001342773439,9.932961463928223,0.0]},{"label":"C","location":[1.3222408294677735,8.508642196655274,0.0]},{"label":"C","location":[2.681920051574707,8.673280715942383,0.0]},{"label":"C","location":[0.5,9.603841781616211,0.0]},{"label":"C","location":[2.3968000411987306,11.02816104888916,0.0]},{"label":"C","location":[1.0372800827026368,10.863521575927735,0.0]},{"label":"C","location":[23.914081573486329,4.388160705566406,0.0]},{"label":"C","location":[21.764324188232423,5.390721321105957,0.0]},{"label":"C","location":[23.128643035888673,5.509920120239258,0.0]},{"label":"C","location":[21.185443878173829,4.149439811706543,0.0]},{"label":"C","location":[23.33536148071289,3.146881103515625,0.0]},{"label":"C","location":[21.97104263305664,3.0275211334228517,0.0]},{"label":"C","location":[20.85952377319336,7.876961708068848,0.0]},{"label":"C","location":[23.00928497314453,6.874401092529297,0.0]},{"label":"C","location":[21.644962310791017,6.755040168762207,0.0]},{"label":"C","location":[23.588165283203126,8.115520477294922,0.0]},{"label":"C","location":[21.438243865966798,9.118081092834473,0.0]},{"label":"C","location":[22.802566528320314,9.237441062927246,0.0]},{"label":"C","location":[20.533443450927736,11.604321479797364,0.0]},{"label":"C","location":[22.683364868164064,10.601761817932129,0.0]},{"label":"C","location":[21.31888198852539,10.482400894165039,0.0]},{"label":"C","location":[23.2620849609375,11.84304141998291,0.0]},{"label":"C","location":[21.112323760986329,12.845602035522461,0.0]},{"label":"C","location":[22.476642608642579,12.964962005615235,0.0]},{"label":"C","location":[6.943361282348633,12.192801475524903,0.0]},{"label":"C","location":[8.761760711669922,13.716161727905274,0.0]},{"label":"C","location":[7.412801742553711,13.479361534118653,0.0]},{"label":"C","location":[9.641281127929688,12.666400909423829,0.0]},{"label":"C","location":[7.822881698608398,11.142881393432618,0.0]},{"label":"C","location":[9.17184066772461,11.379681587219239,0.0]},{"label":"C","location":[14.144163131713868,14.316162109375,0.0]},{"label":"C","location":[16.248483657836915,13.221441268920899,0.0]},{"label":"C","location":[15.512323379516602,14.376321792602539,0.0]},{"label":"C","location":[15.616483688354493,12.006401062011719,0.0]},{"label":"C","location":[13.512161254882813,13.10112190246582,0.0]},{"label":"C","location":[14.248321533203125,11.94624137878418,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[48.454429626464847,7.8810272216796879,0.0]},{"label":"C","location":[47.654571533203128,6.495296478271484,0.0]},{"label":"C","location":[49.25446701049805,6.495296478271484,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[44.94873809814453,20.267091751098634,0.0]},{"label":"C","location":[45.06325912475586,17.825939178466798,0.0]},{"label":"C","location":[44.30131530761719,19.013513565063478,0.0]},{"label":"C","location":[46.47262954711914,17.89209747314453,0.0]},{"label":"C","location":[46.35810852050781,20.333251953125,0.0]},{"label":"C","location":[47.120052337646487,19.14583396911621,0.0]},{"label":"C","location":[51.739768981933597,18.359630584716798,0.0]},{"label":"C","location":[51.42440414428711,20.782983779907228,0.0]},{"label":"C","location":[50.88252258300781,19.480257034301759,0.0]},{"label":"C","location":[52.823692321777347,20.964923858642579,0.0]},{"label":"C","location":[53.13890075683594,18.54157066345215,0.0]},{"label":"C","location":[53.680782318115237,19.844295501708986,0.0]},{"label":"C","location":[38.126834869384769,21.2476806640625,0.0]},{"label":"C","location":[40.366355895996097,20.26913833618164,0.0]},{"label":"C","location":[39.52911376953125,21.404890060424806,0.0]},{"label":"C","location":[39.80131530761719,18.976181030273439,0.0]},{"label":"C","location":[37.56195068359375,19.954721450805665,0.0]},{"label":"C","location":[38.399192810058597,18.8189697265625,0.0]},{"label":"C","location":[37.969627380371097,22.649803161621095,0.0]},{"label":"C","location":[39.936790466308597,24.099971771240236,0.0]},{"label":"C","location":[39.37190628051758,22.80701446533203,0.0]},{"label":"C","location":[39.09954833984375,25.2357234954834,0.0]},{"label":"C","location":[37.13238525390625,23.785554885864259,0.0]},{"label":"C","location":[37.69742202758789,25.078514099121095,0.0]},{"label":"C","location":[39.50721740722656,27.930805206298829,0.0]},{"label":"C","location":[37.54021453857422,26.480636596679689,0.0]},{"label":"C","location":[38.94233703613281,26.637845993041993,0.0]},{"label":"C","location":[36.702972412109378,27.61638832092285,0.0]},{"label":"C","location":[38.669979095458987,29.06639862060547,0.0]},{"label":"C","location":[37.26785659790039,28.909189224243165,0.0]},{"label":"C","location":[60.20606994628906,22.471172332763673,0.0]},{"label":"C","location":[57.7664909362793,22.613731384277345,0.0]},{"label":"C","location":[59.02747344970703,23.24666404724121,0.0]},{"label":"C","location":[57.684104919433597,21.205148696899415,0.0]},{"label":"C","location":[60.12384033203125,21.062589645385743,0.0]},{"label":"C","location":[58.862701416015628,20.429656982421876,0.0]},{"label":"C","location":[55.954803466796878,24.65036392211914,0.0]},{"label":"C","location":[58.39453887939453,24.507646560668947,0.0]},{"label":"C","location":[57.133399963378909,23.874713897705079,0.0]},{"label":"C","location":[58.47676467895508,25.916227340698243,0.0]},{"label":"C","location":[56.03718948364258,26.058788299560548,0.0]},{"label":"C","location":[57.29817199707031,26.691877365112306,0.0]},{"label":"C","location":[54.225502014160159,28.095417022705079,0.0]},{"label":"C","location":[56.66523742675781,27.952857971191408,0.0]},{"label":"C","location":[55.40409851074219,27.319927215576173,0.0]},{"label":"C","location":[56.747467041015628,29.36144256591797,0.0]},{"label":"C","location":[54.307884216308597,29.50400161743164,0.0]},{"label":"C","location":[55.568870544433597,30.136934280395509,0.0]},{"label":"C","location":[43.15705871582031,29.60213851928711,0.0]},{"label":"C","location":[45.295448303222659,30.785146713256837,0.0]},{"label":"C","location":[43.88481903076172,30.81097984313965,0.0]},{"label":"C","location":[45.978477478027347,29.550628662109376,0.0]},{"label":"C","location":[43.840240478515628,28.367462158203126,0.0]},{"label":"C","location":[45.25086975097656,28.341787338256837,0.0]},{"label":"C","location":[49.86396789550781,29.900333404541017,0.0]},{"label":"C","location":[50.531715393066409,27.7170467376709,0.0]},{"label":"C","location":[50.99089813232422,29.05127716064453,0.0]},{"label":"C","location":[49.12092590332031,27.741619110107423,0.0]},{"label":"C","location":[48.708213806152347,29.0908145904541,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[75.08549499511719,17.843843460083009,0.0]},{"label":"C","location":[76.56367492675781,17.231491088867189,0.0]},{"label":"C","location":[77.17603302001953,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,17.231491088867189,0.0]},{"label":"C","location":[72.99495697021485,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,14.275128364562989,0.0]},{"label":"C","location":[75.08549499511719,13.662776947021485,0.0]},{"label":"C","location":[76.56367492675781,14.275128364562989,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.308528900146487,"y":-24.969524383544923,"z":0.0}},"spine":{"pos":[{"x":25.908525466918947,"y":-19.57607078552246,"z":0.0},{"x":25.908525466918947,"y":-30.362977981567384,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":-19.57607078552246,"z":0.0},{"x":25.1085262298584,"y":-24.54505729675293,"z":0.0},{"x":25.1085262298584,"y":-30.362977981567384,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":-8.688159942626954,"z":0.0},{"x":36.308528900146487,"y":-8.688159942626954,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":73.4005126953125,"y":-16.828842163085939,"z":0.0}},"spine":{"pos":[{"x":63.000511169433597,"y":-8.688159942626954,"z":0.0},{"x":63.000511169433597,"y":-24.969524383544923,"z":0.0}]},"tails":{"pos":[{"x":62.20051193237305,"y":-8.688159942626954,"z":0.0},{"x":62.20051193237305,"y":-24.969524383544923,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,-20.775821685791017,0.0]},{"label":"C","location":[13.765717506408692,-19.22469711303711,0.0]},{"label":"C","location":[12.194034576416016,-20.755573272705079,0.0]},{"label":"C","location":[12.190141677856446,-19.22469711303711,0.0]},{"label":"C","location":[10.642601013183594,-18.37632179260254,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,-25.814292907714845,0.0]},{"label":"C","location":[12.78364086151123,-24.124860763549806,0.0]},{"label":"C","location":[11.071819305419922,-25.792407989501954,0.0]},{"label":"C","location":[11.067578315734864,-24.124860763549806,0.0]},{"label":"C","location":[10.16018295288086,-23.483966827392579,0.0]},{"label":"C","location":[14.253897666931153,-23.275821685791017,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,-30.887727737426759,0.0]},{"label":"C","location":[12.54298210144043,-29.30959701538086,0.0]},{"label":"C","location":[10.944091796875,-30.867286682128908,0.0]},{"label":"C","location":[10.940132141113282,-29.30959701538086,0.0]},{"label":"C","location":[10.092357635498047,-28.51268768310547,0.0]},{"label":"C","location":[13.462539672851563,-28.314292907714845,0.0]},{"label":"C","location":[14.321723937988282,-32.41166305541992,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,-13.506401062011719,0.0]},{"label":"C","location":[8.728801727294922,-15.876320838928223,0.0]},{"label":"C","location":[7.992483139038086,-14.721600532531739,0.0]},{"label":"C","location":[10.096963882446289,-15.816000938415528,0.0]},{"label":"C","location":[9.99264144897461,-13.44624137878418,0.0]},{"label":"C","location":[10.728961944580079,-14.600960731506348,0.0]},{"label":"C","location":[15.349283218383789,-15.37440013885498,0.0]},{"label":"C","location":[15.070564270019532,-13.018720626831055,0.0]},{"label":"C","location":[14.529922485351563,-14.276961326599121,0.0]},{"label":"C","location":[16.430564880371095,-12.857760429382325,0.0]},{"label":"C","location":[16.70928382873535,-15.213440895080567,0.0]},{"label":"C","location":[17.249923706054689,-13.955201148986817,0.0]},{"label":"C","location":[1.936478614807129,-12.441920280456543,0.0]},{"label":"C","location":[4.118559837341309,-13.372480392456055,0.0]},{"label":"C","location":[3.2961597442626955,-12.277280807495118,0.0]},{"label":"C","location":[3.581282615661621,-14.632161140441895,0.0]},{"label":"C","location":[1.3993606567382813,-13.701600074768067,0.0]},{"label":"C","location":[2.2216014862060549,-14.796801567077637,0.0]},{"label":"C","location":[1.7720012664794922,-11.082240104675293,0.0]},{"label":"C","location":[3.6688003540039064,-9.657919883728028,0.0]},{"label":"C","location":[3.1315202713012697,-10.917600631713868,0.0]},{"label":"C","location":[2.846562385559082,-8.56272029876709,0.0]},{"label":"C","location":[0.9496002197265625,-9.987039566040039,0.0]},{"label":"C","location":[1.4868803024291993,-8.727359771728516,0.0]},{"label":"C","location":[3.2192001342773439,-5.943359375,0.0]},{"label":"C","location":[1.3222408294677735,-7.367678642272949,0.0]},{"label":"C","location":[2.681920051574707,-7.20304012298584,0.0]},{"label":"C","location":[0.5,-6.272479057312012,0.0]},{"label":"C","location":[2.3968000411987306,-4.8481597900390629,0.0]},{"label":"C","location":[1.0372800827026368,-5.012799263000488,0.0]},{"label":"C","location":[23.914081573486329,-11.488160133361817,0.0]},{"label":"C","location":[21.764324188232423,-10.485599517822266,0.0]},{"label":"C","location":[23.128643035888673,-10.366400718688965,0.0]},{"label":"C","location":[21.185443878173829,-11.72688102722168,0.0]},{"label":"C","location":[23.33536148071289,-12.729439735412598,0.0]},{"label":"C","location":[21.97104263305664,-12.848799705505371,0.0]},{"label":"C","location":[20.85952377319336,-7.999359130859375,0.0]},{"label":"C","location":[23.00928497314453,-9.001919746398926,0.0]},{"label":"C","location":[21.644962310791017,-9.121280670166016,0.0]},{"label":"C","location":[23.588165283203126,-7.760800361633301,0.0]},{"label":"C","location":[21.438243865966798,-6.75823974609375,0.0]},{"label":"C","location":[22.802566528320314,-6.638879776000977,0.0]},{"label":"C","location":[20.533443450927736,-4.271999359130859,0.0]},{"label":"C","location":[22.683364868164064,-5.274559020996094,0.0]},{"label":"C","location":[21.31888198852539,-5.393919467926025,0.0]},{"label":"C","location":[23.2620849609375,-4.0332794189453129,0.0]},{"label":"C","location":[21.112323760986329,-3.03071928024292,0.0]},{"label":"C","location":[22.476642608642579,-2.9113588333129885,0.0]},{"label":"C","location":[6.943361282348633,-3.6835193634033205,0.0]},{"label":"C","location":[8.761760711669922,-2.160158634185791,0.0]},{"label":"C","location":[7.412801742553711,-2.3969593048095705,0.0]},{"label":"C","location":[9.641281127929688,-3.2099194526672365,0.0]},{"label":"C","location":[7.822881698608398,-4.7334394454956059,0.0]},{"label":"C","location":[9.17184066772461,-4.496639251708984,0.0]},{"label":"C","location":[14.144163131713868,-1.5601587295532227,0.0]},{"label":"C","location":[16.248483657836915,-2.654879093170166,0.0]},{"label":"C","location":[15.512323379516602,-1.4999985694885255,0.0]},{"label":"C","location":[15.616483688354493,-3.8699193000793459,0.0]},{"label":"C","location":[13.512161254882813,-2.7751989364624025,0.0]},{"label":"C","location":[14.248321533203125,-3.930079460144043,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[49.254432678222659,-7.995294570922852,0.0]},{"label":"C","location":[48.45457458496094,-9.381025314331055,0.0]},{"label":"C","location":[50.05447006225586,-9.381025314331055,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[45.748741149902347,-29.020893096923829,0.0]},{"label":"C","location":[45.863258361816409,-31.46204376220703,0.0]},{"label":"C","location":[45.10131072998047,-30.274471282958986,0.0]},{"label":"C","location":[47.27262878417969,-31.395885467529298,0.0]},{"label":"C","location":[47.15810775756836,-28.954730987548829,0.0]},{"label":"C","location":[47.92005157470703,-30.14215087890625,0.0]},{"label":"C","location":[52.53976821899414,-30.92835235595703,0.0]},{"label":"C","location":[52.224403381347659,-28.505001068115236,0.0]},{"label":"C","location":[51.682518005371097,-29.807727813720704,0.0]},{"label":"C","location":[53.62369155883789,-28.32305908203125,0.0]},{"label":"C","location":[53.93889617919922,-30.746414184570314,0.0]},{"label":"C","location":[54.48078155517578,-29.443687438964845,0.0]},{"label":"C","location":[38.92683410644531,-28.040302276611329,0.0]},{"label":"C","location":[41.166358947753909,-29.018844604492189,0.0]},{"label":"C","location":[40.3291130065918,-27.883094787597658,0.0]},{"label":"C","location":[40.601318359375,-30.311803817749025,0.0]},{"label":"C","location":[38.36195373535156,-29.333263397216798,0.0]},{"label":"C","location":[39.19919204711914,-30.469013214111329,0.0]},{"label":"C","location":[38.769622802734378,-26.638179779052736,0.0]},{"label":"C","location":[40.736785888671878,-25.188011169433595,0.0]},{"label":"C","location":[40.171905517578128,-26.48097038269043,0.0]},{"label":"C","location":[39.8995475769043,-24.052261352539064,0.0]},{"label":"C","location":[37.93238067626953,-25.502429962158204,0.0]},{"label":"C","location":[38.49742126464844,-24.209468841552736,0.0]},{"label":"C","location":[40.307220458984378,-21.357177734375,0.0]},{"label":"C","location":[38.340213775634769,-22.80734634399414,0.0]},{"label":"C","location":[39.74233627319336,-22.65013885498047,0.0]},{"label":"C","location":[37.50297164916992,-21.67159652709961,0.0]},{"label":"C","location":[39.46997833251953,-20.221586227416993,0.0]},{"label":"C","location":[38.06785583496094,-20.378793716430665,0.0]},{"label":"C","location":[61.00606918334961,-26.816810607910158,0.0]},{"label":"C","location":[58.566490173339847,-26.674251556396486,0.0]},{"label":"C","location":[59.82747268676758,-26.04132080078125,0.0]},{"label":"C","location":[58.48410415649414,-28.082836151123048,0.0]},{"label":"C","location":[60.9238395690918,-28.22539520263672,0.0]},{"label":"C","location":[59.66270065307617,-28.858325958251954,0.0]},{"label":"C","location":[56.75480270385742,-24.63762092590332,0.0]},{"label":"C","location":[59.194541931152347,-24.780338287353517,0.0]},{"label":"C","location":[57.93339920043945,-25.413270950317384,0.0]},{"label":"C","location":[59.276763916015628,-23.37175750732422,0.0]},{"label":"C","location":[56.837188720703128,-23.22919464111328,0.0]},{"label":"C","location":[58.098167419433597,-22.596107482910158,0.0]},{"label":"C","location":[55.0255012512207,-21.19256591796875,0.0]},{"label":"C","location":[57.46523666381836,-21.335124969482423,0.0]},{"label":"C","location":[56.204097747802737,-21.968055725097658,0.0]},{"label":"C","location":[57.547462463378909,-19.926542282104493,0.0]},{"label":"C","location":[55.107887268066409,-19.78398323059082,0.0]},{"label":"C","location":[56.368865966796878,-19.151050567626954,0.0]},{"label":"C","location":[43.957054138183597,-19.68584442138672,0.0]},{"label":"C","location":[46.0954475402832,-18.502838134765626,0.0]},{"label":"C","location":[44.684818267822269,-18.477005004882814,0.0]},{"label":"C","location":[46.778472900390628,-19.737356185913087,0.0]},{"label":"C","location":[44.64023971557617,-20.920520782470704,0.0]},{"label":"C","location":[46.05086898803711,-20.946197509765626,0.0]},{"label":"C","location":[50.66396713256836,-19.387651443481447,0.0]},{"label":"C","location":[51.33171463012695,-21.570938110351564,0.0]},{"label":"C","location":[51.790897369384769,-20.23670768737793,0.0]},{"label":"C","location":[49.920928955078128,-21.546363830566408,0.0]},{"label":"C","location":[49.508209228515628,-20.19717025756836,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[76.68550109863281,-14.738308906555176,0.0]},{"label":"C","location":[78.16368103027344,-15.35066032409668,0.0]},{"label":"C","location":[78.77603149414063,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-15.35066032409668,0.0]},{"label":"C","location":[74.59495544433594,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-18.307024002075197,0.0]},{"label":"C","location":[76.68550109863281,-18.919376373291017,0.0]},{"label":"C","location":[78.16368103027344,-18.307024002075197,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway8.ket b/api/tests/integration/tests/reaction/ref/arom/pathway8.ket
index 1fd63bebe3..79d03ca034 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway8.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway8.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/arom/pathway9.ket b/api/tests/integration/tests/reaction/ref/arom/pathway9.ket
index 44b31aef38..29e1753ccd 100644
--- a/api/tests/integration/tests/reaction/ref/arom/pathway9.ket
+++ b/api/tests/integration/tests/reaction/ref/arom/pathway9.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":55.85890579223633,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":61.97328186035156,"z":0.0},{"x":22.802881240844728,"y":49.744529724121097,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":61.97328186035156,"z":0.0},{"x":22.302881240844728,"y":55.642860412597659,"z":0.0},{"x":22.302881240844728,"y":49.744529724121097,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":49.744529724121097,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":52.41059112548828,"z":0.0},{"x":4.962884902954102,"y":47.078468322753909,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":52.41059112548828,"z":0.0},{"x":4.462884902954102,"y":47.078468322753909,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,53.21049880981445,0.0]},{"label":"C","location":[3.268439769744873,53.21129608154297,0.0]},{"label":"C","location":[1.8868601322174073,54.01064682006836,0.0]},{"label":"C","location":[3.268439769744873,51.60972213745117,0.0]},{"label":"C","location":[0.5000003576278687,51.60251998901367,0.0]},{"label":"C","location":[1.8903801441192628,50.81053161621094,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,48.31053161621094,0.0]},{"label":"C","location":[2.6848511695861818,45.84640121459961,0.0]},{"label":"C","location":[3.179725170135498,47.36046600341797,0.0]},{"label":"C","location":[1.083749771118164,45.84640121459961,0.0]},{"label":"C","location":[0.5887150764465332,47.36046600341797,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,50.544525146484378,0.0]},{"label":"C","location":[16.504423141479493,48.94453811645508,0.0]},{"label":"C","location":[17.890010833740236,48.14454650878906,0.0]},{"label":"C","location":[19.2757568359375,48.94453811645508,0.0]},{"label":"C","location":[19.2757568359375,50.544525146484378,0.0]},{"label":"C","location":[17.890010833740236,51.34451675415039,0.0]},{"label":"C","location":[20.661346435546876,51.34451675415039,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,62.405364990234378,0.0]},{"label":"C","location":[19.23128318786621,59.94121170043945,0.0]},{"label":"C","location":[19.726003646850587,61.45528793334961,0.0]},{"label":"C","location":[17.630006790161134,59.94121170043945,0.0]},{"label":"C","location":[17.135128021240236,61.45528793334961,0.0]},{"label":"C","location":[18.430644989013673,64.00536346435547,0.0]},{"label":"C","location":[20.030641555786134,64.00536346435547,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,56.45318603515625,0.0]},{"label":"C","location":[18.85704803466797,57.441200256347659,0.0]},{"label":"C","location":[20.413867950439454,57.08519744873047,0.0]},{"label":"C","location":[21.108436584472658,55.65189743041992,0.0]},{"label":"C","location":[17.611591339111329,54.84164810180664,0.0]},{"label":"C","location":[20.414987564086915,54.20051956176758,0.0]},{"label":"C","location":[18.85704803466797,53.844512939453128,0.0]},{"label":"C","location":[16.057331085205079,56.86727523803711,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,57.224449157714847,0.0]},{"label":"C","location":[38.051475524902347,57.22524642944336,0.0]},{"label":"C","location":[36.66985321044922,58.024620056152347,0.0]},{"label":"C","location":[38.051475524902347,55.623779296875,0.0]},{"label":"C","location":[35.2829475402832,55.616580963134769,0.0]},{"label":"C","location":[36.673370361328128,54.82456588745117,0.0]},{"label":"C","location":[33.89732360839844,54.816566467285159,0.0]},{"label":"C","location":[35.5419921875,53.69318771362305,0.0]},{"label":"C","location":[39.18285369873047,54.492401123046878,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-51.61252212524414,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-48.94646072387695,"z":0.0},{"x":5.262885093688965,"y":-54.27858352661133,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-48.94646072387695,"z":0.0},{"x":4.462884902954102,"y":-54.27858352661133,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-57.8437614440918,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-51.61252212524414,"z":0.0},{"x":23.90287971496582,"y":-64.07499694824219,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-51.61252212524414,"z":0.0},{"x":23.102880477905275,"y":-57.74458312988281,"z":0.0},{"x":23.102880477905275,"y":-64.07499694824219,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":4,"atoms":[56,54]},{"type":4,"atoms":[54,58]},{"type":4,"atoms":[58,59]},{"type":4,"atoms":[59,57]},{"type":4,"atoms":[57,55]},{"type":4,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-48.14655303955078,0.0]},{"label":"C","location":[3.268439769744873,-48.145751953125,0.0]},{"label":"C","location":[1.8868601322174073,-47.346405029296878,0.0]},{"label":"C","location":[3.268439769744873,-49.74732971191406,0.0]},{"label":"C","location":[0.5000003576278687,-49.75453186035156,0.0]},{"label":"C","location":[1.8903801441192628,-50.54651641845703,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-53.04651641845703,0.0]},{"label":"C","location":[2.6848511695861818,-55.510650634765628,0.0]},{"label":"C","location":[3.179725170135498,-53.996585845947269,0.0]},{"label":"C","location":[1.083749771118164,-55.510650634765628,0.0]},{"label":"C","location":[0.5887150764465332,-53.996585845947269,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-50.812530517578128,0.0]},{"label":"C","location":[17.30442237854004,-52.41251754760742,0.0]},{"label":"C","location":[18.69001007080078,-53.21250915527344,0.0]},{"label":"C","location":[20.075756072998048,-52.41251754760742,0.0]},{"label":"C","location":[20.075756072998048,-50.812530517578128,0.0]},{"label":"C","location":[18.69001007080078,-50.01253890991211,0.0]},{"label":"C","location":[21.461345672607423,-50.01253890991211,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-57.312503814697269,0.0]},{"label":"C","location":[20.031282424926759,-59.77665710449219,0.0]},{"label":"C","location":[20.526002883911134,-58.26258087158203,0.0]},{"label":"C","location":[18.43000602722168,-59.77665710449219,0.0]},{"label":"C","location":[17.93512725830078,-58.26258087158203,0.0]},{"label":"C","location":[19.23064422607422,-55.71250915527344,0.0]},{"label":"C","location":[20.83064079284668,-55.71250915527344,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-63.264671325683597,0.0]},{"label":"C","location":[19.657047271728517,-62.27665710449219,0.0]},{"label":"C","location":[21.2138671875,-62.632659912109378,0.0]},{"label":"C","location":[21.908435821533204,-64.06596374511719,0.0]},{"label":"C","location":[18.411590576171876,-64.87620544433594,0.0]},{"label":"C","location":[21.21498680114746,-65.517333984375,0.0]},{"label":"C","location":[19.657047271728517,-65.87334442138672,0.0]},{"label":"C","location":[16.857330322265626,-62.850582122802737,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":4,"atoms":[2,0]},{"type":4,"atoms":[0,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,3]},{"type":4,"atoms":[3,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[8,6]},{"type":4,"atoms":[6,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,9]},{"type":4,"atoms":[9,7]},{"type":4,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":4,"atoms":[14,12]},{"type":4,"atoms":[12,16]},{"type":4,"atoms":[16,17]},{"type":4,"atoms":[17,15]},{"type":4,"atoms":[15,13]},{"type":4,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":4,"atoms":[20,18]},{"type":4,"atoms":[18,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,21]},{"type":4,"atoms":[21,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[18,12]},{"type":4,"atoms":[20,14]},{"type":4,"atoms":[26,24]},{"type":4,"atoms":[24,28]},{"type":4,"atoms":[28,29]},{"type":4,"atoms":[29,27]},{"type":4,"atoms":[27,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[21,26]},{"type":4,"atoms":[23,25]},{"type":4,"atoms":[32,30]},{"type":4,"atoms":[30,34]},{"type":4,"atoms":[34,35]},{"type":4,"atoms":[35,33]},{"type":4,"atoms":[33,31]},{"type":4,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":4,"atoms":[38,36]},{"type":4,"atoms":[36,40]},{"type":4,"atoms":[40,41]},{"type":4,"atoms":[41,39]},{"type":4,"atoms":[39,37]},{"type":4,"atoms":[37,38]},{"type":4,"atoms":[44,42]},{"type":4,"atoms":[42,46]},{"type":4,"atoms":[46,47]},{"type":4,"atoms":[47,45]},{"type":4,"atoms":[45,43]},{"type":4,"atoms":[43,44]},{"type":4,"atoms":[38,31]},{"type":4,"atoms":[37,32]},{"type":4,"atoms":[44,40]},{"type":4,"atoms":[43,41]},{"type":4,"atoms":[50,48]},{"type":4,"atoms":[48,52]},{"type":4,"atoms":[52,53]},{"type":4,"atoms":[53,51]},{"type":4,"atoms":[51,49]},{"type":4,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-56.47821807861328,0.0]},{"label":"C","location":[39.65147399902344,-56.477420806884769,0.0]},{"label":"C","location":[38.26985168457031,-55.67804718017578,0.0]},{"label":"C","location":[39.65147399902344,-58.078887939453128,0.0]},{"label":"C","location":[36.8829460144043,-58.08608627319336,0.0]},{"label":"C","location":[38.27336883544922,-58.87810134887695,0.0]},{"label":"C","location":[35.49732208251953,-58.88610076904297,0.0]},{"label":"C","location":[37.141990661621097,-60.00947952270508,0.0]},{"label":"C","location":[40.78285217285156,-59.21026611328125,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway1.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway1.ket
index ef607b1408..1c6b388ed3 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway1.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway1.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":10.012500762939454,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":16.126874923706056,"z":0.0},{"x":22.802881240844728,"y":3.8981270790100099,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":16.126874923706056,"z":0.0},{"x":22.302881240844728,"y":9.796455383300782,"z":0.0},{"x":22.302881240844728,"y":3.8981270790100099,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":3.8981270790100099,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.962884902954102,"y":1.2320659160614014,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.462884902954102,"y":1.2320659160614014,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.3640971183776859,0.0]},{"label":"C","location":[3.268439769744873,7.364896774291992,0.0]},{"label":"C","location":[1.8868601322174073,8.16424560546875,0.0]},{"label":"C","location":[3.268439769744873,5.763319969177246,0.0]},{"label":"C","location":[0.5000003576278687,5.756120204925537,0.0]},{"label":"C","location":[1.8903801441192628,4.964132308959961,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,4.698119163513184,0.0]},{"label":"C","location":[16.504423141479493,3.098133087158203,0.0]},{"label":"C","location":[17.890010833740236,2.298140525817871,0.0]},{"label":"C","location":[19.2757568359375,3.098133087158203,0.0]},{"label":"C","location":[19.2757568359375,4.698119163513184,0.0]},{"label":"C","location":[17.890010833740236,5.498111724853516,0.0]},{"label":"C","location":[20.661346435546876,5.498111724853516,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,16.5589542388916,0.0]},{"label":"C","location":[19.23128318786621,14.094799995422364,0.0]},{"label":"C","location":[19.726003646850587,15.608877182006836,0.0]},{"label":"C","location":[17.630006790161134,14.094799995422364,0.0]},{"label":"C","location":[17.135128021240236,15.608877182006836,0.0]},{"label":"C","location":[18.430644989013673,18.158950805664064,0.0]},{"label":"C","location":[20.030641555786134,18.158950805664064,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,10.60678482055664,0.0]},{"label":"C","location":[18.85704803466797,11.594799041748047,0.0]},{"label":"C","location":[20.413867950439454,11.238794326782227,0.0]},{"label":"C","location":[21.108436584472658,9.80549430847168,0.0]},{"label":"C","location":[17.611591339111329,8.995245933532715,0.0]},{"label":"C","location":[20.414987564086915,8.354116439819336,0.0]},{"label":"C","location":[18.85704803466797,7.998111724853516,0.0]},{"label":"C","location":[16.057331085205079,11.02087116241455,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,11.378044128417969,0.0]},{"label":"C","location":[38.051475524902347,11.378844261169434,0.0]},{"label":"C","location":[36.66985321044922,12.178218841552735,0.0]},{"label":"C","location":[38.051475524902347,9.777376174926758,0.0]},{"label":"C","location":[35.2829475402832,9.770176887512207,0.0]},{"label":"C","location":[36.673370361328128,8.97816276550293,0.0]},{"label":"C","location":[33.89732360839844,8.970163345336914,0.0]},{"label":"C","location":[35.5419921875,7.846783638000488,0.0]},{"label":"C","location":[39.18285369873047,8.64599609375,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-11.997357368469239,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766118049621582,"z":0.0},{"x":23.90287971496582,"y":-18.22859764099121,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766118049621582,"z":0.0},{"x":23.102880477905275,"y":-11.898179054260254,"z":0.0},{"x":23.102880477905275,"y":-18.22859764099121,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.96612548828125,0.0]},{"label":"C","location":[17.30442237854004,-6.5661115646362309,0.0]},{"label":"C","location":[18.69001007080078,-7.3661041259765629,0.0]},{"label":"C","location":[20.075756072998048,-6.5661115646362309,0.0]},{"label":"C","location":[20.075756072998048,-4.96612548828125,0.0]},{"label":"C","location":[18.69001007080078,-4.166132926940918,0.0]},{"label":"C","location":[21.461345672607423,-4.166132926940918,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.466099739074707,0.0]},{"label":"C","location":[20.031282424926759,-13.930253982543946,0.0]},{"label":"C","location":[20.526002883911134,-12.416176795959473,0.0]},{"label":"C","location":[18.43000602722168,-13.930253982543946,0.0]},{"label":"C","location":[17.93512725830078,-12.416176795959473,0.0]},{"label":"C","location":[19.23064422607422,-9.866103172302246,0.0]},{"label":"C","location":[20.83064079284668,-9.866103172302246,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826820373535,0.0]},{"label":"C","location":[19.657047271728517,-16.430253982543947,0.0]},{"label":"C","location":[21.2138671875,-16.786258697509767,0.0]},{"label":"C","location":[21.908435821533204,-18.219558715820314,0.0]},{"label":"C","location":[18.411590576171876,-19.029808044433595,0.0]},{"label":"C","location":[21.21498680114746,-19.670936584472658,0.0]},{"label":"C","location":[19.657047271728517,-20.026941299438478,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-10.631814002990723,0.0]},{"label":"C","location":[39.65147399902344,-10.631013870239258,0.0]},{"label":"C","location":[38.26985168457031,-9.831639289855957,0.0]},{"label":"C","location":[39.65147399902344,-12.232481956481934,0.0]},{"label":"C","location":[36.8829460144043,-12.239681243896485,0.0]},{"label":"C","location":[38.27336883544922,-13.031695365905762,0.0]},{"label":"C","location":[35.49732208251953,-13.039694786071778,0.0]},{"label":"C","location":[37.141990661621097,-14.163074493408204,0.0]},{"label":"C","location":[40.78285217285156,-13.363862037658692,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway10.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway10.ket
index ebed6ae433..63eb403f0e 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway10.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway10.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.59326171875,"y":9.54953670501709,"z":0.0}},"spine":{"pos":[{"x":26.693262100219728,"y":14.832982063293457,"z":0.0},{"x":26.693262100219728,"y":4.266091346740723,"z":0.0}]},"tails":{"pos":[{"x":26.193262100219728,"y":14.832982063293457,"z":0.0},{"x":26.193262100219728,"y":4.266091346740723,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":14.832982063293457,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":17.509796142578126,"z":0.0},{"x":4.962976455688477,"y":12.156167984008789,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":17.509796142578126,"z":0.0},{"x":4.462976455688477,"y":12.156167984008789,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":4.266091346740723,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":6.932154655456543,"z":0.0},{"x":4.962976455688477,"y":1.6000304222106934,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":6.932154655456543,"z":0.0},{"x":4.462976455688477,"y":1.6000304222106934,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,16.148086547851564,0.0]},{"label":"C","location":[3.255575180053711,17.740188598632814,0.0]},{"label":"C","location":[1.6423542499542237,16.168725967407228,0.0]},{"label":"C","location":[1.6383543014526368,17.740188598632814,0.0]},{"label":"F","location":[0.5070357322692871,18.87150764465332,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,10.6642484664917,0.0]},{"label":"C","location":[2.685305595397949,10.6642484664917,0.0]},{"label":"C","location":[1.8843464851379395,12.048088073730469,0.0]},{"label":"Cl","location":[1.8843464851379395,13.648087501525879,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,8.1642484664917,0.0]},{"label":"C","location":[2.684994697570801,5.700060844421387,0.0]},{"label":"C","location":[3.179720878601074,7.213998317718506,0.0]},{"label":"C","location":[1.0836968421936036,5.700060844421387,0.0]},{"label":"C","location":[0.5888104438781738,7.213998317718506,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,2.3998851776123049,0.0]},{"label":"C","location":[3.2685317993164064,2.4006857872009279,0.0]},{"label":"C","location":[1.886906623840332,3.2000608444213869,0.0]},{"label":"C","location":[3.2685317993164064,0.7992148399353027,0.0]},{"label":"C","location":[0.5000004768371582,0.7920145988464356,0.0]},{"label":"C","location":[1.8904266357421876,0.0,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[19.648406982421876,13.36825942993164,0.0]},{"label":"C","location":[21.250329971313478,13.36825942993164,0.0]},{"label":"C","location":[20.449527740478517,14.752262115478516,0.0]},{"label":"O","location":[20.863609313964845,16.29770278930664,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[21.22378921508789,5.066102981567383,0.0]},{"label":"C","location":[21.22378921508789,3.4660792350769045,0.0]},{"label":"C","location":[22.609411239624025,2.666067600250244,0.0]},{"label":"C","location":[23.995031356811525,3.4660792350769045,0.0]},{"label":"C","location":[23.995031356811525,5.066102981567383,0.0]},{"label":"C","location":[22.609411239624025,5.866114616394043,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[23.873374938964845,13.47121810913086,0.0]},{"label":"C","location":[23.867454528808595,15.063383102416993,0.0]},{"label":"C","location":[22.254329681396486,13.491857528686524,0.0]},{"label":"C","location":[22.250328063964845,15.063383102416993,0.0]},{"label":"N","location":[24.998817443847658,16.194747924804689,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[17.35307502746582,15.265052795410157,0.0]},{"label":"C","location":[18.15369987487793,12.800944328308106,0.0]},{"label":"C","location":[18.648406982421876,14.314992904663086,0.0]},{"label":"C","location":[16.552452087402345,12.800944328308106,0.0]},{"label":"C","location":[16.057422637939454,14.314992904663086,0.0]},{"label":"S","location":[17.35307502746582,16.865018844604493,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[18.68425941467285,3.26296329498291,0.0]},{"label":"C","location":[18.6783390045166,4.855135917663574,0.0]},{"label":"C","location":[17.06520652770996,3.2836031913757326,0.0]},{"label":"C","location":[17.061208724975587,4.855135917663574,0.0]},{"label":"P","location":[20.223791122436525,5.269218921661377,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[44.88654327392578,11.802002906799317,0.0]},{"label":"O","location":[44.88654327392578,8.801860809326172,0.0]},{"label":"O","location":[41.97551727294922,7.297069549560547,0.0]},{"label":"O","location":[39.064334869384769,8.801700592041016,0.0]},{"label":"O","location":[41.96656036376953,11.802002906799317,0.0]},{"label":"O","location":[37.78770446777344,10.851127624511719,0.0]},{"label":"C","location":[43.430870056152347,11.0674467086792,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.430870056152347,9.54521656036377,0.0],"stereoLabel":"abs"},{"label":"C","location":[41.96656036376953,8.801700592041016,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,9.544896125793457,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,11.067286491394043,0.0],"stereoLabel":"abs"},{"label":"C","location":[39.064334869384769,11.801682472229004,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-5.538525581359863,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-2.8617103099823,"z":0.0},{"x":5.26297664642334,"y":-8.215339660644532,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-2.8617103099823,"z":0.0},{"x":4.462976455688477,"y":-8.215339660644532,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-16.105417251586915,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-13.439352989196778,"z":0.0},{"x":5.26297664642334,"y":-18.77147674560547,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-13.439352989196778,"z":0.0},{"x":4.462976455688477,"y":-18.77147674560547,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":38.193260192871097,"y":-10.82197093963623,"z":0.0}},"spine":{"pos":[{"x":27.79326057434082,"y":-5.538525581359863,"z":0.0},{"x":27.79326057434082,"y":-16.105417251586915,"z":0.0}]},"tails":{"pos":[{"x":26.993261337280275,"y":-5.538525581359863,"z":0.0},{"x":26.993261337280275,"y":-16.105417251586915,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,-4.223420143127441,0.0]},{"label":"C","location":[3.255575180053711,-2.631319046020508,0.0]},{"label":"C","location":[1.6423542499542237,-4.202781677246094,0.0]},{"label":"C","location":[1.6383543014526368,-2.631319046020508,0.0]},{"label":"F","location":[0.5070357322692871,-1.5,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,-9.707259178161621,0.0]},{"label":"C","location":[2.685305595397949,-9.707259178161621,0.0]},{"label":"C","location":[1.8843464851379395,-8.323419570922852,0.0]},{"label":"Cl","location":[1.8843464851379395,-6.723420143127441,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,-12.207259178161621,0.0]},{"label":"C","location":[2.684994697570801,-14.671446800231934,0.0]},{"label":"C","location":[3.179720878601074,-13.157508850097657,0.0]},{"label":"C","location":[1.0836968421936036,-14.671446800231934,0.0]},{"label":"C","location":[0.5888104438781738,-13.157508850097657,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,-17.971622467041017,0.0]},{"label":"C","location":[3.2685317993164064,-17.970821380615236,0.0]},{"label":"C","location":[1.886906623840332,-17.17144775390625,0.0]},{"label":"C","location":[3.2685317993164064,-19.57229232788086,0.0]},{"label":"C","location":[0.5000004768371582,-19.579492568969728,0.0]},{"label":"C","location":[1.8904266357421876,-20.37150764465332,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[20.448406219482423,-7.0032477378845219,0.0]},{"label":"C","location":[22.050329208374025,-7.0032477378845219,0.0]},{"label":"C","location":[21.249526977539064,-5.619246006011963,0.0]},{"label":"O","location":[21.66360855102539,-4.073803901672363,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[22.023788452148439,-15.305405616760254,0.0]},{"label":"C","location":[22.023788452148439,-16.90542984008789,0.0]},{"label":"C","location":[23.40941047668457,-17.705440521240236,0.0]},{"label":"C","location":[24.79503059387207,-16.90542984008789,0.0]},{"label":"C","location":[24.79503059387207,-15.305405616760254,0.0]},{"label":"C","location":[23.40941047668457,-14.505393981933594,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[24.67337417602539,-6.900290012359619,0.0]},{"label":"C","location":[24.66745376586914,-5.308125019073486,0.0]},{"label":"C","location":[23.05432891845703,-6.879650115966797,0.0]},{"label":"C","location":[23.05032730102539,-5.308125019073486,0.0]},{"label":"N","location":[25.798816680908204,-4.176760673522949,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[18.153074264526368,-5.106454372406006,0.0]},{"label":"C","location":[18.953699111938478,-7.570562839508057,0.0]},{"label":"C","location":[19.448406219482423,-6.056514739990234,0.0]},{"label":"C","location":[17.35245132446289,-7.570562839508057,0.0]},{"label":"C","location":[16.857421875,-6.056514739990234,0.0]},{"label":"S","location":[18.153074264526368,-3.506488084793091,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[19.4842586517334,-17.108545303344728,0.0]},{"label":"C","location":[19.47833824157715,-15.516372680664063,0.0]},{"label":"C","location":[17.865205764770509,-17.087905883789064,0.0]},{"label":"C","location":[17.861207962036134,-15.516372680664063,0.0]},{"label":"P","location":[21.02379035949707,-15.102289199829102,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[46.486541748046878,-8.569503784179688,0.0]},{"label":"O","location":[46.486541748046878,-11.569646835327149,0.0]},{"label":"O","location":[43.57551574707031,-13.074438095092774,0.0]},{"label":"O","location":[40.66433334350586,-11.569807052612305,0.0]},{"label":"O","location":[43.566558837890628,-8.569503784179688,0.0]},{"label":"O","location":[39.38770294189453,-9.520379066467286,0.0]},{"label":"C","location":[45.03086853027344,-9.304059982299805,0.0],"stereoLabel":"abs"},{"label":"C","location":[45.03086853027344,-10.826290130615235,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.566558837890628,-11.569807052612305,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-10.826610565185547,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-9.304220199584961,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.66433334350586,-8.56982421875,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway2.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway2.ket
index 32f4e4a915..07bdd9c64a 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway2.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway2.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":31.808698654174806,"y":6.964158058166504,"z":0.0}},"spine":{"pos":[{"x":21.9086971282959,"y":10.03018856048584,"z":0.0},{"x":21.9086971282959,"y":3.8981268405914308,"z":0.0}]},"tails":{"pos":[{"x":21.4086971282959,"y":10.03018856048584,"z":0.0},{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[17.983551025390626,10.462268829345704,0.0]},{"label":"C","location":[18.784191131591798,7.998113632202148,0.0]},{"label":"C","location":[19.27890968322754,9.512189865112305,0.0]},{"label":"C","location":[17.18291473388672,7.998113632202148,0.0]},{"label":"C","location":[16.688034057617189,9.512189865112305,0.0]},{"label":"C","location":[17.983551025390626,12.062265396118164,0.0]},{"label":"C","location":[19.583547592163087,12.062265396118164,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,8.329702377319336,0.0]},{"label":"C","location":[37.15729522705078,8.330501556396485,0.0]},{"label":"C","location":[35.77566909790039,9.129875183105469,0.0]},{"label":"C","location":[37.15729522705078,6.729034423828125,0.0]},{"label":"C","location":[34.388763427734378,6.7218337059021,0.0]},{"label":"C","location":[35.77919006347656,5.9298200607299809,0.0]},{"label":"C","location":[33.003143310546878,5.921819686889648,0.0]},{"label":"C","location":[34.64780807495117,4.798440933227539,0.0]},{"label":"C","location":[38.288673400878909,5.597655296325684,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000571250915529,"z":0.0},{"x":5.262885093688965,"y":-8.43217945098877,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000571250915529,"z":0.0},{"x":4.462884902954102,"y":-8.43217945098877,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":33.40869903564453,"y":-8.832149505615235,"z":0.0}},"spine":{"pos":[{"x":23.008695602416993,"y":-5.766118049621582,"z":0.0},{"x":23.008695602416993,"y":-11.89818000793457,"z":0.0}]},"tails":{"pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":22.208696365356447,"y":-11.89818000793457,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001489639282228,0.0]},{"label":"C","location":[3.268439769744873,-2.299349308013916,0.0]},{"label":"C","location":[1.8868601322174073,-1.5000004768371583,0.0]},{"label":"C","location":[3.268439769744873,-3.900926113128662,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125877380371,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113773345947,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200113773345947,0.0]},{"label":"C","location":[2.6848511695861818,-9.66424560546875,0.0]},{"label":"C","location":[3.179725170135498,-8.150182723999024,0.0]},{"label":"C","location":[1.083749771118164,-9.66424560546875,0.0]},{"label":"C","location":[0.5887150764465332,-8.150182723999024,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.783550262451173,-11.466100692749024,0.0]},{"label":"C","location":[19.584190368652345,-13.930255889892579,0.0]},{"label":"C","location":[20.078908920288087,-12.416179656982422,0.0]},{"label":"C","location":[17.982913970947267,-13.930255889892579,0.0]},{"label":"C","location":[17.488033294677736,-12.416179656982422,0.0]},{"label":"C","location":[18.783550262451173,-9.866104125976563,0.0]},{"label":"C","location":[20.383546829223634,-9.866104125976563,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-7.4666056632995609,0.0]},{"label":"C","location":[38.757293701171878,-7.465806007385254,0.0]},{"label":"C","location":[37.375667572021487,-6.6664323806762699,0.0]},{"label":"C","location":[38.757293701171878,-9.067273139953614,0.0]},{"label":"C","location":[35.98876190185547,-9.074474334716797,0.0]},{"label":"C","location":[37.379188537597659,-9.866487503051758,0.0]},{"label":"C","location":[34.60314178466797,-9.87448787689209,0.0]},{"label":"C","location":[36.247806549072269,-10.9978666305542,0.0]},{"label":"C","location":[39.888671875,-10.198652267456055,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway3.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway3.ket
index b2a02d0091..93e23bfa57 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway3.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway3.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0},{"x":31.808698654174806,"y":3.8981266021728517,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,5.263670444488525,0.0]},{"label":"C","location":[37.15729522705078,5.264470100402832,0.0]},{"label":"C","location":[35.77566909790039,6.063843727111816,0.0]},{"label":"C","location":[37.15729522705078,3.6630029678344728,0.0]},{"label":"C","location":[34.388763427734378,3.6558022499084474,0.0]},{"label":"C","location":[35.77919006347656,2.863788604736328,0.0]},{"label":"C","location":[33.003143310546878,2.855788230895996,0.0]},{"label":"C","location":[34.64780807495117,1.7324094772338868,0.0]},{"label":"C","location":[38.288673400878909,2.5316238403320314,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":33.40869903564453,"y":-5.766118049621582,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-4.400574207305908,0.0]},{"label":"C","location":[38.757293701171878,-4.399774551391602,0.0]},{"label":"C","location":[37.375667572021487,-3.600400924682617,0.0]},{"label":"C","location":[38.757293701171878,-6.001241683959961,0.0]},{"label":"C","location":[35.98876190185547,-6.008442401885986,0.0]},{"label":"C","location":[37.379188537597659,-6.8004560470581059,0.0]},{"label":"C","location":[34.60314178466797,-6.8084564208984379,0.0]},{"label":"C","location":[36.247806549072269,-7.931835174560547,0.0]},{"label":"C","location":[39.888671875,-7.132620811462402,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway4.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway4.ket
index 58c72c46a5..0886085691 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway4.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway4.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.23126792907715,"y":2.165717124938965,"z":0.0},{"x":31.631269454956056,"y":2.165717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":2.165717124938965,"z":0.0},{"x":14.685455322265625,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,3.3977832794189455,0.0]},{"label":"C","location":[2.5961365699768068,0.9336519241333008,0.0]},{"label":"C","location":[3.091010570526123,2.447714328765869,0.0]},{"label":"C","location":[0.9950351715087891,0.9336519241333008,0.0]},{"label":"C","location":[0.5000004768371582,2.447714328765869,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[15.879900932312012,2.965710163116455,0.0]},{"label":"C","location":[15.879900932312012,1.3657245635986329,0.0]},{"label":"C","location":[17.265487670898439,0.5657310485839844,0.0]},{"label":"C","location":[18.65123748779297,1.3657245635986329,0.0]},{"label":"C","location":[18.65123748779297,2.965710163116455,0.0]},{"label":"C","location":[17.265487670898439,3.765702724456787,0.0]},{"label":"C","location":[20.036823272705079,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[34.211334228515628,3.5312609672546388,0.0]},{"label":"C","location":[36.97986602783203,3.5320606231689455,0.0]},{"label":"C","location":[35.59823989868164,4.33143424987793,0.0]},{"label":"C","location":[36.97986602783203,1.930593490600586,0.0]},{"label":"C","location":[34.211334228515628,1.9233927726745606,0.0]},{"label":"C","location":[35.60176086425781,1.1313791275024415,0.0]},{"label":"C","location":[32.825714111328128,1.1233787536621094,0.0]},{"label":"C","location":[34.47037887573242,0.0,0.0]},{"label":"C","location":[38.111244201660159,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":-3.665717124938965,"z":0.0},{"x":15.485454559326172,"y":-3.665717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.031267166137697,"y":-3.665717124938965,"z":0.0},{"x":33.23126983642578,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,-2.4336514472961427,0.0]},{"label":"C","location":[2.5961365699768068,-4.897782802581787,0.0]},{"label":"C","location":[3.091010570526123,-3.3837203979492189,0.0]},{"label":"C","location":[0.9950351715087891,-4.897782802581787,0.0]},{"label":"C","location":[0.5000004768371582,-3.3837203979492189,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[16.679901123046876,-2.8657240867614748,0.0]},{"label":"C","location":[16.679901123046876,-4.465709686279297,0.0]},{"label":"C","location":[18.065486907958986,-5.265703201293945,0.0]},{"label":"C","location":[19.451236724853517,-4.465709686279297,0.0]},{"label":"C","location":[19.451236724853517,-2.8657240867614748,0.0]},{"label":"C","location":[18.065486907958986,-2.0657315254211427,0.0]},{"label":"C","location":[20.836822509765626,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[35.81133270263672,-2.300173282623291,0.0]},{"label":"C","location":[38.579864501953128,-2.2993736267089845,0.0]},{"label":"C","location":[37.198238372802737,-1.5,0.0]},{"label":"C","location":[38.579864501953128,-3.9008407592773439,0.0]},{"label":"C","location":[35.81133270263672,-3.908041477203369,0.0]},{"label":"C","location":[37.201759338378909,-4.700055122375488,0.0]},{"label":"C","location":[34.42571258544922,-4.70805549621582,0.0]},{"label":"C","location":[36.070377349853519,-5.83143424987793,0.0]},{"label":"C","location":[39.71124267578125,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway5.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway5.ket
index 33c8bc5046..50dae6ea8f 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway5.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway5.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":2.165717124938965,"z":0.0},{"x":16.251367568969728,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,2.965710163116455,0.0]},{"label":"C","location":[0.5,1.3657245635986329,0.0]},{"label":"C","location":[1.8855876922607422,0.5657310485839844,0.0]},{"label":"C","location":[3.2713356018066408,1.3657245635986329,0.0]},{"label":"C","location":[3.2713356018066408,2.965710163116455,0.0]},{"label":"C","location":[1.8855876922607422,3.765702724456787,0.0]},{"label":"C","location":[4.656923294067383,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[18.83143424987793,3.5312609672546388,0.0]},{"label":"C","location":[21.59996223449707,3.5320606231689455,0.0]},{"label":"C","location":[20.218338012695314,4.33143424987793,0.0]},{"label":"C","location":[21.59996223449707,1.930593490600586,0.0]},{"label":"C","location":[18.83143424987793,1.9233927726745606,0.0]},{"label":"C","location":[20.22185707092285,1.1313791275024415,0.0]},{"label":"C","location":[17.445810317993165,1.1233787536621094,0.0]},{"label":"C","location":[19.090476989746095,0.0,0.0]},{"label":"C","location":[22.731342315673829,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":-3.665717124938965,"z":0.0},{"x":17.051366806030275,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,-2.8657240867614748,0.0]},{"label":"C","location":[0.5,-4.465709686279297,0.0]},{"label":"C","location":[1.8855876922607422,-5.265703201293945,0.0]},{"label":"C","location":[3.2713356018066408,-4.465709686279297,0.0]},{"label":"C","location":[3.2713356018066408,-2.8657240867614748,0.0]},{"label":"C","location":[1.8855876922607422,-2.0657315254211427,0.0]},{"label":"C","location":[4.656923294067383,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[19.631433486938478,-2.300173282623291,0.0]},{"label":"C","location":[22.399961471557618,-2.2993736267089845,0.0]},{"label":"C","location":[21.01833724975586,-1.5,0.0]},{"label":"C","location":[22.399961471557618,-3.9008407592773439,0.0]},{"label":"C","location":[19.631433486938478,-3.908041477203369,0.0]},{"label":"C","location":[21.0218563079834,-4.700055122375488,0.0]},{"label":"C","location":[18.24580955505371,-4.70805549621582,0.0]},{"label":"C","location":[19.89047622680664,-5.83143424987793,0.0]},{"label":"C","location":[23.531341552734376,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway6.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway6.ket
index cce8e258a5..adbcf831f2 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway6.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway6.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":50.77730178833008,"y":8.532872200012207,"z":0.0}},"spine":{"pos":[{"x":40.877296447753909,"y":15.13511848449707,"z":0.0},{"x":40.877296447753909,"y":1.9306259155273438,"z":0.0}]},"tails":{"pos":[{"x":40.377296447753909,"y":15.13511848449707,"z":0.0},{"x":40.377296447753909,"y":1.9306259155273438,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":15.13511848449707,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":21.249492645263673,"z":0.0},{"x":22.802881240844728,"y":9.020745277404786,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":21.249492645263673,"z":0.0},{"x":22.302881240844728,"y":14.919075012207032,"z":0.0},{"x":22.302881240844728,"y":9.020745277404786,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.302881240844728,"y":1.9306259155273438,"z":0.0},{"x":32.702880859375,"y":1.9306259155273438,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":9.020745277404786,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":11.686806678771973,"z":0.0},{"x":4.962884902954102,"y":6.354684352874756,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":11.686806678771973,"z":0.0},{"x":4.462884902954102,"y":6.354684352874756,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":1.9306259155273438,"z":0.0},{"x":14.862886428833008,"y":1.9306259155273438,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,12.486715316772461,0.0]},{"label":"C","location":[3.268439769744873,12.48751449584961,0.0]},{"label":"C","location":[1.8868601322174073,13.286863327026368,0.0]},{"label":"C","location":[3.268439769744873,10.885937690734864,0.0]},{"label":"C","location":[0.5000003576278687,10.878738403320313,0.0]},{"label":"C","location":[1.8903801441192628,10.086750030517579,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,7.586750030517578,0.0]},{"label":"C","location":[2.6848511695861818,5.122618675231934,0.0]},{"label":"C","location":[3.179725170135498,6.636681079864502,0.0]},{"label":"C","location":[1.083749771118164,5.122618675231934,0.0]},{"label":"C","location":[0.5887150764465332,6.636681079864502,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,9.820738792419434,0.0]},{"label":"C","location":[16.504423141479493,8.220752716064454,0.0]},{"label":"C","location":[17.890010833740236,7.420760154724121,0.0]},{"label":"C","location":[19.2757568359375,8.220752716064454,0.0]},{"label":"C","location":[19.2757568359375,9.820738792419434,0.0]},{"label":"C","location":[17.890010833740236,10.620731353759766,0.0]},{"label":"C","location":[20.661346435546876,10.620731353759766,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,21.68157196044922,0.0]},{"label":"C","location":[19.23128318786621,19.217418670654298,0.0]},{"label":"C","location":[19.726003646850587,20.731494903564454,0.0]},{"label":"C","location":[17.630006790161134,19.217418670654298,0.0]},{"label":"C","location":[17.135128021240236,20.731494903564454,0.0]},{"label":"C","location":[18.430644989013673,23.28156852722168,0.0]},{"label":"C","location":[20.030641555786134,23.28156852722168,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,15.72940444946289,0.0]},{"label":"C","location":[18.85704803466797,16.717418670654298,0.0]},{"label":"C","location":[20.413867950439454,16.361413955688478,0.0]},{"label":"C","location":[21.108436584472658,14.92811393737793,0.0]},{"label":"C","location":[17.611591339111329,14.117865562438965,0.0]},{"label":"C","location":[20.414987564086915,13.476736068725586,0.0]},{"label":"C","location":[18.85704803466797,13.120731353759766,0.0]},{"label":"C","location":[16.057331085205079,16.143489837646486,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,1.2386322021484376,0.0]},{"label":"C","location":[2.6851730346679689,1.2386322021484376,0.0]},{"label":"C","location":[1.8842201232910157,2.62261962890625,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[18.582883834838868,3.1617298126220705,0.0]},{"label":"C","location":[19.877267837524415,2.221261978149414,0.0]},{"label":"C","location":[19.38287353515625,0.6995210647583008,0.0]},{"label":"C","location":[17.782894134521486,0.6995210647583008,0.0]},{"label":"C","location":[17.28849983215332,2.221261978149414,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,16.50066375732422,0.0]},{"label":"C","location":[38.051475524902347,16.501462936401368,0.0]},{"label":"C","location":[36.66985321044922,17.30083465576172,0.0]},{"label":"C","location":[38.051475524902347,14.899994850158692,0.0]},{"label":"C","location":[35.2829475402832,14.89279556274414,0.0]},{"label":"C","location":[36.673370361328128,14.100781440734864,0.0]},{"label":"C","location":[33.89732360839844,14.092782020568848,0.0]},{"label":"C","location":[35.5419921875,12.969402313232422,0.0]},{"label":"C","location":[39.18285369873047,13.76861572265625,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[34.609466552734378,1.1286325454711915,0.0]},{"label":"C","location":[34.60978317260742,2.732619285583496,0.0]},{"label":"C","location":[35.737937927246097,3.861091136932373,0.0]},{"label":"C","location":[35.738258361816409,0.0,0.0]},{"label":"C","location":[37.34208297729492,0.0,0.0]},{"label":"C","location":[38.4707145690918,1.1286325454711915,0.0]},{"label":"C","location":[38.470550537109378,2.732619285583496,0.0]},{"label":"C","location":[37.34208297729492,3.8612513542175295,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[51.97174835205078,5.124068260192871,0.0]},{"label":"C","location":[51.972068786621097,6.7471923828125,0.0]},{"label":"C","location":[53.11383819580078,7.888965606689453,0.0]},{"label":"C","location":[53.114166259765628,3.98197078704834,0.0]},{"label":"C","location":[54.73712921142578,3.98197078704834,0.0]},{"label":"C","location":[55.87922668457031,5.124068260192871,0.0]},{"label":"C","location":[55.879066467285159,6.7471923828125,0.0]},{"label":"C","location":[54.73712921142578,7.889127731323242,0.0]},{"label":"C","location":[52.106773376464847,10.318552017211914,0.0]},{"label":"C","location":[52.10710144042969,11.94167709350586,0.0]},{"label":"C","location":[53.24871063232422,13.083611488342286,0.0]},{"label":"C","location":[53.24903106689453,9.176454544067383,0.0]},{"label":"C","location":[54.87199783325195,9.176454544067383,0.0]},{"label":"C","location":[56.01409149169922,10.318552017211914,0.0]},{"label":"C","location":[56.01393127441406,11.94167709350586,0.0]},{"label":"C","location":[54.87199783325195,13.083773612976075,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766117095947266,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000561714172365,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000561714172365,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.30288314819336,"y":-11.997356414794922,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766117095947266,"z":0.0},{"x":23.90287971496582,"y":-18.228595733642579,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766117095947266,"z":0.0},{"x":23.102880477905275,"y":-11.898178100585938,"z":0.0},{"x":23.102880477905275,"y":-18.228595733642579,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":-23.758045196533204,"z":0.0},{"x":15.662885665893555,"y":-23.758045196533204,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":23.102880477905275,"y":-23.758045196533204,"z":0.0},{"x":34.30288314819336,"y":-23.758045196533204,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":53.177303314208987,"y":-17.877700805664064,"z":0.0}},"spine":{"pos":[{"x":42.77729797363281,"y":-11.997356414794922,"z":0.0},{"x":42.77729797363281,"y":-23.758045196533204,"z":0.0}]},"tails":{"pos":[{"x":41.977298736572269,"y":-11.997356414794922,"z":0.0},{"x":41.977298736572269,"y":-23.758045196533204,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001480102539064,0.0]},{"label":"C","location":[3.268439769744873,-2.2993483543395998,0.0]},{"label":"C","location":[1.8868601322174073,-1.4999995231628419,0.0]},{"label":"C","location":[3.268439769744873,-3.9009251594543459,0.0]},{"label":"C","location":[0.5000003576278687,-3.9081249237060549,0.0]},{"label":"C","location":[1.8903801441192628,-4.700112819671631,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.966124534606934,0.0]},{"label":"C","location":[17.30442237854004,-6.566110610961914,0.0]},{"label":"C","location":[18.69001007080078,-7.366103172302246,0.0]},{"label":"C","location":[20.075756072998048,-6.566110610961914,0.0]},{"label":"C","location":[20.075756072998048,-4.966124534606934,0.0]},{"label":"C","location":[18.69001007080078,-4.166131973266602,0.0]},{"label":"C","location":[21.461345672607423,-4.166131973266602,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.46609878540039,0.0]},{"label":"C","location":[20.031282424926759,-13.930253028869629,0.0]},{"label":"C","location":[20.526002883911134,-12.416175842285157,0.0]},{"label":"C","location":[18.43000602722168,-13.930253028869629,0.0]},{"label":"C","location":[17.93512725830078,-12.416175842285157,0.0]},{"label":"C","location":[19.23064422607422,-9.86610221862793,0.0]},{"label":"C","location":[20.83064079284668,-9.86610221862793,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826629638672,0.0]},{"label":"C","location":[19.657047271728517,-16.430252075195314,0.0]},{"label":"C","location":[21.2138671875,-16.786256790161134,0.0]},{"label":"C","location":[21.908435821533204,-18.21955680847168,0.0]},{"label":"C","location":[18.411590576171876,-19.029804229736329,0.0]},{"label":"C","location":[21.21498680114746,-19.670934677124025,0.0]},{"label":"C","location":[19.657047271728517,-20.026939392089845,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,-24.45003890991211,0.0]},{"label":"C","location":[2.6851730346679689,-24.45003890991211,0.0]},{"label":"C","location":[1.8842201232910157,-23.066051483154298,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[19.382883071899415,-22.526941299438478,0.0]},{"label":"C","location":[20.67726707458496,-23.467409133911134,0.0]},{"label":"C","location":[20.182872772216798,-24.989151000976564,0.0]},{"label":"C","location":[18.58289337158203,-24.989151000976564,0.0]},{"label":"C","location":[18.088499069213868,-23.467409133911134,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[36.88294982910156,-10.631811141967774,0.0]},{"label":"C","location":[39.6514778137207,-10.631011962890625,0.0]},{"label":"C","location":[38.26985549926758,-9.831639289855957,0.0]},{"label":"C","location":[39.6514778137207,-12.2324800491333,0.0]},{"label":"C","location":[36.88294982910156,-12.239679336547852,0.0]},{"label":"C","location":[38.27337646484375,-13.031693458557129,0.0]},{"label":"C","location":[35.4973258972168,-13.039692878723145,0.0]},{"label":"C","location":[37.14199447631836,-14.16307258605957,0.0]},{"label":"C","location":[40.78285598754883,-13.363859176635743,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[36.20946502685547,-24.560039520263673,0.0]},{"label":"C","location":[36.20978546142578,-22.956050872802736,0.0]},{"label":"C","location":[37.33793640136719,-21.827579498291017,0.0]},{"label":"C","location":[37.3382568359375,-25.688671112060548,0.0]},{"label":"C","location":[38.94208526611328,-25.688671112060548,0.0]},{"label":"C","location":[40.070716857910159,-24.560039520263673,0.0]},{"label":"C","location":[40.070556640625,-22.956050872802736,0.0]},{"label":"C","location":[38.94208526611328,-21.82741928100586,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[54.37174987792969,-21.2865047454834,0.0]},{"label":"C","location":[54.3720703125,-19.663379669189454,0.0]},{"label":"C","location":[55.51383972167969,-18.5216064453125,0.0]},{"label":"C","location":[55.51416778564453,-22.42860221862793,0.0]},{"label":"C","location":[57.13713073730469,-22.42860221862793,0.0]},{"label":"C","location":[58.27922821044922,-21.2865047454834,0.0]},{"label":"C","location":[58.27906799316406,-19.663379669189454,0.0]},{"label":"C","location":[57.13713073730469,-18.521446228027345,0.0]},{"label":"C","location":[54.50677490234375,-16.092021942138673,0.0]},{"label":"C","location":[54.507102966308597,-14.468896865844727,0.0]},{"label":"C","location":[55.648712158203128,-13.326961517333985,0.0]},{"label":"C","location":[55.64903259277344,-17.234119415283204,0.0]},{"label":"C","location":[57.27199935913086,-17.234119415283204,0.0]},{"label":"C","location":[58.414093017578128,-16.092021942138673,0.0]},{"label":"C","location":[58.41393280029297,-14.468896865844727,0.0]},{"label":"C","location":[57.27199935913086,-13.326799392700196,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway7.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway7.ket
index b1d4390f9c..e0c922eb54 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway7.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway7.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":71.8005142211914,"y":15.753310203552246,"z":0.0}},"spine":{"pos":[{"x":61.9005126953125,"y":24.318458557128908,"z":0.0},{"x":61.9005126953125,"y":7.1881608963012699,"z":0.0}]},"tails":{"pos":[{"x":61.4005126953125,"y":24.318458557128908,"z":0.0},{"x":61.4005126953125,"y":7.1881608963012699,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":35.50852966308594,"y":24.318458557128908,"z":0.0}},"spine":{"pos":[{"x":25.6085262298584,"y":29.7119140625,"z":0.0},{"x":25.6085262298584,"y":18.925006866455079,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":29.7119140625,"z":0.0},{"x":25.1085262298584,"y":24.74292755126953,"z":0.0},{"x":25.1085262298584,"y":18.925006866455079,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":7.1881608963012699,"z":0.0},{"x":35.50852966308594,"y":7.1881608963012699,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,28.512163162231447,0.0]},{"label":"C","location":[13.765717506408692,30.06328773498535,0.0]},{"label":"C","location":[12.194034576416016,28.532411575317384,0.0]},{"label":"C","location":[12.190141677856446,30.06328773498535,0.0]},{"label":"C","location":[10.642601013183594,30.911663055419923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,23.473691940307618,0.0]},{"label":"C","location":[12.78364086151123,25.163124084472658,0.0]},{"label":"C","location":[11.071819305419922,23.495576858520509,0.0]},{"label":"C","location":[11.067578315734864,25.163124084472658,0.0]},{"label":"C","location":[10.16018295288086,25.804018020629884,0.0]},{"label":"C","location":[14.253897666931153,26.012163162231447,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,18.40025520324707,0.0]},{"label":"C","location":[12.54298210144043,19.97838592529297,0.0]},{"label":"C","location":[10.944091796875,18.420696258544923,0.0]},{"label":"C","location":[10.940132141113282,19.97838592529297,0.0]},{"label":"C","location":[10.092357635498047,20.77529525756836,0.0]},{"label":"C","location":[13.462539672851563,20.973690032958986,0.0]},{"label":"C","location":[14.321723937988282,16.876319885253908,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,2.369919776916504,0.0]},{"label":"C","location":[8.728801727294922,0.0,0.0]},{"label":"C","location":[7.992483139038086,1.1547203063964844,0.0]},{"label":"C","location":[10.096963882446289,0.06031990051269531,0.0]},{"label":"C","location":[9.99264144897461,2.430079460144043,0.0]},{"label":"C","location":[10.728961944580079,1.275360107421875,0.0]},{"label":"C","location":[15.349283218383789,0.5019207000732422,0.0]},{"label":"C","location":[15.070564270019532,2.857600212097168,0.0]},{"label":"C","location":[14.529922485351563,1.5993595123291016,0.0]},{"label":"C","location":[16.430564880371095,3.0185604095458986,0.0]},{"label":"C","location":[16.70928382873535,0.6628799438476563,0.0]},{"label":"C","location":[17.249923706054689,1.9211196899414063,0.0]},{"label":"C","location":[1.936478614807129,3.4344005584716799,0.0]},{"label":"C","location":[4.118559837341309,2.503840446472168,0.0]},{"label":"C","location":[3.2961597442626955,3.5990400314331056,0.0]},{"label":"C","location":[3.581282615661621,1.2441596984863282,0.0]},{"label":"C","location":[1.3993606567382813,2.1747207641601564,0.0]},{"label":"C","location":[2.2216014862060549,1.079519271850586,0.0]},{"label":"C","location":[1.7720012664794922,4.79408073425293,0.0]},{"label":"C","location":[3.6688003540039064,6.218400955200195,0.0]},{"label":"C","location":[3.1315202713012697,4.9587202072143559,0.0]},{"label":"C","location":[2.846562385559082,7.313600540161133,0.0]},{"label":"C","location":[0.9496002197265625,5.889281272888184,0.0]},{"label":"C","location":[1.4868803024291993,7.148961067199707,0.0]},{"label":"C","location":[3.2192001342773439,9.932961463928223,0.0]},{"label":"C","location":[1.3222408294677735,8.508642196655274,0.0]},{"label":"C","location":[2.681920051574707,8.673280715942383,0.0]},{"label":"C","location":[0.5,9.603841781616211,0.0]},{"label":"C","location":[2.3968000411987306,11.02816104888916,0.0]},{"label":"C","location":[1.0372800827026368,10.863521575927735,0.0]},{"label":"C","location":[23.914081573486329,4.388160705566406,0.0]},{"label":"C","location":[21.764324188232423,5.390721321105957,0.0]},{"label":"C","location":[23.128643035888673,5.509920120239258,0.0]},{"label":"C","location":[21.185443878173829,4.149439811706543,0.0]},{"label":"C","location":[23.33536148071289,3.146881103515625,0.0]},{"label":"C","location":[21.97104263305664,3.0275211334228517,0.0]},{"label":"C","location":[20.85952377319336,7.876961708068848,0.0]},{"label":"C","location":[23.00928497314453,6.874401092529297,0.0]},{"label":"C","location":[21.644962310791017,6.755040168762207,0.0]},{"label":"C","location":[23.588165283203126,8.115520477294922,0.0]},{"label":"C","location":[21.438243865966798,9.118081092834473,0.0]},{"label":"C","location":[22.802566528320314,9.237441062927246,0.0]},{"label":"C","location":[20.533443450927736,11.604321479797364,0.0]},{"label":"C","location":[22.683364868164064,10.601761817932129,0.0]},{"label":"C","location":[21.31888198852539,10.482400894165039,0.0]},{"label":"C","location":[23.2620849609375,11.84304141998291,0.0]},{"label":"C","location":[21.112323760986329,12.845602035522461,0.0]},{"label":"C","location":[22.476642608642579,12.964962005615235,0.0]},{"label":"C","location":[6.943361282348633,12.192801475524903,0.0]},{"label":"C","location":[8.761760711669922,13.716161727905274,0.0]},{"label":"C","location":[7.412801742553711,13.479361534118653,0.0]},{"label":"C","location":[9.641281127929688,12.666400909423829,0.0]},{"label":"C","location":[7.822881698608398,11.142881393432618,0.0]},{"label":"C","location":[9.17184066772461,11.379681587219239,0.0]},{"label":"C","location":[14.144163131713868,14.316162109375,0.0]},{"label":"C","location":[16.248483657836915,13.221441268920899,0.0]},{"label":"C","location":[15.512323379516602,14.376321792602539,0.0]},{"label":"C","location":[15.616483688354493,12.006401062011719,0.0]},{"label":"C","location":[13.512161254882813,13.10112190246582,0.0]},{"label":"C","location":[14.248321533203125,11.94624137878418,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[48.454429626464847,7.8810272216796879,0.0]},{"label":"C","location":[47.654571533203128,6.495296478271484,0.0]},{"label":"C","location":[49.25446701049805,6.495296478271484,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[44.94873809814453,20.267091751098634,0.0]},{"label":"C","location":[45.06325912475586,17.825939178466798,0.0]},{"label":"C","location":[44.30131530761719,19.013513565063478,0.0]},{"label":"C","location":[46.47262954711914,17.89209747314453,0.0]},{"label":"C","location":[46.35810852050781,20.333251953125,0.0]},{"label":"C","location":[47.120052337646487,19.14583396911621,0.0]},{"label":"C","location":[51.739768981933597,18.359630584716798,0.0]},{"label":"C","location":[51.42440414428711,20.782983779907228,0.0]},{"label":"C","location":[50.88252258300781,19.480257034301759,0.0]},{"label":"C","location":[52.823692321777347,20.964923858642579,0.0]},{"label":"C","location":[53.13890075683594,18.54157066345215,0.0]},{"label":"C","location":[53.680782318115237,19.844295501708986,0.0]},{"label":"C","location":[38.126834869384769,21.2476806640625,0.0]},{"label":"C","location":[40.366355895996097,20.26913833618164,0.0]},{"label":"C","location":[39.52911376953125,21.404890060424806,0.0]},{"label":"C","location":[39.80131530761719,18.976181030273439,0.0]},{"label":"C","location":[37.56195068359375,19.954721450805665,0.0]},{"label":"C","location":[38.399192810058597,18.8189697265625,0.0]},{"label":"C","location":[37.969627380371097,22.649803161621095,0.0]},{"label":"C","location":[39.936790466308597,24.099971771240236,0.0]},{"label":"C","location":[39.37190628051758,22.80701446533203,0.0]},{"label":"C","location":[39.09954833984375,25.2357234954834,0.0]},{"label":"C","location":[37.13238525390625,23.785554885864259,0.0]},{"label":"C","location":[37.69742202758789,25.078514099121095,0.0]},{"label":"C","location":[39.50721740722656,27.930805206298829,0.0]},{"label":"C","location":[37.54021453857422,26.480636596679689,0.0]},{"label":"C","location":[38.94233703613281,26.637845993041993,0.0]},{"label":"C","location":[36.702972412109378,27.61638832092285,0.0]},{"label":"C","location":[38.669979095458987,29.06639862060547,0.0]},{"label":"C","location":[37.26785659790039,28.909189224243165,0.0]},{"label":"C","location":[60.20606994628906,22.471172332763673,0.0]},{"label":"C","location":[57.7664909362793,22.613731384277345,0.0]},{"label":"C","location":[59.02747344970703,23.24666404724121,0.0]},{"label":"C","location":[57.684104919433597,21.205148696899415,0.0]},{"label":"C","location":[60.12384033203125,21.062589645385743,0.0]},{"label":"C","location":[58.862701416015628,20.429656982421876,0.0]},{"label":"C","location":[55.954803466796878,24.65036392211914,0.0]},{"label":"C","location":[58.39453887939453,24.507646560668947,0.0]},{"label":"C","location":[57.133399963378909,23.874713897705079,0.0]},{"label":"C","location":[58.47676467895508,25.916227340698243,0.0]},{"label":"C","location":[56.03718948364258,26.058788299560548,0.0]},{"label":"C","location":[57.29817199707031,26.691877365112306,0.0]},{"label":"C","location":[54.225502014160159,28.095417022705079,0.0]},{"label":"C","location":[56.66523742675781,27.952857971191408,0.0]},{"label":"C","location":[55.40409851074219,27.319927215576173,0.0]},{"label":"C","location":[56.747467041015628,29.36144256591797,0.0]},{"label":"C","location":[54.307884216308597,29.50400161743164,0.0]},{"label":"C","location":[55.568870544433597,30.136934280395509,0.0]},{"label":"C","location":[43.15705871582031,29.60213851928711,0.0]},{"label":"C","location":[45.295448303222659,30.785146713256837,0.0]},{"label":"C","location":[43.88481903076172,30.81097984313965,0.0]},{"label":"C","location":[45.978477478027347,29.550628662109376,0.0]},{"label":"C","location":[43.840240478515628,28.367462158203126,0.0]},{"label":"C","location":[45.25086975097656,28.341787338256837,0.0]},{"label":"C","location":[49.86396789550781,29.900333404541017,0.0]},{"label":"C","location":[50.531715393066409,27.7170467376709,0.0]},{"label":"C","location":[50.99089813232422,29.05127716064453,0.0]},{"label":"C","location":[49.12092590332031,27.741619110107423,0.0]},{"label":"C","location":[48.708213806152347,29.0908145904541,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[75.08549499511719,17.843843460083009,0.0]},{"label":"C","location":[76.56367492675781,17.231491088867189,0.0]},{"label":"C","location":[77.17603302001953,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,17.231491088867189,0.0]},{"label":"C","location":[72.99495697021485,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,14.275128364562989,0.0]},{"label":"C","location":[75.08549499511719,13.662776947021485,0.0]},{"label":"C","location":[76.56367492675781,14.275128364562989,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.308528900146487,"y":-24.969524383544923,"z":0.0}},"spine":{"pos":[{"x":25.908525466918947,"y":-19.57607078552246,"z":0.0},{"x":25.908525466918947,"y":-30.362977981567384,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":-19.57607078552246,"z":0.0},{"x":25.1085262298584,"y":-24.54505729675293,"z":0.0},{"x":25.1085262298584,"y":-30.362977981567384,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":-8.688159942626954,"z":0.0},{"x":36.308528900146487,"y":-8.688159942626954,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":73.4005126953125,"y":-16.828842163085939,"z":0.0}},"spine":{"pos":[{"x":63.000511169433597,"y":-8.688159942626954,"z":0.0},{"x":63.000511169433597,"y":-24.969524383544923,"z":0.0}]},"tails":{"pos":[{"x":62.20051193237305,"y":-8.688159942626954,"z":0.0},{"x":62.20051193237305,"y":-24.969524383544923,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,-20.775821685791017,0.0]},{"label":"C","location":[13.765717506408692,-19.22469711303711,0.0]},{"label":"C","location":[12.194034576416016,-20.755573272705079,0.0]},{"label":"C","location":[12.190141677856446,-19.22469711303711,0.0]},{"label":"C","location":[10.642601013183594,-18.37632179260254,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,-25.814292907714845,0.0]},{"label":"C","location":[12.78364086151123,-24.124860763549806,0.0]},{"label":"C","location":[11.071819305419922,-25.792407989501954,0.0]},{"label":"C","location":[11.067578315734864,-24.124860763549806,0.0]},{"label":"C","location":[10.16018295288086,-23.483966827392579,0.0]},{"label":"C","location":[14.253897666931153,-23.275821685791017,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,-30.887727737426759,0.0]},{"label":"C","location":[12.54298210144043,-29.30959701538086,0.0]},{"label":"C","location":[10.944091796875,-30.867286682128908,0.0]},{"label":"C","location":[10.940132141113282,-29.30959701538086,0.0]},{"label":"C","location":[10.092357635498047,-28.51268768310547,0.0]},{"label":"C","location":[13.462539672851563,-28.314292907714845,0.0]},{"label":"C","location":[14.321723937988282,-32.41166305541992,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,-13.506401062011719,0.0]},{"label":"C","location":[8.728801727294922,-15.876320838928223,0.0]},{"label":"C","location":[7.992483139038086,-14.721600532531739,0.0]},{"label":"C","location":[10.096963882446289,-15.816000938415528,0.0]},{"label":"C","location":[9.99264144897461,-13.44624137878418,0.0]},{"label":"C","location":[10.728961944580079,-14.600960731506348,0.0]},{"label":"C","location":[15.349283218383789,-15.37440013885498,0.0]},{"label":"C","location":[15.070564270019532,-13.018720626831055,0.0]},{"label":"C","location":[14.529922485351563,-14.276961326599121,0.0]},{"label":"C","location":[16.430564880371095,-12.857760429382325,0.0]},{"label":"C","location":[16.70928382873535,-15.213440895080567,0.0]},{"label":"C","location":[17.249923706054689,-13.955201148986817,0.0]},{"label":"C","location":[1.936478614807129,-12.441920280456543,0.0]},{"label":"C","location":[4.118559837341309,-13.372480392456055,0.0]},{"label":"C","location":[3.2961597442626955,-12.277280807495118,0.0]},{"label":"C","location":[3.581282615661621,-14.632161140441895,0.0]},{"label":"C","location":[1.3993606567382813,-13.701600074768067,0.0]},{"label":"C","location":[2.2216014862060549,-14.796801567077637,0.0]},{"label":"C","location":[1.7720012664794922,-11.082240104675293,0.0]},{"label":"C","location":[3.6688003540039064,-9.657919883728028,0.0]},{"label":"C","location":[3.1315202713012697,-10.917600631713868,0.0]},{"label":"C","location":[2.846562385559082,-8.56272029876709,0.0]},{"label":"C","location":[0.9496002197265625,-9.987039566040039,0.0]},{"label":"C","location":[1.4868803024291993,-8.727359771728516,0.0]},{"label":"C","location":[3.2192001342773439,-5.943359375,0.0]},{"label":"C","location":[1.3222408294677735,-7.367678642272949,0.0]},{"label":"C","location":[2.681920051574707,-7.20304012298584,0.0]},{"label":"C","location":[0.5,-6.272479057312012,0.0]},{"label":"C","location":[2.3968000411987306,-4.8481597900390629,0.0]},{"label":"C","location":[1.0372800827026368,-5.012799263000488,0.0]},{"label":"C","location":[23.914081573486329,-11.488160133361817,0.0]},{"label":"C","location":[21.764324188232423,-10.485599517822266,0.0]},{"label":"C","location":[23.128643035888673,-10.366400718688965,0.0]},{"label":"C","location":[21.185443878173829,-11.72688102722168,0.0]},{"label":"C","location":[23.33536148071289,-12.729439735412598,0.0]},{"label":"C","location":[21.97104263305664,-12.848799705505371,0.0]},{"label":"C","location":[20.85952377319336,-7.999359130859375,0.0]},{"label":"C","location":[23.00928497314453,-9.001919746398926,0.0]},{"label":"C","location":[21.644962310791017,-9.121280670166016,0.0]},{"label":"C","location":[23.588165283203126,-7.760800361633301,0.0]},{"label":"C","location":[21.438243865966798,-6.75823974609375,0.0]},{"label":"C","location":[22.802566528320314,-6.638879776000977,0.0]},{"label":"C","location":[20.533443450927736,-4.271999359130859,0.0]},{"label":"C","location":[22.683364868164064,-5.274559020996094,0.0]},{"label":"C","location":[21.31888198852539,-5.393919467926025,0.0]},{"label":"C","location":[23.2620849609375,-4.0332794189453129,0.0]},{"label":"C","location":[21.112323760986329,-3.03071928024292,0.0]},{"label":"C","location":[22.476642608642579,-2.9113588333129885,0.0]},{"label":"C","location":[6.943361282348633,-3.6835193634033205,0.0]},{"label":"C","location":[8.761760711669922,-2.160158634185791,0.0]},{"label":"C","location":[7.412801742553711,-2.3969593048095705,0.0]},{"label":"C","location":[9.641281127929688,-3.2099194526672365,0.0]},{"label":"C","location":[7.822881698608398,-4.7334394454956059,0.0]},{"label":"C","location":[9.17184066772461,-4.496639251708984,0.0]},{"label":"C","location":[14.144163131713868,-1.5601587295532227,0.0]},{"label":"C","location":[16.248483657836915,-2.654879093170166,0.0]},{"label":"C","location":[15.512323379516602,-1.4999985694885255,0.0]},{"label":"C","location":[15.616483688354493,-3.8699193000793459,0.0]},{"label":"C","location":[13.512161254882813,-2.7751989364624025,0.0]},{"label":"C","location":[14.248321533203125,-3.930079460144043,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[49.254432678222659,-7.995294570922852,0.0]},{"label":"C","location":[48.45457458496094,-9.381025314331055,0.0]},{"label":"C","location":[50.05447006225586,-9.381025314331055,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[45.748741149902347,-29.020893096923829,0.0]},{"label":"C","location":[45.863258361816409,-31.46204376220703,0.0]},{"label":"C","location":[45.10131072998047,-30.274471282958986,0.0]},{"label":"C","location":[47.27262878417969,-31.395885467529298,0.0]},{"label":"C","location":[47.15810775756836,-28.954730987548829,0.0]},{"label":"C","location":[47.92005157470703,-30.14215087890625,0.0]},{"label":"C","location":[52.53976821899414,-30.92835235595703,0.0]},{"label":"C","location":[52.224403381347659,-28.505001068115236,0.0]},{"label":"C","location":[51.682518005371097,-29.807727813720704,0.0]},{"label":"C","location":[53.62369155883789,-28.32305908203125,0.0]},{"label":"C","location":[53.93889617919922,-30.746414184570314,0.0]},{"label":"C","location":[54.48078155517578,-29.443687438964845,0.0]},{"label":"C","location":[38.92683410644531,-28.040302276611329,0.0]},{"label":"C","location":[41.166358947753909,-29.018844604492189,0.0]},{"label":"C","location":[40.3291130065918,-27.883094787597658,0.0]},{"label":"C","location":[40.601318359375,-30.311803817749025,0.0]},{"label":"C","location":[38.36195373535156,-29.333263397216798,0.0]},{"label":"C","location":[39.19919204711914,-30.469013214111329,0.0]},{"label":"C","location":[38.769622802734378,-26.638179779052736,0.0]},{"label":"C","location":[40.736785888671878,-25.188011169433595,0.0]},{"label":"C","location":[40.171905517578128,-26.48097038269043,0.0]},{"label":"C","location":[39.8995475769043,-24.052261352539064,0.0]},{"label":"C","location":[37.93238067626953,-25.502429962158204,0.0]},{"label":"C","location":[38.49742126464844,-24.209468841552736,0.0]},{"label":"C","location":[40.307220458984378,-21.357177734375,0.0]},{"label":"C","location":[38.340213775634769,-22.80734634399414,0.0]},{"label":"C","location":[39.74233627319336,-22.65013885498047,0.0]},{"label":"C","location":[37.50297164916992,-21.67159652709961,0.0]},{"label":"C","location":[39.46997833251953,-20.221586227416993,0.0]},{"label":"C","location":[38.06785583496094,-20.378793716430665,0.0]},{"label":"C","location":[61.00606918334961,-26.816810607910158,0.0]},{"label":"C","location":[58.566490173339847,-26.674251556396486,0.0]},{"label":"C","location":[59.82747268676758,-26.04132080078125,0.0]},{"label":"C","location":[58.48410415649414,-28.082836151123048,0.0]},{"label":"C","location":[60.9238395690918,-28.22539520263672,0.0]},{"label":"C","location":[59.66270065307617,-28.858325958251954,0.0]},{"label":"C","location":[56.75480270385742,-24.63762092590332,0.0]},{"label":"C","location":[59.194541931152347,-24.780338287353517,0.0]},{"label":"C","location":[57.93339920043945,-25.413270950317384,0.0]},{"label":"C","location":[59.276763916015628,-23.37175750732422,0.0]},{"label":"C","location":[56.837188720703128,-23.22919464111328,0.0]},{"label":"C","location":[58.098167419433597,-22.596107482910158,0.0]},{"label":"C","location":[55.0255012512207,-21.19256591796875,0.0]},{"label":"C","location":[57.46523666381836,-21.335124969482423,0.0]},{"label":"C","location":[56.204097747802737,-21.968055725097658,0.0]},{"label":"C","location":[57.547462463378909,-19.926542282104493,0.0]},{"label":"C","location":[55.107887268066409,-19.78398323059082,0.0]},{"label":"C","location":[56.368865966796878,-19.151050567626954,0.0]},{"label":"C","location":[43.957054138183597,-19.68584442138672,0.0]},{"label":"C","location":[46.0954475402832,-18.502838134765626,0.0]},{"label":"C","location":[44.684818267822269,-18.477005004882814,0.0]},{"label":"C","location":[46.778472900390628,-19.737356185913087,0.0]},{"label":"C","location":[44.64023971557617,-20.920520782470704,0.0]},{"label":"C","location":[46.05086898803711,-20.946197509765626,0.0]},{"label":"C","location":[50.66396713256836,-19.387651443481447,0.0]},{"label":"C","location":[51.33171463012695,-21.570938110351564,0.0]},{"label":"C","location":[51.790897369384769,-20.23670768737793,0.0]},{"label":"C","location":[49.920928955078128,-21.546363830566408,0.0]},{"label":"C","location":[49.508209228515628,-20.19717025756836,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[76.68550109863281,-14.738308906555176,0.0]},{"label":"C","location":[78.16368103027344,-15.35066032409668,0.0]},{"label":"C","location":[78.77603149414063,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-15.35066032409668,0.0]},{"label":"C","location":[74.59495544433594,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-18.307024002075197,0.0]},{"label":"C","location":[76.68550109863281,-18.919376373291017,0.0]},{"label":"C","location":[78.16368103027344,-18.307024002075197,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway8.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway8.ket
index 257ed0666e..b9fefc1529 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway8.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway8.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/dearom/pathway9.ket b/api/tests/integration/tests/reaction/ref/dearom/pathway9.ket
index bfce670a8e..773ba5b48b 100644
--- a/api/tests/integration/tests/reaction/ref/dearom/pathway9.ket
+++ b/api/tests/integration/tests/reaction/ref/dearom/pathway9.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":55.85890579223633,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":61.97328186035156,"z":0.0},{"x":22.802881240844728,"y":49.744529724121097,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":61.97328186035156,"z":0.0},{"x":22.302881240844728,"y":55.642860412597659,"z":0.0},{"x":22.302881240844728,"y":49.744529724121097,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":49.744529724121097,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":52.41059112548828,"z":0.0},{"x":4.962884902954102,"y":47.078468322753909,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":52.41059112548828,"z":0.0},{"x":4.462884902954102,"y":47.078468322753909,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,53.21049880981445,0.0]},{"label":"C","location":[3.268439769744873,53.21129608154297,0.0]},{"label":"C","location":[1.8868601322174073,54.01064682006836,0.0]},{"label":"C","location":[3.268439769744873,51.60972213745117,0.0]},{"label":"C","location":[0.5000003576278687,51.60251998901367,0.0]},{"label":"C","location":[1.8903801441192628,50.81053161621094,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,48.31053161621094,0.0]},{"label":"C","location":[2.6848511695861818,45.84640121459961,0.0]},{"label":"C","location":[3.179725170135498,47.36046600341797,0.0]},{"label":"C","location":[1.083749771118164,45.84640121459961,0.0]},{"label":"C","location":[0.5887150764465332,47.36046600341797,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,50.544525146484378,0.0]},{"label":"C","location":[16.504423141479493,48.94453811645508,0.0]},{"label":"C","location":[17.890010833740236,48.14454650878906,0.0]},{"label":"C","location":[19.2757568359375,48.94453811645508,0.0]},{"label":"C","location":[19.2757568359375,50.544525146484378,0.0]},{"label":"C","location":[17.890010833740236,51.34451675415039,0.0]},{"label":"C","location":[20.661346435546876,51.34451675415039,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,62.405364990234378,0.0]},{"label":"C","location":[19.23128318786621,59.94121170043945,0.0]},{"label":"C","location":[19.726003646850587,61.45528793334961,0.0]},{"label":"C","location":[17.630006790161134,59.94121170043945,0.0]},{"label":"C","location":[17.135128021240236,61.45528793334961,0.0]},{"label":"C","location":[18.430644989013673,64.00536346435547,0.0]},{"label":"C","location":[20.030641555786134,64.00536346435547,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,56.45318603515625,0.0]},{"label":"C","location":[18.85704803466797,57.441200256347659,0.0]},{"label":"C","location":[20.413867950439454,57.08519744873047,0.0]},{"label":"C","location":[21.108436584472658,55.65189743041992,0.0]},{"label":"C","location":[17.611591339111329,54.84164810180664,0.0]},{"label":"C","location":[20.414987564086915,54.20051956176758,0.0]},{"label":"C","location":[18.85704803466797,53.844512939453128,0.0]},{"label":"C","location":[16.057331085205079,56.86727523803711,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,57.224449157714847,0.0]},{"label":"C","location":[38.051475524902347,57.22524642944336,0.0]},{"label":"C","location":[36.66985321044922,58.024620056152347,0.0]},{"label":"C","location":[38.051475524902347,55.623779296875,0.0]},{"label":"C","location":[35.2829475402832,55.616580963134769,0.0]},{"label":"C","location":[36.673370361328128,54.82456588745117,0.0]},{"label":"C","location":[33.89732360839844,54.816566467285159,0.0]},{"label":"C","location":[35.5419921875,53.69318771362305,0.0]},{"label":"C","location":[39.18285369873047,54.492401123046878,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-51.61252212524414,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-48.94646072387695,"z":0.0},{"x":5.262885093688965,"y":-54.27858352661133,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-48.94646072387695,"z":0.0},{"x":4.462884902954102,"y":-54.27858352661133,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-57.8437614440918,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-51.61252212524414,"z":0.0},{"x":23.90287971496582,"y":-64.07499694824219,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-51.61252212524414,"z":0.0},{"x":23.102880477905275,"y":-57.74458312988281,"z":0.0},{"x":23.102880477905275,"y":-64.07499694824219,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[56,54]},{"type":2,"atoms":[54,58]},{"type":1,"atoms":[58,59]},{"type":2,"atoms":[59,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-48.14655303955078,0.0]},{"label":"C","location":[3.268439769744873,-48.145751953125,0.0]},{"label":"C","location":[1.8868601322174073,-47.346405029296878,0.0]},{"label":"C","location":[3.268439769744873,-49.74732971191406,0.0]},{"label":"C","location":[0.5000003576278687,-49.75453186035156,0.0]},{"label":"C","location":[1.8903801441192628,-50.54651641845703,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-53.04651641845703,0.0]},{"label":"C","location":[2.6848511695861818,-55.510650634765628,0.0]},{"label":"C","location":[3.179725170135498,-53.996585845947269,0.0]},{"label":"C","location":[1.083749771118164,-55.510650634765628,0.0]},{"label":"C","location":[0.5887150764465332,-53.996585845947269,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-50.812530517578128,0.0]},{"label":"C","location":[17.30442237854004,-52.41251754760742,0.0]},{"label":"C","location":[18.69001007080078,-53.21250915527344,0.0]},{"label":"C","location":[20.075756072998048,-52.41251754760742,0.0]},{"label":"C","location":[20.075756072998048,-50.812530517578128,0.0]},{"label":"C","location":[18.69001007080078,-50.01253890991211,0.0]},{"label":"C","location":[21.461345672607423,-50.01253890991211,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-57.312503814697269,0.0]},{"label":"C","location":[20.031282424926759,-59.77665710449219,0.0]},{"label":"C","location":[20.526002883911134,-58.26258087158203,0.0]},{"label":"C","location":[18.43000602722168,-59.77665710449219,0.0]},{"label":"C","location":[17.93512725830078,-58.26258087158203,0.0]},{"label":"C","location":[19.23064422607422,-55.71250915527344,0.0]},{"label":"C","location":[20.83064079284668,-55.71250915527344,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-63.264671325683597,0.0]},{"label":"C","location":[19.657047271728517,-62.27665710449219,0.0]},{"label":"C","location":[21.2138671875,-62.632659912109378,0.0]},{"label":"C","location":[21.908435821533204,-64.06596374511719,0.0]},{"label":"C","location":[18.411590576171876,-64.87620544433594,0.0]},{"label":"C","location":[21.21498680114746,-65.517333984375,0.0]},{"label":"C","location":[19.657047271728517,-65.87334442138672,0.0]},{"label":"C","location":[16.857330322265626,-62.850582122802737,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,4]},{"type":1,"atoms":[4,5]},{"type":2,"atoms":[5,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[8,6]},{"type":2,"atoms":[6,10]},{"type":1,"atoms":[10,11]},{"type":2,"atoms":[11,9]},{"type":1,"atoms":[9,7]},{"type":2,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":1,"atoms":[14,12]},{"type":2,"atoms":[12,16]},{"type":1,"atoms":[16,17]},{"type":2,"atoms":[17,15]},{"type":1,"atoms":[15,13]},{"type":2,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":1,"atoms":[20,18]},{"type":2,"atoms":[18,22]},{"type":1,"atoms":[22,23]},{"type":2,"atoms":[23,21]},{"type":1,"atoms":[21,19]},{"type":2,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":1,"atoms":[26,24]},{"type":2,"atoms":[24,28]},{"type":1,"atoms":[28,29]},{"type":2,"atoms":[29,27]},{"type":1,"atoms":[27,25]},{"type":2,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":1,"atoms":[32,30]},{"type":2,"atoms":[30,34]},{"type":1,"atoms":[34,35]},{"type":2,"atoms":[35,33]},{"type":1,"atoms":[33,31]},{"type":2,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":1,"atoms":[38,36]},{"type":2,"atoms":[36,40]},{"type":1,"atoms":[40,41]},{"type":2,"atoms":[41,39]},{"type":1,"atoms":[39,37]},{"type":2,"atoms":[37,38]},{"type":1,"atoms":[44,42]},{"type":2,"atoms":[42,46]},{"type":1,"atoms":[46,47]},{"type":2,"atoms":[47,45]},{"type":1,"atoms":[45,43]},{"type":2,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":1,"atoms":[50,48]},{"type":2,"atoms":[48,52]},{"type":1,"atoms":[52,53]},{"type":2,"atoms":[53,51]},{"type":1,"atoms":[51,49]},{"type":2,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-56.47821807861328,0.0]},{"label":"C","location":[39.65147399902344,-56.477420806884769,0.0]},{"label":"C","location":[38.26985168457031,-55.67804718017578,0.0]},{"label":"C","location":[39.65147399902344,-58.078887939453128,0.0]},{"label":"C","location":[36.8829460144043,-58.08608627319336,0.0]},{"label":"C","location":[38.27336883544922,-58.87810134887695,0.0]},{"label":"C","location":[35.49732208251953,-58.88610076904297,0.0]},{"label":"C","location":[37.141990661621097,-60.00947952270508,0.0]},{"label":"C","location":[40.78285217285156,-59.21026611328125,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway1.ket b/api/tests/integration/tests/reaction/ref/pathway1.ket
index 6c7e3af0b9..3832fbec62 100644
--- a/api/tests/integration/tests/reaction/ref/pathway1.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway1.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":10.012500762939454,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":16.126874923706056,"z":0.0},{"x":22.802881240844728,"y":3.8981270790100099,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":16.126874923706056,"z":0.0},{"x":22.302881240844728,"y":9.796455383300782,"z":0.0},{"x":22.302881240844728,"y":3.8981270790100099,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":3.8981270790100099,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.962884902954102,"y":1.2320659160614014,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.5641889572143559,"z":0.0},{"x":4.462884902954102,"y":1.2320659160614014,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.3640971183776859,0.0]},{"label":"C","location":[3.268439769744873,7.364896774291992,0.0]},{"label":"C","location":[1.8868601322174073,8.16424560546875,0.0]},{"label":"C","location":[3.268439769744873,5.763319969177246,0.0]},{"label":"C","location":[0.5000003576278687,5.756120204925537,0.0]},{"label":"C","location":[1.8903801441192628,4.964132308959961,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,4.698119163513184,0.0]},{"label":"C","location":[16.504423141479493,3.098133087158203,0.0]},{"label":"C","location":[17.890010833740236,2.298140525817871,0.0]},{"label":"C","location":[19.2757568359375,3.098133087158203,0.0]},{"label":"C","location":[19.2757568359375,4.698119163513184,0.0]},{"label":"C","location":[17.890010833740236,5.498111724853516,0.0]},{"label":"C","location":[20.661346435546876,5.498111724853516,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,16.5589542388916,0.0]},{"label":"C","location":[19.23128318786621,14.094799995422364,0.0]},{"label":"C","location":[19.726003646850587,15.608877182006836,0.0]},{"label":"C","location":[17.630006790161134,14.094799995422364,0.0]},{"label":"C","location":[17.135128021240236,15.608877182006836,0.0]},{"label":"C","location":[18.430644989013673,18.158950805664064,0.0]},{"label":"C","location":[20.030641555786134,18.158950805664064,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,10.60678482055664,0.0]},{"label":"C","location":[18.85704803466797,11.594799041748047,0.0]},{"label":"C","location":[20.413867950439454,11.238794326782227,0.0]},{"label":"C","location":[21.108436584472658,9.80549430847168,0.0]},{"label":"C","location":[17.611591339111329,8.995245933532715,0.0]},{"label":"C","location":[20.414987564086915,8.354116439819336,0.0]},{"label":"C","location":[18.85704803466797,7.998111724853516,0.0]},{"label":"C","location":[16.057331085205079,11.02087116241455,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,11.378044128417969,0.0]},{"label":"C","location":[38.051475524902347,11.378844261169434,0.0]},{"label":"C","location":[36.66985321044922,12.178218841552735,0.0]},{"label":"C","location":[38.051475524902347,9.777376174926758,0.0]},{"label":"C","location":[35.2829475402832,9.770176887512207,0.0]},{"label":"C","location":[36.673370361328128,8.97816276550293,0.0]},{"label":"C","location":[33.89732360839844,8.970163345336914,0.0]},{"label":"C","location":[35.5419921875,7.846783638000488,0.0]},{"label":"C","location":[39.18285369873047,8.64599609375,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-11.997357368469239,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766118049621582,"z":0.0},{"x":23.90287971496582,"y":-18.22859764099121,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766118049621582,"z":0.0},{"x":23.102880477905275,"y":-11.898179054260254,"z":0.0},{"x":23.102880477905275,"y":-18.22859764099121,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.96612548828125,0.0]},{"label":"C","location":[17.30442237854004,-6.5661115646362309,0.0]},{"label":"C","location":[18.69001007080078,-7.3661041259765629,0.0]},{"label":"C","location":[20.075756072998048,-6.5661115646362309,0.0]},{"label":"C","location":[20.075756072998048,-4.96612548828125,0.0]},{"label":"C","location":[18.69001007080078,-4.166132926940918,0.0]},{"label":"C","location":[21.461345672607423,-4.166132926940918,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.466099739074707,0.0]},{"label":"C","location":[20.031282424926759,-13.930253982543946,0.0]},{"label":"C","location":[20.526002883911134,-12.416176795959473,0.0]},{"label":"C","location":[18.43000602722168,-13.930253982543946,0.0]},{"label":"C","location":[17.93512725830078,-12.416176795959473,0.0]},{"label":"C","location":[19.23064422607422,-9.866103172302246,0.0]},{"label":"C","location":[20.83064079284668,-9.866103172302246,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826820373535,0.0]},{"label":"C","location":[19.657047271728517,-16.430253982543947,0.0]},{"label":"C","location":[21.2138671875,-16.786258697509767,0.0]},{"label":"C","location":[21.908435821533204,-18.219558715820314,0.0]},{"label":"C","location":[18.411590576171876,-19.029808044433595,0.0]},{"label":"C","location":[21.21498680114746,-19.670936584472658,0.0]},{"label":"C","location":[19.657047271728517,-20.026941299438478,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-10.631814002990723,0.0]},{"label":"C","location":[39.65147399902344,-10.631013870239258,0.0]},{"label":"C","location":[38.26985168457031,-9.831639289855957,0.0]},{"label":"C","location":[39.65147399902344,-12.232481956481934,0.0]},{"label":"C","location":[36.8829460144043,-12.239681243896485,0.0]},{"label":"C","location":[38.27336883544922,-13.031695365905762,0.0]},{"label":"C","location":[35.49732208251953,-13.039694786071778,0.0]},{"label":"C","location":[37.141990661621097,-14.163074493408204,0.0]},{"label":"C","location":[40.78285217285156,-13.363862037658692,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway10.ket b/api/tests/integration/tests/reaction/ref/pathway10.ket
index cb1fcf5f56..415e79f700 100644
--- a/api/tests/integration/tests/reaction/ref/pathway10.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway10.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.59326171875,"y":9.54953670501709,"z":0.0}},"spine":{"pos":[{"x":26.693262100219728,"y":14.832982063293457,"z":0.0},{"x":26.693262100219728,"y":4.266091346740723,"z":0.0}]},"tails":{"pos":[{"x":26.193262100219728,"y":14.832982063293457,"z":0.0},{"x":26.193262100219728,"y":4.266091346740723,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":14.832982063293457,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":17.509796142578126,"z":0.0},{"x":4.962976455688477,"y":12.156167984008789,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":17.509796142578126,"z":0.0},{"x":4.462976455688477,"y":12.156167984008789,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862977981567383,"y":4.266091346740723,"z":0.0}},"spine":{"pos":[{"x":4.962976455688477,"y":6.932154655456543,"z":0.0},{"x":4.962976455688477,"y":1.6000304222106934,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":6.932154655456543,"z":0.0},{"x":4.462976455688477,"y":1.6000304222106934,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,16.148086547851564,0.0]},{"label":"C","location":[3.255575180053711,17.740188598632814,0.0]},{"label":"C","location":[1.6423542499542237,16.168725967407228,0.0]},{"label":"C","location":[1.6383543014526368,17.740188598632814,0.0]},{"label":"F","location":[0.5070357322692871,18.87150764465332,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,10.6642484664917,0.0]},{"label":"C","location":[2.685305595397949,10.6642484664917,0.0]},{"label":"C","location":[1.8843464851379395,12.048088073730469,0.0]},{"label":"Cl","location":[1.8843464851379395,13.648087501525879,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,8.1642484664917,0.0]},{"label":"C","location":[2.684994697570801,5.700060844421387,0.0]},{"label":"C","location":[3.179720878601074,7.213998317718506,0.0]},{"label":"C","location":[1.0836968421936036,5.700060844421387,0.0]},{"label":"C","location":[0.5888104438781738,7.213998317718506,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,2.3998851776123049,0.0]},{"label":"C","location":[3.2685317993164064,2.4006857872009279,0.0]},{"label":"C","location":[1.886906623840332,3.2000608444213869,0.0]},{"label":"C","location":[3.2685317993164064,0.7992148399353027,0.0]},{"label":"C","location":[0.5000004768371582,0.7920145988464356,0.0]},{"label":"C","location":[1.8904266357421876,0.0,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[19.648406982421876,13.36825942993164,0.0]},{"label":"C","location":[21.250329971313478,13.36825942993164,0.0]},{"label":"C","location":[20.449527740478517,14.752262115478516,0.0]},{"label":"O","location":[20.863609313964845,16.29770278930664,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[21.22378921508789,5.066102981567383,0.0]},{"label":"C","location":[21.22378921508789,3.4660792350769045,0.0]},{"label":"C","location":[22.609411239624025,2.666067600250244,0.0]},{"label":"C","location":[23.995031356811525,3.4660792350769045,0.0]},{"label":"C","location":[23.995031356811525,5.066102981567383,0.0]},{"label":"C","location":[22.609411239624025,5.866114616394043,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[23.873374938964845,13.47121810913086,0.0]},{"label":"C","location":[23.867454528808595,15.063383102416993,0.0]},{"label":"C","location":[22.254329681396486,13.491857528686524,0.0]},{"label":"C","location":[22.250328063964845,15.063383102416993,0.0]},{"label":"N","location":[24.998817443847658,16.194747924804689,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[17.35307502746582,15.265052795410157,0.0]},{"label":"C","location":[18.15369987487793,12.800944328308106,0.0]},{"label":"C","location":[18.648406982421876,14.314992904663086,0.0]},{"label":"C","location":[16.552452087402345,12.800944328308106,0.0]},{"label":"C","location":[16.057422637939454,14.314992904663086,0.0]},{"label":"S","location":[17.35307502746582,16.865018844604493,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[18.68425941467285,3.26296329498291,0.0]},{"label":"C","location":[18.6783390045166,4.855135917663574,0.0]},{"label":"C","location":[17.06520652770996,3.2836031913757326,0.0]},{"label":"C","location":[17.061208724975587,4.855135917663574,0.0]},{"label":"P","location":[20.223791122436525,5.269218921661377,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[44.88654327392578,11.802002906799317,0.0]},{"label":"O","location":[44.88654327392578,8.801860809326172,0.0]},{"label":"O","location":[41.97551727294922,7.297069549560547,0.0]},{"label":"O","location":[39.064334869384769,8.801700592041016,0.0]},{"label":"O","location":[41.96656036376953,11.802002906799317,0.0]},{"label":"O","location":[37.78770446777344,10.851127624511719,0.0]},{"label":"C","location":[43.430870056152347,11.0674467086792,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.430870056152347,9.54521656036377,0.0],"stereoLabel":"abs"},{"label":"C","location":[41.96656036376953,8.801700592041016,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,9.544896125793457,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.511207580566409,11.067286491394043,0.0],"stereoLabel":"abs"},{"label":"C","location":[39.064334869384769,11.801682472229004,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-5.538525581359863,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-2.8617103099823,"z":0.0},{"x":5.26297664642334,"y":-8.215339660644532,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-2.8617103099823,"z":0.0},{"x":4.462976455688477,"y":-8.215339660644532,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.66297721862793,"y":-16.105417251586915,"z":0.0}},"spine":{"pos":[{"x":5.26297664642334,"y":-13.439352989196778,"z":0.0},{"x":5.26297664642334,"y":-18.77147674560547,"z":0.0}]},"tails":{"pos":[{"x":4.462976455688477,"y":-13.439352989196778,"z":0.0},{"x":4.462976455688477,"y":-18.77147674560547,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":38.193260192871097,"y":-10.82197093963623,"z":0.0}},"spine":{"pos":[{"x":27.79326057434082,"y":-5.538525581359863,"z":0.0},{"x":27.79326057434082,"y":-16.105417251586915,"z":0.0}]},"tails":{"pos":[{"x":26.993261337280275,"y":-5.538525581359863,"z":0.0},{"x":26.993261337280275,"y":-16.105417251586915,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[3.261495590209961,-4.223420143127441,0.0]},{"label":"C","location":[3.255575180053711,-2.631319046020508,0.0]},{"label":"C","location":[1.6423542499542237,-4.202781677246094,0.0]},{"label":"C","location":[1.6383543014526368,-2.631319046020508,0.0]},{"label":"F","location":[0.5070357322692871,-1.5,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[3,4]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.0832266807556153,-9.707259178161621,0.0]},{"label":"C","location":[2.685305595397949,-9.707259178161621,0.0]},{"label":"C","location":[1.8843464851379395,-8.323419570922852,0.0]},{"label":"Cl","location":[1.8843464851379395,-6.723420143127441,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.884345531463623,-12.207259178161621,0.0]},{"label":"C","location":[2.684994697570801,-14.671446800231934,0.0]},{"label":"C","location":[3.179720878601074,-13.157508850097657,0.0]},{"label":"C","location":[1.0836968421936036,-14.671446800231934,0.0]},{"label":"C","location":[0.5888104438781738,-13.157508850097657,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5000004768371582,-17.971622467041017,0.0]},{"label":"C","location":[3.2685317993164064,-17.970821380615236,0.0]},{"label":"C","location":[1.886906623840332,-17.17144775390625,0.0]},{"label":"C","location":[3.2685317993164064,-19.57229232788086,0.0]},{"label":"C","location":[0.5000004768371582,-19.579492568969728,0.0]},{"label":"C","location":[1.8904266357421876,-20.37150764465332,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[20.448406219482423,-7.0032477378845219,0.0]},{"label":"C","location":[22.050329208374025,-7.0032477378845219,0.0]},{"label":"C","location":[21.249526977539064,-5.619246006011963,0.0]},{"label":"O","location":[21.66360855102539,-4.073803901672363,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[2,3]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[22.023788452148439,-15.305405616760254,0.0]},{"label":"C","location":[22.023788452148439,-16.90542984008789,0.0]},{"label":"C","location":[23.40941047668457,-17.705440521240236,0.0]},{"label":"C","location":[24.79503059387207,-16.90542984008789,0.0]},{"label":"C","location":[24.79503059387207,-15.305405616760254,0.0]},{"label":"C","location":[23.40941047668457,-14.505393981933594,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[24.67337417602539,-6.900290012359619,0.0]},{"label":"C","location":[24.66745376586914,-5.308125019073486,0.0]},{"label":"C","location":[23.05432891845703,-6.879650115966797,0.0]},{"label":"C","location":[23.05032730102539,-5.308125019073486,0.0]},{"label":"N","location":[25.798816680908204,-4.176760673522949,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[18.153074264526368,-5.106454372406006,0.0]},{"label":"C","location":[18.953699111938478,-7.570562839508057,0.0]},{"label":"C","location":[19.448406219482423,-6.056514739990234,0.0]},{"label":"C","location":[17.35245132446289,-7.570562839508057,0.0]},{"label":"C","location":[16.857421875,-6.056514739990234,0.0]},{"label":"S","location":[18.153074264526368,-3.506488084793091,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[0,5]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[19.4842586517334,-17.108545303344728,0.0]},{"label":"C","location":[19.47833824157715,-15.516372680664063,0.0]},{"label":"C","location":[17.865205764770509,-17.087905883789064,0.0]},{"label":"C","location":[17.861207962036134,-15.516372680664063,0.0]},{"label":"P","location":[21.02379035949707,-15.102289199829102,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[1,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"O","location":[46.486541748046878,-8.569503784179688,0.0]},{"label":"O","location":[46.486541748046878,-11.569646835327149,0.0]},{"label":"O","location":[43.57551574707031,-13.074438095092774,0.0]},{"label":"O","location":[40.66433334350586,-11.569807052612305,0.0]},{"label":"O","location":[43.566558837890628,-8.569503784179688,0.0]},{"label":"O","location":[39.38770294189453,-9.520379066467286,0.0]},{"label":"C","location":[45.03086853027344,-9.304059982299805,0.0],"stereoLabel":"abs"},{"label":"C","location":[45.03086853027344,-10.826290130615235,0.0],"stereoLabel":"abs"},{"label":"C","location":[43.566558837890628,-11.569807052612305,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-10.826610565185547,0.0],"stereoLabel":"abs"},{"label":"C","location":[42.1112060546875,-9.304220199584961,0.0],"stereoLabel":"abs"},{"label":"C","location":[40.66433334350586,-8.56982421875,0.0]}],"bonds":[{"type":1,"atoms":[5,11]},{"type":1,"atoms":[10,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11],"stereo":1},{"type":1,"atoms":[6,0],"stereo":6},{"type":1,"atoms":[7,1],"stereo":6},{"type":1,"atoms":[8,2],"stereo":6},{"type":1,"atoms":[9,3],"stereo":6}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway11.ket b/api/tests/integration/tests/reaction/ref/pathway11.ket
new file mode 100644
index 0000000000..ebb469ba75
--- /dev/null
+++ b/api/tests/integration/tests/reaction/ref/pathway11.ket
@@ -0,0 +1 @@
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":21.196760177612306,"y":-18.20419692993164,"z":0.0}},"spine":{"pos":[{"x":10.796767234802246,"y":-15.54647159576416,"z":0.0},{"x":10.796767234802246,"y":-20.861923217773439,"z":0.0}]},"tails":{"pos":[{"x":9.996767044067383,"y":-15.54647159576416,"z":0.0},{"x":9.996767044067383,"y":-20.861923217773439,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":36.06095886230469,"y":-18.20419692993164,"z":0.0},{"x":47.260963439941409,"y":-18.20419692993164,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":71.938720703125,"y":-15.35417366027832,"z":0.0}},"spine":{"pos":[{"x":61.53872299194336,"y":-12.504150390625,"z":0.0},{"x":61.53872299194336,"y":-18.20419692993164,"z":0.0}]},"tails":{"pos":[{"x":60.73872375488281,"y":-12.504150390625,"z":0.0},{"x":60.73872375488281,"y":-18.20419692993164,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":71.938720703125,"y":-5.351495265960693,"z":0.0}},"spine":{"pos":[{"x":61.53872299194336,"y":-2.7006146907806398,"z":0.0},{"x":61.53872299194336,"y":-8.002375602722168,"z":0.0}]},"tails":{"pos":[{"x":60.73872375488281,"y":-2.7006146907806398,"z":0.0},{"x":60.73872375488281,"y":-8.002375602722168,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":95.23511505126953,"y":-10.352834701538086,"z":0.0}},"spine":{"pos":[{"x":84.83511352539063,"y":-5.351495265960693,"z":0.0},{"x":84.83511352539063,"y":-15.35417366027832,"z":0.0}]},"tails":{"pos":[{"x":84.03511047363281,"y":-5.351495265960693,"z":0.0},{"x":84.03511047363281,"y":-15.35417366027832,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":116.40463256835938,"y":-10.352834701538086,"z":0.0},{"x":127.60462951660156,"y":-10.352834701538086,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[7.422464370727539,-16.746997833251954,0.0]},{"label":"C","location":[6.037452697753906,-15.946006774902344,0.0]},{"label":"C","location":[6.038733005523682,-14.345947265625,0.0]},{"label":"C","location":[4.651161193847656,-16.7447566986084,0.0]},{"label":"C","location":[3.2661495208740236,-15.943766593933106,0.0]},{"label":"O","location":[1.8798580169677735,-16.742835998535158,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol1":{"type":"molecule","atoms":[{"label":"N","location":[0.4999995231628418,-22.476850509643556,0.0]},{"label":"C","location":[1.8827602863311768,-21.672025680541993,0.0]},{"label":"O","location":[1.877000331878662,-20.071979522705079,0.0]},{"label":"C","location":[3.2712812423706056,-22.466930389404298,0.0]},{"label":"C","location":[4.654041767120361,-21.662105560302736,0.0]},{"label":"C","location":[6.042562484741211,-22.457008361816408,0.0]},{"label":"C","location":[7.425322532653809,-21.651865005493165,0.0]},{"label":"C","location":[7.419562339782715,-20.052139282226564,0.0]},{"label":"O","location":[8.802323341369629,-19.246994018554689,0.0]},{"label":"C","location":[6.031042098999023,-19.256916046142579,0.0]},{"label":"C","location":[4.648281574249268,-20.06205940246582,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,6]},{"type":4,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":4,"atoms":[7,9]},{"type":4,"atoms":[9,10]},{"type":4,"atoms":[10,4]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[23.778789520263673,-18.59813690185547,0.0]},{"label":"C","location":[23.77735137939453,-20.198211669921876,0.0]},{"label":"C","location":[22.391204833984376,-20.997289657592775,0.0]},{"label":"C","location":[25.16253662109375,-20.999208450317384,0.0]},{"label":"C","location":[26.54884147644043,-20.200450897216798,0.0]},{"label":"O","location":[27.93386459350586,-21.001449584960939,0.0]},{"label":"C","location":[29.31985092163086,-20.20269203186035,0.0]},{"label":"C","location":[30.705036163330079,-21.00368881225586,0.0]},{"label":"C","location":[32.09134292602539,-20.204931259155275,0.0]},{"label":"C","location":[32.09278106689453,-18.604856491088868,0.0]},{"label":"C","location":[33.47892761230469,-17.80577850341797,0.0]},{"label":"C","location":[33.48036575317383,-16.205703735351564,0.0]},{"label":"N","location":[34.866512298583987,-15.406946182250977,0.0]},{"label":"O","location":[32.095340728759769,-15.404706001281739,0.0]},{"label":"C","location":[30.707595825195314,-17.803857803344728,0.0]},{"label":"C","location":[29.321130752563478,-18.602615356445314,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":4,"atoms":[6,7]},{"type":4,"atoms":[7,8]},{"type":4,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11]},{"type":1,"atoms":[11,12]},{"type":2,"atoms":[11,13]},{"type":4,"atoms":[9,14]},{"type":4,"atoms":[14,15]},{"type":4,"atoms":[15,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"Cl","location":[55.385398864746097,-12.904779434204102,0.0]},{"label":"C","location":[54.0004768371582,-12.103521347045899,0.0]},{"label":"I","location":[52.61427688598633,-12.902539253234864,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"N","location":[59.544281005859378,-15.407017707824707,0.0]},{"label":"C","location":[58.15801239013672,-16.20575523376465,0.0]},{"label":"O","location":[56.77302169799805,-15.404777526855469,0.0]},{"label":"C","location":[58.15673065185547,-17.805788040161134,0.0]},{"label":"C","location":[56.77046203613281,-18.60484504699707,0.0]},{"label":"C","location":[56.76918411254883,-20.204877853393556,0.0]},{"label":"C","location":[55.38291549682617,-21.00361442565918,0.0]},{"label":"C","location":[53.9979248046875,-20.20263671875,0.0]},{"label":"O","location":[52.611656188964847,-21.001693725585939,0.0]},{"label":"C","location":[51.22666931152344,-20.200397491455079,0.0]},{"label":"C","location":[49.84040069580078,-20.999454498291017,0.0]},{"label":"O","location":[48.45541000366211,-20.198158264160158,0.0]},{"label":"C","location":[53.99920654296875,-18.602603912353517,0.0]},{"label":"C","location":[55.385475158691409,-17.80386734008789,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,6]},{"type":4,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":2,"atoms":[10,11]},{"type":4,"atoms":[7,12]},{"type":4,"atoms":[12,13]},{"type":4,"atoms":[13,4]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[56.77162551879883,-3.898989200592041,0.0]},{"label":"C","location":[55.385414123535159,-3.099966049194336,0.0]},{"label":"C","location":[55.38413619995117,-1.5,0.0]},{"label":"N","location":[54.000484466552737,-3.9012291431427,0.0]},{"label":"C","location":[52.61427307128906,-3.102205991744995,0.0]},{"label":"S","location":[51.228065490722659,-2.303183078765869,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":2,"atoms":[3,4]},{"type":2,"atoms":[4,5]}]},"mol6":{"type":"molecule","atoms":[{"label":"N","location":[51.920448303222659,-9.60128116607666,0.0]},{"label":"C","location":[53.30671310424805,-8.802227973937989,0.0]},{"label":"C","location":[54.69169235229492,-9.603521347045899,0.0]},{"label":"C","location":[56.07795715332031,-8.804468154907227,0.0]},{"label":"C","location":[56.0792350769043,-7.204442501068115,0.0]},{"label":"C","location":[54.69425582885742,-6.403469085693359,0.0]},{"label":"C","location":[53.30799102783203,-7.202202320098877,0.0]},{"label":"O","location":[51.92300796508789,-6.401228904724121,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":4,"atoms":[1,2]},{"type":4,"atoms":[2,3]},{"type":4,"atoms":[3,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":4,"atoms":[6,1]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[73.369384765625,-4.555666923522949,0.0]},{"label":"C","location":[74.9693603515625,-4.554387092590332,0.0]},{"label":"C","location":[75.76838684082031,-3.1681668758392336,0.0]},{"label":"N","location":[75.7706298828125,-5.939326763153076,0.0]},{"label":"C","location":[77.37092590332031,-5.938046932220459,0.0]},{"label":"N","location":[78.3097915649414,-4.642705917358398,0.0]},{"label":"C","location":[79.8320083618164,-5.136138439178467,0.0]},{"label":"C","location":[81.21694946289063,-4.335190296173096,0.0]},{"label":"C","location":[82.60316467285156,-5.133898735046387,0.0]},{"label":"C","location":[82.60444641113281,-6.733875274658203,0.0]},{"label":"C","location":[81.2195053100586,-7.534823894500732,0.0]},{"label":"C","location":[79.83329010009766,-6.736115455627441,0.0]},{"label":"O","location":[78.31170654296875,-7.232108116149902,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,6]},{"type":4,"atoms":[6,7]},{"type":4,"atoms":[7,8]},{"type":4,"atoms":[8,9]},{"type":4,"atoms":[9,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,12]},{"type":4,"atoms":[12,4]},{"type":4,"atoms":[11,6]}]},"mol8":{"type":"molecule","atoms":[{"label":"N","location":[73.13316345214844,-10.158971786499024,0.0]},{"label":"C","location":[74.51944732666016,-10.95771598815918,0.0]},{"label":"O","location":[75.90444946289063,-10.156731605529786,0.0]},{"label":"C","location":[74.5207290649414,-12.55776596069336,0.0]},{"label":"C","location":[75.90669250488281,-13.356830596923829,0.0]},{"label":"C","location":[75.90796661376953,-14.956880569458008,0.0]},{"label":"C","location":[77.29425048828125,-15.75562572479248,0.0]},{"label":"C","location":[78.67957305908203,-14.95464038848877,0.0]},{"label":"O","location":[80.06553649902344,-15.753705978393555,0.0]},{"label":"C","location":[80.06681823730469,-17.353755950927736,0.0]},{"label":"C","location":[81.4531021118164,-18.15250015258789,0.0]},{"label":"O","location":[82.83810424804688,-17.35151481628418,0.0]},{"label":"C","location":[81.45438385009766,-19.75255012512207,0.0]},{"label":"Cl","location":[82.84066772460938,-20.55161476135254,0.0]},{"label":"C","location":[78.67829895019531,-13.35459041595459,0.0]},{"label":"C","location":[77.2920150756836,-12.555846214294434,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":4,"atoms":[4,5]},{"type":4,"atoms":[5,6]},{"type":4,"atoms":[6,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":1,"atoms":[9,10]},{"type":1,"atoms":[10,11]},{"type":1,"atoms":[10,12]},{"type":1,"atoms":[12,13]},{"type":4,"atoms":[7,14]},{"type":4,"atoms":[14,15]},{"type":4,"atoms":[15,4]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[107.49236297607422,-14.364387512207032,0.0]},{"label":"C","location":[108.88021850585938,-13.568221092224121,0.0]},{"label":"C","location":[110.26358795166016,-14.37206745147705,0.0]},{"label":"N","location":[108.88469696044922,-11.968208312988282,0.0]},{"label":"C","location":[107.50132751464844,-11.164361000061036,0.0]},{"label":"C","location":[106.11347198486328,-11.960527420043946,0.0]},{"label":"O","location":[106.10899353027344,-13.560541152954102,0.0]},{"label":"C","location":[104.7301025390625,-11.156681060791016,0.0]},{"label":"O","location":[103.34193420410156,-11.952847480773926,0.0]},{"label":"C","location":[101.95887756347656,-11.149001121520996,0.0]},{"label":"C","location":[101.96304321289063,-9.548988342285157,0.0]},{"label":"C","location":[100.57966613769531,-8.74514102935791,0.0]},{"label":"C","location":[99.19181823730469,-9.54130744934082,0.0]},{"label":"C","location":[97.8084487915039,-8.73746109008789,0.0]},{"label":"C","location":[97.81292724609375,-7.137448310852051,0.0]},{"label":"N","location":[96.42955780029297,-6.333601474761963,0.0]},{"label":"O","location":[99.20077514648438,-6.341281414031982,0.0]},{"label":"C","location":[99.18766021728516,-11.141321182250977,0.0]},{"label":"C","location":[100.57070922851563,-11.945167541503907,0.0]},{"label":"C","location":[110.27286529541016,-11.172040939331055,0.0]},{"label":"N","location":[111.7323989868164,-11.827406883239746,0.0]},{"label":"C","location":[112.80632781982422,-10.641157150268555,0.0]},{"label":"C","location":[114.40602111816406,-10.645317077636719,0.0]},{"label":"C","location":[115.21018981933594,-9.262266159057618,0.0]},{"label":"C","location":[114.41402435302735,-7.874094009399414,0.0]},{"label":"C","location":[112.81401062011719,-7.86993408203125,0.0]},{"label":"C","location":[112.01016235351563,-9.253305435180664,0.0]},{"label":"O","location":[110.4440689086914,-9.581308364868164,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[5,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":4,"atoms":[9,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":2,"atoms":[14,16]},{"type":4,"atoms":[12,17]},{"type":4,"atoms":[17,18]},{"type":1,"atoms":[3,19]},{"type":4,"atoms":[19,20]},{"type":4,"atoms":[20,21]},{"type":4,"atoms":[21,22]},{"type":4,"atoms":[22,23]},{"type":4,"atoms":[23,24]},{"type":4,"atoms":[24,25]},{"type":4,"atoms":[25,26]},{"type":4,"atoms":[26,27]},{"type":4,"atoms":[18,9]},{"type":4,"atoms":[27,19]},{"type":4,"atoms":[26,21]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[128.799072265625,-9.543992042541504,0.0]},{"label":"C","location":[130.18411254882813,-10.344993591308594,0.0]},{"label":"C","location":[130.18283081054688,-11.945077896118164,0.0]},{"label":"N","location":[131.57041931152345,-9.546232223510743,0.0]},{"label":"C","location":[132.95545959472657,-10.347233772277832,0.0]},{"label":"C","location":[134.34176635742188,-9.54847240447998,0.0]},{"label":"O","location":[134.34304809570313,-7.948388576507568,0.0]},{"label":"C","location":[135.72679138183595,-10.34947395324707,0.0]},{"label":"O","location":[137.1131134033203,-9.550712585449219,0.0]},{"label":"C","location":[138.49813842773438,-10.351714134216309,0.0]},{"label":"C","location":[138.49685668945313,-11.951798439025879,0.0]},{"label":"C","location":[139.88189697265626,-12.752799987792969,0.0]},{"label":"C","location":[141.26820373535157,-11.954038619995118,0.0]},{"label":"C","location":[142.6532440185547,-12.755040168762207,0.0]},{"label":"C","location":[144.03955078125,-11.956278800964356,0.0]},{"label":"N","location":[145.42459106445313,-12.757280349731446,0.0]},{"label":"O","location":[144.04083251953126,-10.356194496154786,0.0]},{"label":"C","location":[141.2694854736328,-10.353954315185547,0.0]},{"label":"C","location":[139.88446044921876,-9.552952766418457,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[5,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[8,9]},{"type":4,"atoms":[9,10]},{"type":4,"atoms":[10,11]},{"type":4,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":2,"atoms":[14,16]},{"type":4,"atoms":[12,17]},{"type":4,"atoms":[17,18]},{"type":4,"atoms":[18,9]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway2.ket b/api/tests/integration/tests/reaction/ref/pathway2.ket
index c16ed3b297..46491817fa 100644
--- a/api/tests/integration/tests/reaction/ref/pathway2.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway2.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":31.808698654174806,"y":6.964158058166504,"z":0.0}},"spine":{"pos":[{"x":21.9086971282959,"y":10.03018856048584,"z":0.0},{"x":21.9086971282959,"y":3.8981268405914308,"z":0.0}]},"tails":{"pos":[{"x":21.4086971282959,"y":10.03018856048584,"z":0.0},{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[17.983551025390626,10.462268829345704,0.0]},{"label":"C","location":[18.784191131591798,7.998113632202148,0.0]},{"label":"C","location":[19.27890968322754,9.512189865112305,0.0]},{"label":"C","location":[17.18291473388672,7.998113632202148,0.0]},{"label":"C","location":[16.688034057617189,9.512189865112305,0.0]},{"label":"C","location":[17.983551025390626,12.062265396118164,0.0]},{"label":"C","location":[19.583547592163087,12.062265396118164,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,8.329702377319336,0.0]},{"label":"C","location":[37.15729522705078,8.330501556396485,0.0]},{"label":"C","location":[35.77566909790039,9.129875183105469,0.0]},{"label":"C","location":[37.15729522705078,6.729034423828125,0.0]},{"label":"C","location":[34.388763427734378,6.7218337059021,0.0]},{"label":"C","location":[35.77919006347656,5.9298200607299809,0.0]},{"label":"C","location":[33.003143310546878,5.921819686889648,0.0]},{"label":"C","location":[34.64780807495117,4.798440933227539,0.0]},{"label":"C","location":[38.288673400878909,5.597655296325684,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000571250915529,"z":0.0},{"x":5.262885093688965,"y":-8.43217945098877,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000571250915529,"z":0.0},{"x":4.462884902954102,"y":-8.43217945098877,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":33.40869903564453,"y":-8.832149505615235,"z":0.0}},"spine":{"pos":[{"x":23.008695602416993,"y":-5.766118049621582,"z":0.0},{"x":23.008695602416993,"y":-11.89818000793457,"z":0.0}]},"tails":{"pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":22.208696365356447,"y":-11.89818000793457,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001489639282228,0.0]},{"label":"C","location":[3.268439769744873,-2.299349308013916,0.0]},{"label":"C","location":[1.8868601322174073,-1.5000004768371583,0.0]},{"label":"C","location":[3.268439769744873,-3.900926113128662,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125877380371,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113773345947,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200113773345947,0.0]},{"label":"C","location":[2.6848511695861818,-9.66424560546875,0.0]},{"label":"C","location":[3.179725170135498,-8.150182723999024,0.0]},{"label":"C","location":[1.083749771118164,-9.66424560546875,0.0]},{"label":"C","location":[0.5887150764465332,-8.150182723999024,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.783550262451173,-11.466100692749024,0.0]},{"label":"C","location":[19.584190368652345,-13.930255889892579,0.0]},{"label":"C","location":[20.078908920288087,-12.416179656982422,0.0]},{"label":"C","location":[17.982913970947267,-13.930255889892579,0.0]},{"label":"C","location":[17.488033294677736,-12.416179656982422,0.0]},{"label":"C","location":[18.783550262451173,-9.866104125976563,0.0]},{"label":"C","location":[20.383546829223634,-9.866104125976563,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-7.4666056632995609,0.0]},{"label":"C","location":[38.757293701171878,-7.465806007385254,0.0]},{"label":"C","location":[37.375667572021487,-6.6664323806762699,0.0]},{"label":"C","location":[38.757293701171878,-9.067273139953614,0.0]},{"label":"C","location":[35.98876190185547,-9.074474334716797,0.0]},{"label":"C","location":[37.379188537597659,-9.866487503051758,0.0]},{"label":"C","location":[34.60314178466797,-9.87448787689209,0.0]},{"label":"C","location":[36.247806549072269,-10.9978666305542,0.0]},{"label":"C","location":[39.888671875,-10.198652267456055,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway3.ket b/api/tests/integration/tests/reaction/ref/pathway3.ket
index b7df7067bc..3fb8f330f2 100644
--- a/api/tests/integration/tests/reaction/ref/pathway3.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway3.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.4086971282959,"y":3.8981268405914308,"z":0.0},{"x":31.808698654174806,"y":3.8981266021728517,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862884521484375,"y":3.8981268405914308,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":6.564188003540039,"z":0.0},{"x":4.962884902954102,"y":1.2320656776428223,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":6.564188003540039,"z":0.0},{"x":4.462884902954102,"y":1.2320656776428223,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,7.364096164703369,0.0]},{"label":"C","location":[3.268439769744873,7.364895820617676,0.0]},{"label":"C","location":[1.8868601322174073,8.164244651794434,0.0]},{"label":"C","location":[3.268439769744873,5.76331901550293,0.0]},{"label":"C","location":[0.5000003576278687,5.756119251251221,0.0]},{"label":"C","location":[1.8903801441192628,4.9641313552856449,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,2.4641313552856447,0.0]},{"label":"C","location":[2.6848511695861818,0.0,0.0]},{"label":"C","location":[3.179725170135498,1.5140624046325684,0.0]},{"label":"C","location":[1.083749771118164,0.0,0.0]},{"label":"C","location":[0.5887150764465332,1.5140624046325684,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.057331085205079,4.698119640350342,0.0]},{"label":"C","location":[16.057331085205079,3.0981340408325197,0.0]},{"label":"C","location":[17.442916870117189,2.298140525817871,0.0]},{"label":"C","location":[18.82866668701172,3.0981340408325197,0.0]},{"label":"C","location":[18.82866668701172,4.698119640350342,0.0]},{"label":"C","location":[17.442916870117189,5.498112201690674,0.0]},{"label":"C","location":[20.214252471923829,5.498112201690674,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[34.388763427734378,5.263670444488525,0.0]},{"label":"C","location":[37.15729522705078,5.264470100402832,0.0]},{"label":"C","location":[35.77566909790039,6.063843727111816,0.0]},{"label":"C","location":[37.15729522705078,3.6630029678344728,0.0]},{"label":"C","location":[34.388763427734378,3.6558022499084474,0.0]},{"label":"C","location":[35.77919006347656,2.863788604736328,0.0]},{"label":"C","location":[33.003143310546878,2.855788230895996,0.0]},{"label":"C","location":[34.64780807495117,1.7324094772338868,0.0]},{"label":"C","location":[38.288673400878909,2.5316238403320314,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662883758544922,"y":-5.766118049621582,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000566482543947,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000566482543947,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.208696365356447,"y":-5.766118049621582,"z":0.0},{"x":33.40869903564453,"y":-5.766118049621582,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001484870910646,0.0]},{"label":"C","location":[3.268439769744873,-2.299348831176758,0.0]},{"label":"C","location":[1.8868601322174073,-1.5,0.0]},{"label":"C","location":[3.268439769744873,-3.900925636291504,0.0]},{"label":"C","location":[0.5000003576278687,-3.908125400543213,0.0]},{"label":"C","location":[1.8903801441192628,-4.700113296508789,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.857330322265626,-4.966125011444092,0.0]},{"label":"C","location":[16.857330322265626,-6.566110610961914,0.0]},{"label":"C","location":[18.242916107177736,-7.3661041259765629,0.0]},{"label":"C","location":[19.628665924072267,-6.566110610961914,0.0]},{"label":"C","location":[19.628665924072267,-4.966125011444092,0.0]},{"label":"C","location":[18.242916107177736,-4.16613245010376,0.0]},{"label":"C","location":[21.014251708984376,-4.16613245010376,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[35.98876190185547,-4.400574207305908,0.0]},{"label":"C","location":[38.757293701171878,-4.399774551391602,0.0]},{"label":"C","location":[37.375667572021487,-3.600400924682617,0.0]},{"label":"C","location":[38.757293701171878,-6.001241683959961,0.0]},{"label":"C","location":[35.98876190185547,-6.008442401885986,0.0]},{"label":"C","location":[37.379188537597659,-6.8004560470581059,0.0]},{"label":"C","location":[34.60314178466797,-6.8084564208984379,0.0]},{"label":"C","location":[36.247806549072269,-7.931835174560547,0.0]},{"label":"C","location":[39.888671875,-7.132620811462402,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway4.ket b/api/tests/integration/tests/reaction/ref/pathway4.ket
index 58c72c46a5..0886085691 100644
--- a/api/tests/integration/tests/reaction/ref/pathway4.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway4.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":21.23126792907715,"y":2.165717124938965,"z":0.0},{"x":31.631269454956056,"y":2.165717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":2.165717124938965,"z":0.0},{"x":14.685455322265625,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,3.3977832794189455,0.0]},{"label":"C","location":[2.5961365699768068,0.9336519241333008,0.0]},{"label":"C","location":[3.091010570526123,2.447714328765869,0.0]},{"label":"C","location":[0.9950351715087891,0.9336519241333008,0.0]},{"label":"C","location":[0.5000004768371582,2.447714328765869,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[15.879900932312012,2.965710163116455,0.0]},{"label":"C","location":[15.879900932312012,1.3657245635986329,0.0]},{"label":"C","location":[17.265487670898439,0.5657310485839844,0.0]},{"label":"C","location":[18.65123748779297,1.3657245635986329,0.0]},{"label":"C","location":[18.65123748779297,2.965710163116455,0.0]},{"label":"C","location":[17.265487670898439,3.765702724456787,0.0]},{"label":"C","location":[20.036823272705079,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[34.211334228515628,3.5312609672546388,0.0]},{"label":"C","location":[36.97986602783203,3.5320606231689455,0.0]},{"label":"C","location":[35.59823989868164,4.33143424987793,0.0]},{"label":"C","location":[36.97986602783203,1.930593490600586,0.0]},{"label":"C","location":[34.211334228515628,1.9233927726745606,0.0]},{"label":"C","location":[35.60176086425781,1.1313791275024415,0.0]},{"label":"C","location":[32.825714111328128,1.1233787536621094,0.0]},{"label":"C","location":[34.47037887573242,0.0,0.0]},{"label":"C","location":[38.111244201660159,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285455703735352,"y":-3.665717124938965,"z":0.0},{"x":15.485454559326172,"y":-3.665717124938965,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.031267166137697,"y":-3.665717124938965,"z":0.0},{"x":33.23126983642578,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.7955055236816407,-2.4336514472961427,0.0]},{"label":"C","location":[2.5961365699768068,-4.897782802581787,0.0]},{"label":"C","location":[3.091010570526123,-3.3837203979492189,0.0]},{"label":"C","location":[0.9950351715087891,-4.897782802581787,0.0]},{"label":"C","location":[0.5000004768371582,-3.3837203979492189,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[16.679901123046876,-2.8657240867614748,0.0]},{"label":"C","location":[16.679901123046876,-4.465709686279297,0.0]},{"label":"C","location":[18.065486907958986,-5.265703201293945,0.0]},{"label":"C","location":[19.451236724853517,-4.465709686279297,0.0]},{"label":"C","location":[19.451236724853517,-2.8657240867614748,0.0]},{"label":"C","location":[18.065486907958986,-2.0657315254211427,0.0]},{"label":"C","location":[20.836822509765626,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[35.81133270263672,-2.300173282623291,0.0]},{"label":"C","location":[38.579864501953128,-2.2993736267089845,0.0]},{"label":"C","location":[37.198238372802737,-1.5,0.0]},{"label":"C","location":[38.579864501953128,-3.9008407592773439,0.0]},{"label":"C","location":[35.81133270263672,-3.908041477203369,0.0]},{"label":"C","location":[37.201759338378909,-4.700055122375488,0.0]},{"label":"C","location":[34.42571258544922,-4.70805549621582,0.0]},{"label":"C","location":[36.070377349853519,-5.83143424987793,0.0]},{"label":"C","location":[39.71124267578125,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway5.ket b/api/tests/integration/tests/reaction/ref/pathway5.ket
index 33c8bc5046..50dae6ea8f 100644
--- a/api/tests/integration/tests/reaction/ref/pathway5.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway5.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":2.165717124938965,"z":0.0},{"x":16.251367568969728,"y":2.165717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,2.965710163116455,0.0]},{"label":"C","location":[0.5,1.3657245635986329,0.0]},{"label":"C","location":[1.8855876922607422,0.5657310485839844,0.0]},{"label":"C","location":[3.2713356018066408,1.3657245635986329,0.0]},{"label":"C","location":[3.2713356018066408,2.965710163116455,0.0]},{"label":"C","location":[1.8855876922607422,3.765702724456787,0.0]},{"label":"C","location":[4.656923294067383,3.765702724456787,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[18.83143424987793,3.5312609672546388,0.0]},{"label":"C","location":[21.59996223449707,3.5320606231689455,0.0]},{"label":"C","location":[20.218338012695314,4.33143424987793,0.0]},{"label":"C","location":[21.59996223449707,1.930593490600586,0.0]},{"label":"C","location":[18.83143424987793,1.9233927726745606,0.0]},{"label":"C","location":[20.22185707092285,1.1313791275024415,0.0]},{"label":"C","location":[17.445810317993165,1.1233787536621094,0.0]},{"label":"C","location":[19.090476989746095,0.0,0.0]},{"label":"C","location":[22.731342315673829,0.7992143630981445,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":5.851367950439453,"y":-3.665717124938965,"z":0.0},{"x":17.051366806030275,"y":-3.665717124938965,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5,-2.8657240867614748,0.0]},{"label":"C","location":[0.5,-4.465709686279297,0.0]},{"label":"C","location":[1.8855876922607422,-5.265703201293945,0.0]},{"label":"C","location":[3.2713356018066408,-4.465709686279297,0.0]},{"label":"C","location":[3.2713356018066408,-2.8657240867614748,0.0]},{"label":"C","location":[1.8855876922607422,-2.0657315254211427,0.0]},{"label":"C","location":[4.656923294067383,-2.0657315254211427,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[19.631433486938478,-2.300173282623291,0.0]},{"label":"C","location":[22.399961471557618,-2.2993736267089845,0.0]},{"label":"C","location":[21.01833724975586,-1.5,0.0]},{"label":"C","location":[22.399961471557618,-3.9008407592773439,0.0]},{"label":"C","location":[19.631433486938478,-3.908041477203369,0.0]},{"label":"C","location":[21.0218563079834,-4.700055122375488,0.0]},{"label":"C","location":[18.24580955505371,-4.70805549621582,0.0]},{"label":"C","location":[19.89047622680664,-5.83143424987793,0.0]},{"label":"C","location":[23.531341552734376,-5.032219886779785,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway6.ket b/api/tests/integration/tests/reaction/ref/pathway6.ket
index bef7bb5135..2cf9dac040 100644
--- a/api/tests/integration/tests/reaction/ref/pathway6.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway6.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":50.77730178833008,"y":8.532872200012207,"z":0.0}},"spine":{"pos":[{"x":40.877296447753909,"y":15.13511848449707,"z":0.0},{"x":40.877296447753909,"y":1.9306259155273438,"z":0.0}]},"tails":{"pos":[{"x":40.377296447753909,"y":15.13511848449707,"z":0.0},{"x":40.377296447753909,"y":1.9306259155273438,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":15.13511848449707,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":21.249492645263673,"z":0.0},{"x":22.802881240844728,"y":9.020745277404786,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":21.249492645263673,"z":0.0},{"x":22.302881240844728,"y":14.919075012207032,"z":0.0},{"x":22.302881240844728,"y":9.020745277404786,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":22.302881240844728,"y":1.9306259155273438,"z":0.0},{"x":32.702880859375,"y":1.9306259155273438,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":9.020745277404786,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":11.686806678771973,"z":0.0},{"x":4.962884902954102,"y":6.354684352874756,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":11.686806678771973,"z":0.0},{"x":4.462884902954102,"y":6.354684352874756,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":1.9306259155273438,"z":0.0},{"x":14.862886428833008,"y":1.9306259155273438,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,12.486715316772461,0.0]},{"label":"C","location":[3.268439769744873,12.48751449584961,0.0]},{"label":"C","location":[1.8868601322174073,13.286863327026368,0.0]},{"label":"C","location":[3.268439769744873,10.885937690734864,0.0]},{"label":"C","location":[0.5000003576278687,10.878738403320313,0.0]},{"label":"C","location":[1.8903801441192628,10.086750030517579,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,7.586750030517578,0.0]},{"label":"C","location":[2.6848511695861818,5.122618675231934,0.0]},{"label":"C","location":[3.179725170135498,6.636681079864502,0.0]},{"label":"C","location":[1.083749771118164,5.122618675231934,0.0]},{"label":"C","location":[0.5887150764465332,6.636681079864502,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,9.820738792419434,0.0]},{"label":"C","location":[16.504423141479493,8.220752716064454,0.0]},{"label":"C","location":[17.890010833740236,7.420760154724121,0.0]},{"label":"C","location":[19.2757568359375,8.220752716064454,0.0]},{"label":"C","location":[19.2757568359375,9.820738792419434,0.0]},{"label":"C","location":[17.890010833740236,10.620731353759766,0.0]},{"label":"C","location":[20.661346435546876,10.620731353759766,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,21.68157196044922,0.0]},{"label":"C","location":[19.23128318786621,19.217418670654298,0.0]},{"label":"C","location":[19.726003646850587,20.731494903564454,0.0]},{"label":"C","location":[17.630006790161134,19.217418670654298,0.0]},{"label":"C","location":[17.135128021240236,20.731494903564454,0.0]},{"label":"C","location":[18.430644989013673,23.28156852722168,0.0]},{"label":"C","location":[20.030641555786134,23.28156852722168,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,15.72940444946289,0.0]},{"label":"C","location":[18.85704803466797,16.717418670654298,0.0]},{"label":"C","location":[20.413867950439454,16.361413955688478,0.0]},{"label":"C","location":[21.108436584472658,14.92811393737793,0.0]},{"label":"C","location":[17.611591339111329,14.117865562438965,0.0]},{"label":"C","location":[20.414987564086915,13.476736068725586,0.0]},{"label":"C","location":[18.85704803466797,13.120731353759766,0.0]},{"label":"C","location":[16.057331085205079,16.143489837646486,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,1.2386322021484376,0.0]},{"label":"C","location":[2.6851730346679689,1.2386322021484376,0.0]},{"label":"C","location":[1.8842201232910157,2.62261962890625,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[18.582883834838868,3.1617298126220705,0.0]},{"label":"C","location":[19.877267837524415,2.221261978149414,0.0]},{"label":"C","location":[19.38287353515625,0.6995210647583008,0.0]},{"label":"C","location":[17.782894134521486,0.6995210647583008,0.0]},{"label":"C","location":[17.28849983215332,2.221261978149414,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,16.50066375732422,0.0]},{"label":"C","location":[38.051475524902347,16.501462936401368,0.0]},{"label":"C","location":[36.66985321044922,17.30083465576172,0.0]},{"label":"C","location":[38.051475524902347,14.899994850158692,0.0]},{"label":"C","location":[35.2829475402832,14.89279556274414,0.0]},{"label":"C","location":[36.673370361328128,14.100781440734864,0.0]},{"label":"C","location":[33.89732360839844,14.092782020568848,0.0]},{"label":"C","location":[35.5419921875,12.969402313232422,0.0]},{"label":"C","location":[39.18285369873047,13.76861572265625,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[34.609466552734378,1.1286325454711915,0.0]},{"label":"C","location":[34.60978317260742,2.732619285583496,0.0]},{"label":"C","location":[35.737937927246097,3.861091136932373,0.0]},{"label":"C","location":[35.738258361816409,0.0,0.0]},{"label":"C","location":[37.34208297729492,0.0,0.0]},{"label":"C","location":[38.4707145690918,1.1286325454711915,0.0]},{"label":"C","location":[38.470550537109378,2.732619285583496,0.0]},{"label":"C","location":[37.34208297729492,3.8612513542175295,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[51.97174835205078,5.124068260192871,0.0]},{"label":"C","location":[51.972068786621097,6.7471923828125,0.0]},{"label":"C","location":[53.11383819580078,7.888965606689453,0.0]},{"label":"C","location":[53.114166259765628,3.98197078704834,0.0]},{"label":"C","location":[54.73712921142578,3.98197078704834,0.0]},{"label":"C","location":[55.87922668457031,5.124068260192871,0.0]},{"label":"C","location":[55.879066467285159,6.7471923828125,0.0]},{"label":"C","location":[54.73712921142578,7.889127731323242,0.0]},{"label":"C","location":[52.106773376464847,10.318552017211914,0.0]},{"label":"C","location":[52.10710144042969,11.94167709350586,0.0]},{"label":"C","location":[53.24871063232422,13.083611488342286,0.0]},{"label":"C","location":[53.24903106689453,9.176454544067383,0.0]},{"label":"C","location":[54.87199783325195,9.176454544067383,0.0]},{"label":"C","location":[56.01409149169922,10.318552017211914,0.0]},{"label":"C","location":[56.01393127441406,11.94167709350586,0.0]},{"label":"C","location":[54.87199783325195,13.083773612976075,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-5.766117095947266,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-3.1000561714172365,"z":0.0},{"x":5.262885093688965,"y":-8.432178497314454,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-3.1000561714172365,"z":0.0},{"x":4.462884902954102,"y":-8.432178497314454,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.30288314819336,"y":-11.997356414794922,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-5.766117095947266,"z":0.0},{"x":23.90287971496582,"y":-18.228595733642579,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-5.766117095947266,"z":0.0},{"x":23.102880477905275,"y":-11.898178100585938,"z":0.0},{"x":23.102880477905275,"y":-18.228595733642579,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.462884902954102,"y":-23.758045196533204,"z":0.0},{"x":15.662885665893555,"y":-23.758045196533204,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":23.102880477905275,"y":-23.758045196533204,"z":0.0},{"x":34.30288314819336,"y":-23.758045196533204,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":53.177303314208987,"y":-17.877700805664064,"z":0.0}},"spine":{"pos":[{"x":42.77729797363281,"y":-11.997356414794922,"z":0.0},{"x":42.77729797363281,"y":-23.758045196533204,"z":0.0}]},"tails":{"pos":[{"x":41.977298736572269,"y":-11.997356414794922,"z":0.0},{"x":41.977298736572269,"y":-23.758045196533204,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-2.3001480102539064,0.0]},{"label":"C","location":[3.268439769744873,-2.2993483543395998,0.0]},{"label":"C","location":[1.8868601322174073,-1.4999995231628419,0.0]},{"label":"C","location":[3.268439769744873,-3.9009251594543459,0.0]},{"label":"C","location":[0.5000003576278687,-3.9081249237060549,0.0]},{"label":"C","location":[1.8903801441192628,-4.700112819671631,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-7.200112819671631,0.0]},{"label":"C","location":[2.6848511695861818,-9.664243698120118,0.0]},{"label":"C","location":[3.179725170135498,-8.150181770324707,0.0]},{"label":"C","location":[1.083749771118164,-9.664243698120118,0.0]},{"label":"C","location":[0.5887150764465332,-8.150181770324707,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-4.966124534606934,0.0]},{"label":"C","location":[17.30442237854004,-6.566110610961914,0.0]},{"label":"C","location":[18.69001007080078,-7.366103172302246,0.0]},{"label":"C","location":[20.075756072998048,-6.566110610961914,0.0]},{"label":"C","location":[20.075756072998048,-4.966124534606934,0.0]},{"label":"C","location":[18.69001007080078,-4.166131973266602,0.0]},{"label":"C","location":[21.461345672607423,-4.166131973266602,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-11.46609878540039,0.0]},{"label":"C","location":[20.031282424926759,-13.930253028869629,0.0]},{"label":"C","location":[20.526002883911134,-12.416175842285157,0.0]},{"label":"C","location":[18.43000602722168,-13.930253028869629,0.0]},{"label":"C","location":[17.93512725830078,-12.416175842285157,0.0]},{"label":"C","location":[19.23064422607422,-9.86610221862793,0.0]},{"label":"C","location":[20.83064079284668,-9.86610221862793,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-17.41826629638672,0.0]},{"label":"C","location":[19.657047271728517,-16.430252075195314,0.0]},{"label":"C","location":[21.2138671875,-16.786256790161134,0.0]},{"label":"C","location":[21.908435821533204,-18.21955680847168,0.0]},{"label":"C","location":[18.411590576171876,-19.029804229736329,0.0]},{"label":"C","location":[21.21498680114746,-19.670934677124025,0.0]},{"label":"C","location":[19.657047271728517,-20.026939392089845,0.0]},{"label":"C","location":[16.857330322265626,-17.004180908203126,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.083266258239746,-24.45003890991211,0.0]},{"label":"C","location":[2.6851730346679689,-24.45003890991211,0.0]},{"label":"C","location":[1.8842201232910157,-23.066051483154298,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[19.382883071899415,-22.526941299438478,0.0]},{"label":"C","location":[20.67726707458496,-23.467409133911134,0.0]},{"label":"C","location":[20.182872772216798,-24.989151000976564,0.0]},{"label":"C","location":[18.58289337158203,-24.989151000976564,0.0]},{"label":"C","location":[18.088499069213868,-23.467409133911134,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[36.88294982910156,-10.631811141967774,0.0]},{"label":"C","location":[39.6514778137207,-10.631011962890625,0.0]},{"label":"C","location":[38.26985549926758,-9.831639289855957,0.0]},{"label":"C","location":[39.6514778137207,-12.2324800491333,0.0]},{"label":"C","location":[36.88294982910156,-12.239679336547852,0.0]},{"label":"C","location":[38.27337646484375,-13.031693458557129,0.0]},{"label":"C","location":[35.4973258972168,-13.039692878723145,0.0]},{"label":"C","location":[37.14199447631836,-14.16307258605957,0.0]},{"label":"C","location":[40.78285598754883,-13.363859176635743,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[36.20946502685547,-24.560039520263673,0.0]},{"label":"C","location":[36.20978546142578,-22.956050872802736,0.0]},{"label":"C","location":[37.33793640136719,-21.827579498291017,0.0]},{"label":"C","location":[37.3382568359375,-25.688671112060548,0.0]},{"label":"C","location":[38.94208526611328,-25.688671112060548,0.0]},{"label":"C","location":[40.070716857910159,-24.560039520263673,0.0]},{"label":"C","location":[40.070556640625,-22.956050872802736,0.0]},{"label":"C","location":[38.94208526611328,-21.82741928100586,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[54.37174987792969,-21.2865047454834,0.0]},{"label":"C","location":[54.3720703125,-19.663379669189454,0.0]},{"label":"C","location":[55.51383972167969,-18.5216064453125,0.0]},{"label":"C","location":[55.51416778564453,-22.42860221862793,0.0]},{"label":"C","location":[57.13713073730469,-22.42860221862793,0.0]},{"label":"C","location":[58.27922821044922,-21.2865047454834,0.0]},{"label":"C","location":[58.27906799316406,-19.663379669189454,0.0]},{"label":"C","location":[57.13713073730469,-18.521446228027345,0.0]},{"label":"C","location":[54.50677490234375,-16.092021942138673,0.0]},{"label":"C","location":[54.507102966308597,-14.468896865844727,0.0]},{"label":"C","location":[55.648712158203128,-13.326961517333985,0.0]},{"label":"C","location":[55.64903259277344,-17.234119415283204,0.0]},{"label":"C","location":[57.27199935913086,-17.234119415283204,0.0]},{"label":"C","location":[58.414093017578128,-16.092021942138673,0.0]},{"label":"C","location":[58.41393280029297,-14.468896865844727,0.0]},{"label":"C","location":[57.27199935913086,-13.326799392700196,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[9,8]},{"type":1,"atoms":[8,11]},{"type":1,"atoms":[11,12]},{"type":1,"atoms":[12,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[14,15]},{"type":1,"atoms":[15,10]},{"type":1,"atoms":[10,9]},{"type":1,"atoms":[11,2]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway7.ket b/api/tests/integration/tests/reaction/ref/pathway7.ket
index 1062104312..76c8e03cf7 100644
--- a/api/tests/integration/tests/reaction/ref/pathway7.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway7.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":71.8005142211914,"y":15.753310203552246,"z":0.0}},"spine":{"pos":[{"x":61.9005126953125,"y":24.318458557128908,"z":0.0},{"x":61.9005126953125,"y":7.1881608963012699,"z":0.0}]},"tails":{"pos":[{"x":61.4005126953125,"y":24.318458557128908,"z":0.0},{"x":61.4005126953125,"y":7.1881608963012699,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":35.50852966308594,"y":24.318458557128908,"z":0.0}},"spine":{"pos":[{"x":25.6085262298584,"y":29.7119140625,"z":0.0},{"x":25.6085262298584,"y":18.925006866455079,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":29.7119140625,"z":0.0},{"x":25.1085262298584,"y":24.74292755126953,"z":0.0},{"x":25.1085262298584,"y":18.925006866455079,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":7.1881608963012699,"z":0.0},{"x":35.50852966308594,"y":7.1881608963012699,"z":0.0}]}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,28.512163162231447,0.0]},{"label":"C","location":[13.765717506408692,30.06328773498535,0.0]},{"label":"C","location":[12.194034576416016,28.532411575317384,0.0]},{"label":"C","location":[12.190141677856446,30.06328773498535,0.0]},{"label":"C","location":[10.642601013183594,30.911663055419923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,23.473691940307618,0.0]},{"label":"C","location":[12.78364086151123,25.163124084472658,0.0]},{"label":"C","location":[11.071819305419922,23.495576858520509,0.0]},{"label":"C","location":[11.067578315734864,25.163124084472658,0.0]},{"label":"C","location":[10.16018295288086,25.804018020629884,0.0]},{"label":"C","location":[14.253897666931153,26.012163162231447,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,18.40025520324707,0.0]},{"label":"C","location":[12.54298210144043,19.97838592529297,0.0]},{"label":"C","location":[10.944091796875,18.420696258544923,0.0]},{"label":"C","location":[10.940132141113282,19.97838592529297,0.0]},{"label":"C","location":[10.092357635498047,20.77529525756836,0.0]},{"label":"C","location":[13.462539672851563,20.973690032958986,0.0]},{"label":"C","location":[14.321723937988282,16.876319885253908,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,2.369919776916504,0.0]},{"label":"C","location":[8.728801727294922,0.0,0.0]},{"label":"C","location":[7.992483139038086,1.1547203063964844,0.0]},{"label":"C","location":[10.096963882446289,0.06031990051269531,0.0]},{"label":"C","location":[9.99264144897461,2.430079460144043,0.0]},{"label":"C","location":[10.728961944580079,1.275360107421875,0.0]},{"label":"C","location":[15.349283218383789,0.5019207000732422,0.0]},{"label":"C","location":[15.070564270019532,2.857600212097168,0.0]},{"label":"C","location":[14.529922485351563,1.5993595123291016,0.0]},{"label":"C","location":[16.430564880371095,3.0185604095458986,0.0]},{"label":"C","location":[16.70928382873535,0.6628799438476563,0.0]},{"label":"C","location":[17.249923706054689,1.9211196899414063,0.0]},{"label":"C","location":[1.936478614807129,3.4344005584716799,0.0]},{"label":"C","location":[4.118559837341309,2.503840446472168,0.0]},{"label":"C","location":[3.2961597442626955,3.5990400314331056,0.0]},{"label":"C","location":[3.581282615661621,1.2441596984863282,0.0]},{"label":"C","location":[1.3993606567382813,2.1747207641601564,0.0]},{"label":"C","location":[2.2216014862060549,1.079519271850586,0.0]},{"label":"C","location":[1.7720012664794922,4.79408073425293,0.0]},{"label":"C","location":[3.6688003540039064,6.218400955200195,0.0]},{"label":"C","location":[3.1315202713012697,4.9587202072143559,0.0]},{"label":"C","location":[2.846562385559082,7.313600540161133,0.0]},{"label":"C","location":[0.9496002197265625,5.889281272888184,0.0]},{"label":"C","location":[1.4868803024291993,7.148961067199707,0.0]},{"label":"C","location":[3.2192001342773439,9.932961463928223,0.0]},{"label":"C","location":[1.3222408294677735,8.508642196655274,0.0]},{"label":"C","location":[2.681920051574707,8.673280715942383,0.0]},{"label":"C","location":[0.5,9.603841781616211,0.0]},{"label":"C","location":[2.3968000411987306,11.02816104888916,0.0]},{"label":"C","location":[1.0372800827026368,10.863521575927735,0.0]},{"label":"C","location":[23.914081573486329,4.388160705566406,0.0]},{"label":"C","location":[21.764324188232423,5.390721321105957,0.0]},{"label":"C","location":[23.128643035888673,5.509920120239258,0.0]},{"label":"C","location":[21.185443878173829,4.149439811706543,0.0]},{"label":"C","location":[23.33536148071289,3.146881103515625,0.0]},{"label":"C","location":[21.97104263305664,3.0275211334228517,0.0]},{"label":"C","location":[20.85952377319336,7.876961708068848,0.0]},{"label":"C","location":[23.00928497314453,6.874401092529297,0.0]},{"label":"C","location":[21.644962310791017,6.755040168762207,0.0]},{"label":"C","location":[23.588165283203126,8.115520477294922,0.0]},{"label":"C","location":[21.438243865966798,9.118081092834473,0.0]},{"label":"C","location":[22.802566528320314,9.237441062927246,0.0]},{"label":"C","location":[20.533443450927736,11.604321479797364,0.0]},{"label":"C","location":[22.683364868164064,10.601761817932129,0.0]},{"label":"C","location":[21.31888198852539,10.482400894165039,0.0]},{"label":"C","location":[23.2620849609375,11.84304141998291,0.0]},{"label":"C","location":[21.112323760986329,12.845602035522461,0.0]},{"label":"C","location":[22.476642608642579,12.964962005615235,0.0]},{"label":"C","location":[6.943361282348633,12.192801475524903,0.0]},{"label":"C","location":[8.761760711669922,13.716161727905274,0.0]},{"label":"C","location":[7.412801742553711,13.479361534118653,0.0]},{"label":"C","location":[9.641281127929688,12.666400909423829,0.0]},{"label":"C","location":[7.822881698608398,11.142881393432618,0.0]},{"label":"C","location":[9.17184066772461,11.379681587219239,0.0]},{"label":"C","location":[14.144163131713868,14.316162109375,0.0]},{"label":"C","location":[16.248483657836915,13.221441268920899,0.0]},{"label":"C","location":[15.512323379516602,14.376321792602539,0.0]},{"label":"C","location":[15.616483688354493,12.006401062011719,0.0]},{"label":"C","location":[13.512161254882813,13.10112190246582,0.0]},{"label":"C","location":[14.248321533203125,11.94624137878418,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[48.454429626464847,7.8810272216796879,0.0]},{"label":"C","location":[47.654571533203128,6.495296478271484,0.0]},{"label":"C","location":[49.25446701049805,6.495296478271484,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[44.94873809814453,20.267091751098634,0.0]},{"label":"C","location":[45.06325912475586,17.825939178466798,0.0]},{"label":"C","location":[44.30131530761719,19.013513565063478,0.0]},{"label":"C","location":[46.47262954711914,17.89209747314453,0.0]},{"label":"C","location":[46.35810852050781,20.333251953125,0.0]},{"label":"C","location":[47.120052337646487,19.14583396911621,0.0]},{"label":"C","location":[51.739768981933597,18.359630584716798,0.0]},{"label":"C","location":[51.42440414428711,20.782983779907228,0.0]},{"label":"C","location":[50.88252258300781,19.480257034301759,0.0]},{"label":"C","location":[52.823692321777347,20.964923858642579,0.0]},{"label":"C","location":[53.13890075683594,18.54157066345215,0.0]},{"label":"C","location":[53.680782318115237,19.844295501708986,0.0]},{"label":"C","location":[38.126834869384769,21.2476806640625,0.0]},{"label":"C","location":[40.366355895996097,20.26913833618164,0.0]},{"label":"C","location":[39.52911376953125,21.404890060424806,0.0]},{"label":"C","location":[39.80131530761719,18.976181030273439,0.0]},{"label":"C","location":[37.56195068359375,19.954721450805665,0.0]},{"label":"C","location":[38.399192810058597,18.8189697265625,0.0]},{"label":"C","location":[37.969627380371097,22.649803161621095,0.0]},{"label":"C","location":[39.936790466308597,24.099971771240236,0.0]},{"label":"C","location":[39.37190628051758,22.80701446533203,0.0]},{"label":"C","location":[39.09954833984375,25.2357234954834,0.0]},{"label":"C","location":[37.13238525390625,23.785554885864259,0.0]},{"label":"C","location":[37.69742202758789,25.078514099121095,0.0]},{"label":"C","location":[39.50721740722656,27.930805206298829,0.0]},{"label":"C","location":[37.54021453857422,26.480636596679689,0.0]},{"label":"C","location":[38.94233703613281,26.637845993041993,0.0]},{"label":"C","location":[36.702972412109378,27.61638832092285,0.0]},{"label":"C","location":[38.669979095458987,29.06639862060547,0.0]},{"label":"C","location":[37.26785659790039,28.909189224243165,0.0]},{"label":"C","location":[60.20606994628906,22.471172332763673,0.0]},{"label":"C","location":[57.7664909362793,22.613731384277345,0.0]},{"label":"C","location":[59.02747344970703,23.24666404724121,0.0]},{"label":"C","location":[57.684104919433597,21.205148696899415,0.0]},{"label":"C","location":[60.12384033203125,21.062589645385743,0.0]},{"label":"C","location":[58.862701416015628,20.429656982421876,0.0]},{"label":"C","location":[55.954803466796878,24.65036392211914,0.0]},{"label":"C","location":[58.39453887939453,24.507646560668947,0.0]},{"label":"C","location":[57.133399963378909,23.874713897705079,0.0]},{"label":"C","location":[58.47676467895508,25.916227340698243,0.0]},{"label":"C","location":[56.03718948364258,26.058788299560548,0.0]},{"label":"C","location":[57.29817199707031,26.691877365112306,0.0]},{"label":"C","location":[54.225502014160159,28.095417022705079,0.0]},{"label":"C","location":[56.66523742675781,27.952857971191408,0.0]},{"label":"C","location":[55.40409851074219,27.319927215576173,0.0]},{"label":"C","location":[56.747467041015628,29.36144256591797,0.0]},{"label":"C","location":[54.307884216308597,29.50400161743164,0.0]},{"label":"C","location":[55.568870544433597,30.136934280395509,0.0]},{"label":"C","location":[43.15705871582031,29.60213851928711,0.0]},{"label":"C","location":[45.295448303222659,30.785146713256837,0.0]},{"label":"C","location":[43.88481903076172,30.81097984313965,0.0]},{"label":"C","location":[45.978477478027347,29.550628662109376,0.0]},{"label":"C","location":[43.840240478515628,28.367462158203126,0.0]},{"label":"C","location":[45.25086975097656,28.341787338256837,0.0]},{"label":"C","location":[49.86396789550781,29.900333404541017,0.0]},{"label":"C","location":[50.531715393066409,27.7170467376709,0.0]},{"label":"C","location":[50.99089813232422,29.05127716064453,0.0]},{"label":"C","location":[49.12092590332031,27.741619110107423,0.0]},{"label":"C","location":[48.708213806152347,29.0908145904541,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[75.08549499511719,17.843843460083009,0.0]},{"label":"C","location":[76.56367492675781,17.231491088867189,0.0]},{"label":"C","location":[77.17603302001953,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,17.231491088867189,0.0]},{"label":"C","location":[72.99495697021485,15.753311157226563,0.0]},{"label":"C","location":[73.60731506347656,14.275128364562989,0.0]},{"label":"C","location":[75.08549499511719,13.662776947021485,0.0]},{"label":"C","location":[76.56367492675781,14.275128364562989,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":36.308528900146487,"y":-24.969524383544923,"z":0.0}},"spine":{"pos":[{"x":25.908525466918947,"y":-19.57607078552246,"z":0.0},{"x":25.908525466918947,"y":-30.362977981567384,"z":0.0}]},"tails":{"pos":[{"x":25.1085262298584,"y":-19.57607078552246,"z":0.0},{"x":25.1085262298584,"y":-24.54505729675293,"z":0.0},{"x":25.1085262298584,"y":-30.362977981567384,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":25.1085262298584,"y":-8.688159942626954,"z":0.0},{"x":36.308528900146487,"y":-8.688159942626954,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":73.4005126953125,"y":-16.828842163085939,"z":0.0}},"spine":{"pos":[{"x":63.000511169433597,"y":-8.688159942626954,"z":0.0},{"x":63.000511169433597,"y":-24.969524383544923,"z":0.0}]},"tails":{"pos":[{"x":62.20051193237305,"y":-8.688159942626954,"z":0.0},{"x":62.20051193237305,"y":-24.969524383544923,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[13.771480560302735,-20.775821685791017,0.0]},{"label":"C","location":[13.765717506408692,-19.22469711303711,0.0]},{"label":"C","location":[12.194034576416016,-20.755573272705079,0.0]},{"label":"C","location":[12.190141677856446,-19.22469711303711,0.0]},{"label":"C","location":[10.642601013183594,-18.37632179260254,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[12.789917945861817,-25.814292907714845,0.0]},{"label":"C","location":[12.78364086151123,-24.124860763549806,0.0]},{"label":"C","location":[11.071819305419922,-25.792407989501954,0.0]},{"label":"C","location":[11.067578315734864,-24.124860763549806,0.0]},{"label":"C","location":[10.16018295288086,-23.483966827392579,0.0]},{"label":"C","location":[14.253897666931153,-23.275821685791017,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[1,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[12.548845291137696,-30.887727737426759,0.0]},{"label":"C","location":[12.54298210144043,-29.30959701538086,0.0]},{"label":"C","location":[10.944091796875,-30.867286682128908,0.0]},{"label":"C","location":[10.940132141113282,-29.30959701538086,0.0]},{"label":"C","location":[10.092357635498047,-28.51268768310547,0.0]},{"label":"C","location":[13.462539672851563,-28.314292907714845,0.0]},{"label":"C","location":[14.321723937988282,-32.41166305541992,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[5,1]},{"type":1,"atoms":[6,0]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[8.624320983886719,-13.506401062011719,0.0]},{"label":"C","location":[8.728801727294922,-15.876320838928223,0.0]},{"label":"C","location":[7.992483139038086,-14.721600532531739,0.0]},{"label":"C","location":[10.096963882446289,-15.816000938415528,0.0]},{"label":"C","location":[9.99264144897461,-13.44624137878418,0.0]},{"label":"C","location":[10.728961944580079,-14.600960731506348,0.0]},{"label":"C","location":[15.349283218383789,-15.37440013885498,0.0]},{"label":"C","location":[15.070564270019532,-13.018720626831055,0.0]},{"label":"C","location":[14.529922485351563,-14.276961326599121,0.0]},{"label":"C","location":[16.430564880371095,-12.857760429382325,0.0]},{"label":"C","location":[16.70928382873535,-15.213440895080567,0.0]},{"label":"C","location":[17.249923706054689,-13.955201148986817,0.0]},{"label":"C","location":[1.936478614807129,-12.441920280456543,0.0]},{"label":"C","location":[4.118559837341309,-13.372480392456055,0.0]},{"label":"C","location":[3.2961597442626955,-12.277280807495118,0.0]},{"label":"C","location":[3.581282615661621,-14.632161140441895,0.0]},{"label":"C","location":[1.3993606567382813,-13.701600074768067,0.0]},{"label":"C","location":[2.2216014862060549,-14.796801567077637,0.0]},{"label":"C","location":[1.7720012664794922,-11.082240104675293,0.0]},{"label":"C","location":[3.6688003540039064,-9.657919883728028,0.0]},{"label":"C","location":[3.1315202713012697,-10.917600631713868,0.0]},{"label":"C","location":[2.846562385559082,-8.56272029876709,0.0]},{"label":"C","location":[0.9496002197265625,-9.987039566040039,0.0]},{"label":"C","location":[1.4868803024291993,-8.727359771728516,0.0]},{"label":"C","location":[3.2192001342773439,-5.943359375,0.0]},{"label":"C","location":[1.3222408294677735,-7.367678642272949,0.0]},{"label":"C","location":[2.681920051574707,-7.20304012298584,0.0]},{"label":"C","location":[0.5,-6.272479057312012,0.0]},{"label":"C","location":[2.3968000411987306,-4.8481597900390629,0.0]},{"label":"C","location":[1.0372800827026368,-5.012799263000488,0.0]},{"label":"C","location":[23.914081573486329,-11.488160133361817,0.0]},{"label":"C","location":[21.764324188232423,-10.485599517822266,0.0]},{"label":"C","location":[23.128643035888673,-10.366400718688965,0.0]},{"label":"C","location":[21.185443878173829,-11.72688102722168,0.0]},{"label":"C","location":[23.33536148071289,-12.729439735412598,0.0]},{"label":"C","location":[21.97104263305664,-12.848799705505371,0.0]},{"label":"C","location":[20.85952377319336,-7.999359130859375,0.0]},{"label":"C","location":[23.00928497314453,-9.001919746398926,0.0]},{"label":"C","location":[21.644962310791017,-9.121280670166016,0.0]},{"label":"C","location":[23.588165283203126,-7.760800361633301,0.0]},{"label":"C","location":[21.438243865966798,-6.75823974609375,0.0]},{"label":"C","location":[22.802566528320314,-6.638879776000977,0.0]},{"label":"C","location":[20.533443450927736,-4.271999359130859,0.0]},{"label":"C","location":[22.683364868164064,-5.274559020996094,0.0]},{"label":"C","location":[21.31888198852539,-5.393919467926025,0.0]},{"label":"C","location":[23.2620849609375,-4.0332794189453129,0.0]},{"label":"C","location":[21.112323760986329,-3.03071928024292,0.0]},{"label":"C","location":[22.476642608642579,-2.9113588333129885,0.0]},{"label":"C","location":[6.943361282348633,-3.6835193634033205,0.0]},{"label":"C","location":[8.761760711669922,-2.160158634185791,0.0]},{"label":"C","location":[7.412801742553711,-2.3969593048095705,0.0]},{"label":"C","location":[9.641281127929688,-3.2099194526672365,0.0]},{"label":"C","location":[7.822881698608398,-4.7334394454956059,0.0]},{"label":"C","location":[9.17184066772461,-4.496639251708984,0.0]},{"label":"C","location":[14.144163131713868,-1.5601587295532227,0.0]},{"label":"C","location":[16.248483657836915,-2.654879093170166,0.0]},{"label":"C","location":[15.512323379516602,-1.4999985694885255,0.0]},{"label":"C","location":[15.616483688354493,-3.8699193000793459,0.0]},{"label":"C","location":[13.512161254882813,-2.7751989364624025,0.0]},{"label":"C","location":[14.248321533203125,-3.930079460144043,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[49.254432678222659,-7.995294570922852,0.0]},{"label":"C","location":[48.45457458496094,-9.381025314331055,0.0]},{"label":"C","location":[50.05447006225586,-9.381025314331055,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[45.748741149902347,-29.020893096923829,0.0]},{"label":"C","location":[45.863258361816409,-31.46204376220703,0.0]},{"label":"C","location":[45.10131072998047,-30.274471282958986,0.0]},{"label":"C","location":[47.27262878417969,-31.395885467529298,0.0]},{"label":"C","location":[47.15810775756836,-28.954730987548829,0.0]},{"label":"C","location":[47.92005157470703,-30.14215087890625,0.0]},{"label":"C","location":[52.53976821899414,-30.92835235595703,0.0]},{"label":"C","location":[52.224403381347659,-28.505001068115236,0.0]},{"label":"C","location":[51.682518005371097,-29.807727813720704,0.0]},{"label":"C","location":[53.62369155883789,-28.32305908203125,0.0]},{"label":"C","location":[53.93889617919922,-30.746414184570314,0.0]},{"label":"C","location":[54.48078155517578,-29.443687438964845,0.0]},{"label":"C","location":[38.92683410644531,-28.040302276611329,0.0]},{"label":"C","location":[41.166358947753909,-29.018844604492189,0.0]},{"label":"C","location":[40.3291130065918,-27.883094787597658,0.0]},{"label":"C","location":[40.601318359375,-30.311803817749025,0.0]},{"label":"C","location":[38.36195373535156,-29.333263397216798,0.0]},{"label":"C","location":[39.19919204711914,-30.469013214111329,0.0]},{"label":"C","location":[38.769622802734378,-26.638179779052736,0.0]},{"label":"C","location":[40.736785888671878,-25.188011169433595,0.0]},{"label":"C","location":[40.171905517578128,-26.48097038269043,0.0]},{"label":"C","location":[39.8995475769043,-24.052261352539064,0.0]},{"label":"C","location":[37.93238067626953,-25.502429962158204,0.0]},{"label":"C","location":[38.49742126464844,-24.209468841552736,0.0]},{"label":"C","location":[40.307220458984378,-21.357177734375,0.0]},{"label":"C","location":[38.340213775634769,-22.80734634399414,0.0]},{"label":"C","location":[39.74233627319336,-22.65013885498047,0.0]},{"label":"C","location":[37.50297164916992,-21.67159652709961,0.0]},{"label":"C","location":[39.46997833251953,-20.221586227416993,0.0]},{"label":"C","location":[38.06785583496094,-20.378793716430665,0.0]},{"label":"C","location":[61.00606918334961,-26.816810607910158,0.0]},{"label":"C","location":[58.566490173339847,-26.674251556396486,0.0]},{"label":"C","location":[59.82747268676758,-26.04132080078125,0.0]},{"label":"C","location":[58.48410415649414,-28.082836151123048,0.0]},{"label":"C","location":[60.9238395690918,-28.22539520263672,0.0]},{"label":"C","location":[59.66270065307617,-28.858325958251954,0.0]},{"label":"C","location":[56.75480270385742,-24.63762092590332,0.0]},{"label":"C","location":[59.194541931152347,-24.780338287353517,0.0]},{"label":"C","location":[57.93339920043945,-25.413270950317384,0.0]},{"label":"C","location":[59.276763916015628,-23.37175750732422,0.0]},{"label":"C","location":[56.837188720703128,-23.22919464111328,0.0]},{"label":"C","location":[58.098167419433597,-22.596107482910158,0.0]},{"label":"C","location":[55.0255012512207,-21.19256591796875,0.0]},{"label":"C","location":[57.46523666381836,-21.335124969482423,0.0]},{"label":"C","location":[56.204097747802737,-21.968055725097658,0.0]},{"label":"C","location":[57.547462463378909,-19.926542282104493,0.0]},{"label":"C","location":[55.107887268066409,-19.78398323059082,0.0]},{"label":"C","location":[56.368865966796878,-19.151050567626954,0.0]},{"label":"C","location":[43.957054138183597,-19.68584442138672,0.0]},{"label":"C","location":[46.0954475402832,-18.502838134765626,0.0]},{"label":"C","location":[44.684818267822269,-18.477005004882814,0.0]},{"label":"C","location":[46.778472900390628,-19.737356185913087,0.0]},{"label":"C","location":[44.64023971557617,-20.920520782470704,0.0]},{"label":"C","location":[46.05086898803711,-20.946197509765626,0.0]},{"label":"C","location":[50.66396713256836,-19.387651443481447,0.0]},{"label":"C","location":[51.33171463012695,-21.570938110351564,0.0]},{"label":"C","location":[51.790897369384769,-20.23670768737793,0.0]},{"label":"C","location":[49.920928955078128,-21.546363830566408,0.0]},{"label":"C","location":[49.508209228515628,-20.19717025756836,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[76.68550109863281,-14.738308906555176,0.0]},{"label":"C","location":[78.16368103027344,-15.35066032409668,0.0]},{"label":"C","location":[78.77603149414063,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-15.35066032409668,0.0]},{"label":"C","location":[74.59495544433594,-16.828842163085939,0.0]},{"label":"C","location":[75.20730590820313,-18.307024002075197,0.0]},{"label":"C","location":[76.68550109863281,-18.919376373291017,0.0]},{"label":"C","location":[78.16368103027344,-18.307024002075197,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway8.ket b/api/tests/integration/tests/reaction/ref/pathway8.ket
index cb4987c317..402957cea5 100644
--- a/api/tests/integration/tests/reaction/ref/pathway8.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway8.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]}}
\ No newline at end of file
diff --git a/api/tests/integration/tests/reaction/ref/pathway9.ket b/api/tests/integration/tests/reaction/ref/pathway9.ket
index ea2bff7091..c272fa89fb 100644
--- a/api/tests/integration/tests/reaction/ref/pathway9.ket
+++ b/api/tests/integration/tests/reaction/ref/pathway9.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":6.492522239685059,"z":0.0},{"x":14.685495376586914,"y":6.492522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":65.5694351196289,"y":29.067907333374025,"z":0.0}},"spine":{"pos":[{"x":55.66943359375,"y":37.15824890136719,"z":0.0},{"x":55.66943359375,"y":20.97756576538086,"z":0.0}]},"tails":{"pos":[{"x":55.16943359375,"y":37.15824890136719,"z":0.0},{"x":55.16943359375,"y":20.97756576538086,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":37.15824890136719,"z":0.0},{"x":51.15750503540039,"y":37.15824890136719,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":40.75749969482422,"y":20.97756576538086,"z":0.0},{"x":51.15750503540039,"y":20.97756576538086,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":37.15824890136719,"z":0.0},{"x":14.865644454956055,"y":37.15824890136719,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.865644454956055,"y":20.97756576538086,"z":0.0}},"spine":{"pos":[{"x":4.965639114379883,"y":23.643630981445314,"z":0.0},{"x":4.965639114379883,"y":18.31150245666504,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":23.643630981445314,"z":0.0},{"x":4.465639114379883,"y":18.31150245666504,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":32.702880859375,"y":55.85890579223633,"z":0.0}},"spine":{"pos":[{"x":22.802881240844728,"y":61.97328186035156,"z":0.0},{"x":22.802881240844728,"y":49.744529724121097,"z":0.0}]},"tails":{"pos":[{"x":22.302881240844728,"y":61.97328186035156,"z":0.0},{"x":22.302881240844728,"y":55.642860412597659,"z":0.0},{"x":22.302881240844728,"y":49.744529724121097,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.862886428833008,"y":49.744529724121097,"z":0.0}},"spine":{"pos":[{"x":4.962884902954102,"y":52.41059112548828,"z":0.0},{"x":4.962884902954102,"y":47.078468322753909,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":52.41059112548828,"z":0.0},{"x":4.462884902954102,"y":47.078468322753909,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,24.875680923461915,0.0]},{"label":"C","location":[2.686363458633423,22.411575317382814,0.0]},{"label":"C","location":[3.1811506748199465,23.925432205200197,0.0]},{"label":"C","location":[1.0851545333862305,22.411575317382814,0.0]},{"label":"C","location":[0.5900440216064453,23.925432205200197,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,19.111421585083009,0.0]},{"label":"C","location":[0.49999988079071047,17.511425018310548,0.0]},{"label":"C","location":[1.8855971097946168,16.71142578125,0.0]},{"label":"C","location":[3.2711944580078127,17.511425018310548,0.0]},{"label":"C","location":[3.2711944580078127,19.111421585083009,0.0]},{"label":"C","location":[1.8855971097946168,19.911579132080079,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[24.228923797607423,32.340084075927737,0.0]},{"label":"C","location":[24.333322525024415,29.970088958740236,0.0]},{"label":"C","location":[23.597095489501954,31.12487030029297,0.0]},{"label":"C","location":[25.7015380859375,30.030363082885743,0.0]},{"label":"C","location":[25.597137451171876,32.40019607543945,0.0]},{"label":"C","location":[26.333524703979493,31.24541664123535,0.0]},{"label":"C","location":[30.953765869140626,30.47209930419922,0.0]},{"label":"C","location":[30.67510223388672,32.82770538330078,0.0]},{"label":"C","location":[30.134403228759767,31.569482803344728,0.0]},{"label":"C","location":[32.03516387939453,32.98869705200195,0.0]},{"label":"C","location":[32.31382369995117,30.632932662963868,0.0]},{"label":"C","location":[32.854522705078128,31.89115333557129,0.0]},{"label":"C","location":[17.541015625,33.40453338623047,0.0]},{"label":"C","location":[19.723155975341798,32.473899841308597,0.0]},{"label":"C","location":[18.900754928588868,33.56920623779297,0.0]},{"label":"C","location":[19.185813903808595,31.21424102783203,0.0]},{"label":"C","location":[17.00399398803711,32.144874572753909,0.0]},{"label":"C","location":[17.82623291015625,31.04956817626953,0.0]},{"label":"C","location":[17.376663208007814,34.76411437988281,0.0]},{"label":"C","location":[19.273426055908204,36.188446044921878,0.0]},{"label":"C","location":[18.736083984375,34.92878723144531,0.0]},{"label":"C","location":[18.451187133789064,37.28375244140625,0.0]},{"label":"C","location":[16.554264068603517,35.85942077636719,0.0]},{"label":"C","location":[17.091445922851564,37.11907958984375,0.0]},{"label":"C","location":[18.823856353759767,39.902992248535159,0.0]},{"label":"C","location":[16.926773071289064,38.478660583496097,0.0]},{"label":"C","location":[18.286514282226564,38.643333435058597,0.0]},{"label":"C","location":[16.104534149169923,39.57396697998047,0.0]},{"label":"C","location":[18.001455307006837,40.99829864501953,0.0]},{"label":"C","location":[16.641876220703126,40.83362579345703,0.0]},{"label":"C","location":[39.518611907958987,34.358192443847659,0.0]},{"label":"C","location":[37.368927001953128,35.36077117919922,0.0]},{"label":"C","location":[38.73314666748047,35.480037689208987,0.0]},{"label":"C","location":[36.790016174316409,34.1194953918457,0.0]},{"label":"C","location":[38.93986511230469,33.11691665649414,0.0]},{"label":"C","location":[37.575645446777347,32.997650146484378,0.0]},{"label":"C","location":[36.46403503417969,37.84699249267578,0.0]},{"label":"C","location":[38.61387634277344,36.84441375732422,0.0]},{"label":"C","location":[37.24949645996094,36.72514724731445,0.0]},{"label":"C","location":[39.192626953125,38.08552551269531,0.0]},{"label":"C","location":[37.04277801513672,39.088104248046878,0.0]},{"label":"C","location":[38.40715789794922,39.20753479003906,0.0]},{"label":"C","location":[36.13804626464844,41.5743293762207,0.0]},{"label":"C","location":[38.28788757324219,40.5719108581543,0.0]},{"label":"C","location":[36.92335510253906,40.452484130859378,0.0]},{"label":"C","location":[38.86663818359375,41.81318283081055,0.0]},{"label":"C","location":[36.716796875,42.81560134887695,0.0]},{"label":"C","location":[38.08116912841797,42.935028076171878,0.0]},{"label":"C","location":[22.547992706298829,42.1628303527832,0.0]},{"label":"C","location":[24.366256713867189,43.686283111572269,0.0]},{"label":"C","location":[23.01738739013672,43.44934844970703,0.0]},{"label":"C","location":[25.245891571044923,42.63654327392578,0.0]},{"label":"C","location":[23.42746925354004,41.11293029785156,0.0]},{"label":"C","location":[24.776336669921876,41.34970474243164,0.0]},{"label":"C","location":[29.748783111572267,44.28629684448242,0.0]},{"label":"C","location":[31.853065490722658,43.19146728515625,0.0]},{"label":"C","location":[31.116836547851564,44.34640884399414,0.0]},{"label":"C","location":[31.22107696533203,41.976417541503909,0.0]},{"label":"C","location":[29.116796493530275,43.07124328613281,0.0]},{"label":"C","location":[29.852863311767579,41.91630172729492,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,37.95810317993164,0.0]},{"label":"C","location":[3.2698636054992677,37.95890426635742,0.0]},{"label":"C","location":[1.888077735900879,38.758277893066409,0.0]},{"label":"C","location":[3.2698636054992677,36.3574333190918,0.0]},{"label":"C","location":[0.5013313293457031,36.3502311706543,0.0]},{"label":"C","location":[1.8915972709655762,35.5582160949707,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[24.305753707885743,16.926193237304689,0.0]},{"label":"C","location":[24.420345306396486,14.485044479370118,0.0]},{"label":"C","location":[23.658361434936525,15.672645568847657,0.0]},{"label":"C","location":[25.829723358154298,14.551311492919922,0.0]},{"label":"C","location":[25.715133666992189,16.992460250854493,0.0]},{"label":"C","location":[26.47711753845215,15.80501937866211,0.0]},{"label":"C","location":[31.09686851501465,15.018795013427735,0.0]},{"label":"C","location":[30.781436920166017,17.442157745361329,0.0]},{"label":"C","location":[30.23965835571289,16.139341354370118,0.0]},{"label":"C","location":[32.18074035644531,17.624116897583009,0.0]},{"label":"C","location":[32.49601745605469,15.200752258300782,0.0]},{"label":"C","location":[33.03779602050781,16.503414154052736,0.0]},{"label":"C","location":[17.48394775390625,17.906810760498048,0.0]},{"label":"C","location":[19.723464965820314,16.928241729736329,0.0]},{"label":"C","location":[18.886241912841798,18.06405258178711,0.0]},{"label":"C","location":[19.15839385986328,15.635339736938477,0.0]},{"label":"C","location":[16.91903305053711,16.613910675048829,0.0]},{"label":"C","location":[17.756254196166993,15.478096008300782,0.0]},{"label":"C","location":[17.326704025268556,19.308948516845704,0.0]},{"label":"C","location":[19.293914794921876,20.759092330932618,0.0]},{"label":"C","location":[18.729000091552736,19.4661922454834,0.0]},{"label":"C","location":[18.4565372467041,21.894906997680665,0.0]},{"label":"C","location":[16.489482879638673,20.444761276245118,0.0]},{"label":"C","location":[17.05455780029297,21.737661361694337,0.0]},{"label":"C","location":[18.864364624023439,24.589946746826173,0.0]},{"label":"C","location":[16.89731216430664,23.139801025390626,0.0]},{"label":"C","location":[18.299449920654298,23.297042846679689,0.0]},{"label":"C","location":[16.060089111328126,24.27561378479004,0.0]},{"label":"C","location":[18.026987075805665,25.725601196289064,0.0]},{"label":"C","location":[16.624847412109376,25.568357467651368,0.0]},{"label":"C","location":[39.56305694580078,19.13029670715332,0.0]},{"label":"C","location":[37.12348175048828,19.27290153503418,0.0]},{"label":"C","location":[38.384586334228519,19.90581703186035,0.0]},{"label":"C","location":[37.041160583496097,17.86431121826172,0.0]},{"label":"C","location":[39.480892181396487,17.72170639038086,0.0]},{"label":"C","location":[38.21978759765625,17.088788986206056,0.0]},{"label":"C","location":[35.31193923950195,21.309528350830079,0.0]},{"label":"C","location":[37.751670837402347,21.166765213012697,0.0]},{"label":"C","location":[36.49040985107422,20.533851623535158,0.0]},{"label":"C","location":[37.83383560180664,22.575355529785158,0.0]},{"label":"C","location":[35.39426040649414,22.71796226501465,0.0]},{"label":"C","location":[36.655208587646487,23.351032257080079,0.0]},{"label":"C","location":[33.58256530761719,24.754589080810548,0.0]},{"label":"C","location":[36.02229690551758,24.611982345581056,0.0]},{"label":"C","location":[34.761192321777347,23.979066848754884,0.0]},{"label":"C","location":[36.10445785522461,26.020572662353517,0.0]},{"label":"C","location":[33.664886474609378,26.163179397583009,0.0]},{"label":"C","location":[34.925987243652347,26.796092987060548,0.0]},{"label":"C","location":[22.51404571533203,26.261241912841798,0.0]},{"label":"C","location":[24.652511596679689,27.44427490234375,0.0]},{"label":"C","location":[23.24187469482422,27.470088958740236,0.0]},{"label":"C","location":[25.335481643676759,26.20977020263672,0.0]},{"label":"C","location":[23.197330474853517,25.026578903198243,0.0]},{"label":"C","location":[24.607969284057618,25.00092315673828,0.0]},{"label":"C","location":[29.221107482910158,26.559518814086915,0.0]},{"label":"C","location":[29.888809204101564,24.37619400024414,0.0]},{"label":"C","location":[30.347949981689454,25.710491180419923,0.0]},{"label":"C","location":[28.47801399230957,24.40074920654297,0.0]},{"label":"C","location":[28.065303802490236,25.749998092651368,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,7.724605560302734,0.0]},{"label":"C","location":[2.59616756439209,5.26043701171875,0.0]},{"label":"C","location":[3.091048240661621,6.774361610412598,0.0]},{"label":"C","location":[0.9950428009033203,5.26043701171875,0.0]},{"label":"C","location":[0.5,6.774361610412598,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[52.36248016357422,36.46628952026367,0.0]},{"label":"C","location":[53.9644660949707,36.46628952026367,0.0]},{"label":"C","location":[53.163551330566409,37.8502082824707,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[53.97499465942383,20.18148422241211,0.0]},{"label":"C","location":[53.96907424926758,21.77364730834961,0.0]},{"label":"C","location":[52.35594940185547,20.202125549316408,0.0]},{"label":"C","location":[52.351951599121097,21.77364730834961,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,53.21049880981445,0.0]},{"label":"C","location":[3.268439769744873,53.21129608154297,0.0]},{"label":"C","location":[1.8868601322174073,54.01064682006836,0.0]},{"label":"C","location":[3.268439769744873,51.60972213745117,0.0]},{"label":"C","location":[0.5000003576278687,51.60251998901367,0.0]},{"label":"C","location":[1.8903801441192628,50.81053161621094,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,48.31053161621094,0.0]},{"label":"C","location":[2.6848511695861818,45.84640121459961,0.0]},{"label":"C","location":[3.179725170135498,47.36046600341797,0.0]},{"label":"C","location":[1.083749771118164,45.84640121459961,0.0]},{"label":"C","location":[0.5887150764465332,47.36046600341797,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[16.504423141479493,50.544525146484378,0.0]},{"label":"C","location":[16.504423141479493,48.94453811645508,0.0]},{"label":"C","location":[17.890010833740236,48.14454650878906,0.0]},{"label":"C","location":[19.2757568359375,48.94453811645508,0.0]},{"label":"C","location":[19.2757568359375,50.544525146484378,0.0]},{"label":"C","location":[17.890010833740236,51.34451675415039,0.0]},{"label":"C","location":[20.661346435546876,51.34451675415039,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[18.430644989013673,62.405364990234378,0.0]},{"label":"C","location":[19.23128318786621,59.94121170043945,0.0]},{"label":"C","location":[19.726003646850587,61.45528793334961,0.0]},{"label":"C","location":[17.630006790161134,59.94121170043945,0.0]},{"label":"C","location":[17.135128021240236,61.45528793334961,0.0]},{"label":"C","location":[18.430644989013673,64.00536346435547,0.0]},{"label":"C","location":[20.030641555786134,64.00536346435547,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[17.60279083251953,56.45318603515625,0.0]},{"label":"C","location":[18.85704803466797,57.441200256347659,0.0]},{"label":"C","location":[20.413867950439454,57.08519744873047,0.0]},{"label":"C","location":[21.108436584472658,55.65189743041992,0.0]},{"label":"C","location":[17.611591339111329,54.84164810180664,0.0]},{"label":"C","location":[20.414987564086915,54.20051956176758,0.0]},{"label":"C","location":[18.85704803466797,53.844512939453128,0.0]},{"label":"C","location":[16.057331085205079,56.86727523803711,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.1256046295166,2.4411487579345705,0.0]},{"label":"C","location":[24.240196228027345,0.0,0.0]},{"label":"C","location":[23.478212356567384,1.187601089477539,0.0]},{"label":"C","location":[25.649574279785158,0.06626701354980469,0.0]},{"label":"C","location":[25.534984588623048,2.507415771484375,0.0]},{"label":"C","location":[26.296968460083009,1.3199748992919922,0.0]},{"label":"C","location":[30.916719436645509,0.5337505340576172,0.0]},{"label":"C","location":[30.601287841796876,2.957113265991211,0.0]},{"label":"C","location":[30.05950927734375,1.654296875,0.0]},{"label":"C","location":[32.00059127807617,3.1390724182128908,0.0]},{"label":"C","location":[32.31586837768555,0.7157077789306641,0.0]},{"label":"C","location":[32.85764694213867,2.018369674682617,0.0]},{"label":"C","location":[17.30379867553711,3.4217662811279299,0.0]},{"label":"C","location":[19.543315887451173,2.443197250366211,0.0]},{"label":"C","location":[18.706092834472658,3.579008102416992,0.0]},{"label":"C","location":[18.97824478149414,1.1502952575683594,0.0]},{"label":"C","location":[16.73888397216797,2.128866195678711,0.0]},{"label":"C","location":[17.57610511779785,0.9930515289306641,0.0]},{"label":"C","location":[17.146554946899415,4.823904037475586,0.0]},{"label":"C","location":[19.113765716552736,6.2740478515625,0.0]},{"label":"C","location":[18.548851013183595,4.981147766113281,0.0]},{"label":"C","location":[18.27638816833496,7.409862518310547,0.0]},{"label":"C","location":[16.30933380126953,5.959716796875,0.0]},{"label":"C","location":[16.874408721923829,7.252616882324219,0.0]},{"label":"C","location":[18.684215545654298,10.104901313781739,0.0]},{"label":"C","location":[16.7171630859375,8.654756546020508,0.0]},{"label":"C","location":[18.119300842285158,8.811999320983887,0.0]},{"label":"C","location":[15.879939079284668,9.790569305419922,0.0]},{"label":"C","location":[17.846837997436525,11.240556716918946,0.0]},{"label":"C","location":[16.444698333740236,11.08331298828125,0.0]},{"label":"C","location":[39.38290786743164,4.645252227783203,0.0]},{"label":"C","location":[36.94333267211914,4.7878570556640629,0.0]},{"label":"C","location":[38.204437255859378,5.420772552490234,0.0]},{"label":"C","location":[36.86101150512695,3.3792667388916017,0.0]},{"label":"C","location":[39.300743103027347,3.236661911010742,0.0]},{"label":"C","location":[38.03963851928711,2.6037445068359377,0.0]},{"label":"C","location":[35.13179016113281,6.8244829177856449,0.0]},{"label":"C","location":[37.5715217590332,6.681720733642578,0.0]},{"label":"C","location":[36.31026077270508,6.048806190490723,0.0]},{"label":"C","location":[37.6536865234375,8.090311050415039,0.0]},{"label":"C","location":[35.214111328125,8.232917785644532,0.0]},{"label":"C","location":[36.475059509277347,8.865987777709961,0.0]},{"label":"C","location":[33.40241622924805,10.269543647766114,0.0]},{"label":"C","location":[35.84214782714844,10.126937866210938,0.0]},{"label":"C","location":[34.5810432434082,9.494022369384766,0.0]},{"label":"C","location":[35.92430877685547,11.535528182983399,0.0]},{"label":"C","location":[33.48473358154297,11.67813491821289,0.0]},{"label":"C","location":[34.74584197998047,12.31104850769043,0.0]},{"label":"C","location":[22.33389663696289,11.77619743347168,0.0]},{"label":"C","location":[24.472362518310548,12.959230422973633,0.0]},{"label":"C","location":[23.061725616455079,12.985044479370118,0.0]},{"label":"C","location":[25.155332565307618,11.724725723266602,0.0]},{"label":"C","location":[23.017181396484376,10.541534423828125,0.0]},{"label":"C","location":[24.427820205688478,10.515877723693848,0.0]},{"label":"C","location":[29.040958404541017,12.074474334716797,0.0]},{"label":"C","location":[29.708660125732423,9.891148567199707,0.0]},{"label":"C","location":[30.167800903320314,11.225446701049805,0.0]},{"label":"C","location":[28.29786491394043,9.915703773498536,0.0]},{"label":"C","location":[27.885154724121095,11.26495361328125,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[66.76387023925781,28.265993118286134,0.0]},{"label":"C","location":[66.76419067382813,29.869979858398439,0.0]},{"label":"C","location":[67.89250183105469,30.998291015625,0.0]},{"label":"C","location":[67.892822265625,27.137361526489259,0.0]},{"label":"C","location":[69.49665069580078,27.137361526489259,0.0]},{"label":"C","location":[70.62528228759766,28.265993118286134,0.0]},{"label":"C","location":[70.6251220703125,29.869979858398439,0.0]},{"label":"C","location":[69.49665069580078,30.998451232910158,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[35.2829475402832,57.224449157714847,0.0]},{"label":"C","location":[38.051475524902347,57.22524642944336,0.0]},{"label":"C","location":[36.66985321044922,58.024620056152347,0.0]},{"label":"C","location":[38.051475524902347,55.623779296875,0.0]},{"label":"C","location":[35.2829475402832,55.616580963134769,0.0]},{"label":"C","location":[36.673370361328128,54.82456588745117,0.0]},{"label":"C","location":[33.89732360839844,54.816566467285159,0.0]},{"label":"C","location":[35.5419921875,53.69318771362305,0.0]},{"label":"C","location":[39.18285369873047,54.492401123046878,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"$ref":"mol3"},{"$ref":"mol4"},{"$ref":"mol5"},{"$ref":"mol6"},{"$ref":"mol7"},{"$ref":"mol8"},{"$ref":"mol9"},{"$ref":"mol10"},{"$ref":"mol11"},{"$ref":"mol12"},{"$ref":"mol13"},{"$ref":"mol14"},{"$ref":"mol15"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.665639877319336,"y":-39.3538818359375,"z":0.0}},"spine":{"pos":[{"x":5.265639305114746,"y":-36.68782043457031,"z":0.0},{"x":5.265639305114746,"y":-42.01994705200195,"z":0.0}]},"tails":{"pos":[{"x":4.465639114379883,"y":-36.68782043457031,"z":0.0},{"x":4.465639114379883,"y":-42.01994705200195,"z":0.0}]},"zOrder":0}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-23.173202514648439,"z":0.0},{"x":52.75749969482422,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.465639114379883,"y":-23.173202514648439,"z":0.0},{"x":15.665639877319336,"y":-23.173202514648439,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":41.5574951171875,"y":-39.3538818359375,"z":0.0},{"x":52.75749969482422,"y":-39.3538818359375,"z":0.0}]}},{"type":"arrow","data":{"mode":"filled-triangle","pos":[{"x":4.285493850708008,"y":-7.992522239685059,"z":0.0},{"x":15.485494613647461,"y":-7.992522239685059,"z":0.0}]}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":67.96942901611328,"y":-31.26354217529297,"z":0.0}},"spine":{"pos":[{"x":57.569427490234378,"y":-23.173202514648439,"z":0.0},{"x":57.569427490234378,"y":-39.3538818359375,"z":0.0}]},"tails":{"pos":[{"x":56.76942825317383,"y":-23.173202514648439,"z":0.0},{"x":56.76942825317383,"y":-39.3538818359375,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.662885665893555,"y":-51.61252212524414,"z":0.0}},"spine":{"pos":[{"x":5.262885093688965,"y":-48.94646072387695,"z":0.0},{"x":5.262885093688965,"y":-54.27858352661133,"z":0.0}]},"tails":{"pos":[{"x":4.462884902954102,"y":-48.94646072387695,"z":0.0},{"x":4.462884902954102,"y":-54.27858352661133,"z":0.0}]},"zOrder":0}},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":34.302879333496097,"y":-57.8437614440918,"z":0.0}},"spine":{"pos":[{"x":23.90287971496582,"y":-51.61252212524414,"z":0.0},{"x":23.90287971496582,"y":-64.07499694824219,"z":0.0}]},"tails":{"pos":[{"x":23.102880477905275,"y":-51.61252212524414,"z":0.0},{"x":23.102880477905275,"y":-57.74458312988281,"z":0.0},{"x":23.102880477905275,"y":-64.07499694824219,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[1.8856782913208008,-35.45576858520508,0.0]},{"label":"C","location":[2.686363458633423,-37.91987228393555,0.0]},{"label":"C","location":[3.1811506748199465,-36.4060173034668,0.0]},{"label":"C","location":[1.0851545333862305,-37.91987228393555,0.0]},{"label":"C","location":[0.5900440216064453,-36.4060173034668,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[0.49999988079071047,-41.220027923583987,0.0]},{"label":"C","location":[0.49999988079071047,-42.82002258300781,0.0]},{"label":"C","location":[1.8855971097946168,-43.62002182006836,0.0]},{"label":"C","location":[3.2711944580078127,-42.82002258300781,0.0]},{"label":"C","location":[3.2711944580078127,-41.220027923583987,0.0]},{"label":"C","location":[1.8855971097946168,-40.41986846923828,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[25.028919219970704,-27.99136734008789,0.0]},{"label":"C","location":[25.133317947387697,-30.36136245727539,0.0]},{"label":"C","location":[24.397090911865236,-29.206581115722658,0.0]},{"label":"C","location":[26.50153350830078,-30.301088333129884,0.0]},{"label":"C","location":[26.397132873535158,-27.931255340576173,0.0]},{"label":"C","location":[27.133520126342775,-29.086034774780275,0.0]},{"label":"C","location":[31.753761291503908,-29.859352111816408,0.0]},{"label":"C","location":[31.47509765625,-27.503747940063478,0.0]},{"label":"C","location":[30.934398651123048,-28.7619686126709,0.0]},{"label":"C","location":[32.83515930175781,-27.342754364013673,0.0]},{"label":"C","location":[33.11381912231445,-29.698518753051759,0.0]},{"label":"C","location":[33.654518127441409,-28.440298080444337,0.0]},{"label":"C","location":[18.34101104736328,-26.926918029785158,0.0]},{"label":"C","location":[20.523151397705079,-27.85755157470703,0.0]},{"label":"C","location":[19.70075035095215,-26.762245178222658,0.0]},{"label":"C","location":[19.985809326171876,-29.117210388183595,0.0]},{"label":"C","location":[17.80398941040039,-28.18657684326172,0.0]},{"label":"C","location":[18.62622833251953,-29.281883239746095,0.0]},{"label":"C","location":[18.176658630371095,-25.567337036132814,0.0]},{"label":"C","location":[20.073421478271486,-24.143007278442384,0.0]},{"label":"C","location":[19.53607940673828,-25.402664184570314,0.0]},{"label":"C","location":[19.251182556152345,-23.047698974609376,0.0]},{"label":"C","location":[17.354259490966798,-24.472030639648439,0.0]},{"label":"C","location":[17.891441345214845,-23.212371826171876,0.0]},{"label":"C","location":[19.623851776123048,-20.4284610748291,0.0]},{"label":"C","location":[17.726768493652345,-21.85279083251953,0.0]},{"label":"C","location":[19.086509704589845,-21.68811798095703,0.0]},{"label":"C","location":[16.904529571533204,-20.757484436035158,0.0]},{"label":"C","location":[18.801450729370118,-19.333152770996095,0.0]},{"label":"C","location":[17.441871643066408,-19.497825622558595,0.0]},{"label":"C","location":[40.318607330322269,-25.9732608795166,0.0]},{"label":"C","location":[38.168922424316409,-24.97068214416504,0.0]},{"label":"C","location":[39.53314208984375,-24.85141372680664,0.0]},{"label":"C","location":[37.59001159667969,-26.21195411682129,0.0]},{"label":"C","location":[39.73986053466797,-27.214534759521486,0.0]},{"label":"C","location":[38.375640869140628,-27.33380126953125,0.0]},{"label":"C","location":[37.26403045654297,-22.484458923339845,0.0]},{"label":"C","location":[39.41387176513672,-23.487037658691408,0.0]},{"label":"C","location":[38.04949188232422,-23.606304168701173,0.0]},{"label":"C","location":[39.99262237548828,-22.24592399597168,0.0]},{"label":"C","location":[37.8427734375,-21.243345260620118,0.0]},{"label":"C","location":[39.2071533203125,-21.123918533325197,0.0]},{"label":"C","location":[36.93804168701172,-18.757122039794923,0.0]},{"label":"C","location":[39.08788299560547,-19.759540557861329,0.0]},{"label":"C","location":[37.723350524902347,-19.878969192504884,0.0]},{"label":"C","location":[39.66663360595703,-18.518268585205079,0.0]},{"label":"C","location":[37.51679229736328,-17.515850067138673,0.0]},{"label":"C","location":[38.88116455078125,-17.39642333984375,0.0]},{"label":"C","location":[23.34798812866211,-18.168621063232423,0.0]},{"label":"C","location":[25.16625213623047,-16.64516830444336,0.0]},{"label":"C","location":[23.8173828125,-16.882102966308595,0.0]},{"label":"C","location":[26.045886993408204,-17.694910049438478,0.0]},{"label":"C","location":[24.22746467590332,-19.218523025512697,0.0]},{"label":"C","location":[25.576332092285158,-18.981746673583986,0.0]},{"label":"C","location":[30.548778533935548,-16.045154571533204,0.0]},{"label":"C","location":[32.65306091308594,-17.139982223510743,0.0]},{"label":"C","location":[31.916831970214845,-15.985042572021485,0.0]},{"label":"C","location":[32.02107238769531,-18.35503578186035,0.0]},{"label":"C","location":[29.916791915893556,-17.260208129882814,0.0]},{"label":"C","location":[30.65285873413086,-18.415149688720704,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":2,"atoms":[56,54]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,59]},{"type":1,"atoms":[59,57]},{"type":2,"atoms":[57,55]},{"type":1,"atoms":[55,56]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[55,42]}]},"mol3":{"type":"molecule","atoms":[{"label":"C","location":[0.5013313293457031,-22.373348236083986,0.0]},{"label":"C","location":[3.2698636054992677,-22.372547149658204,0.0]},{"label":"C","location":[1.888077735900879,-21.573171615600587,0.0]},{"label":"C","location":[3.2698636054992677,-23.974018096923829,0.0]},{"label":"C","location":[0.5013313293457031,-23.981216430664064,0.0]},{"label":"C","location":[1.8915972709655762,-24.773231506347658,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol4":{"type":"molecule","atoms":[{"label":"C","location":[25.105749130249025,-43.40525436401367,0.0]},{"label":"C","location":[25.220340728759767,-45.846405029296878,0.0]},{"label":"C","location":[24.458356857299806,-44.6588020324707,0.0]},{"label":"C","location":[26.629718780517579,-45.78013610839844,0.0]},{"label":"C","location":[26.51512908935547,-43.3389892578125,0.0]},{"label":"C","location":[27.27711296081543,-44.52642822265625,0.0]},{"label":"C","location":[31.89686393737793,-45.312652587890628,0.0]},{"label":"C","location":[31.581432342529298,-42.88928985595703,0.0]},{"label":"C","location":[31.039653778076173,-44.192108154296878,0.0]},{"label":"C","location":[32.980735778808597,-42.70732879638672,0.0]},{"label":"C","location":[33.29601287841797,-45.13069534301758,0.0]},{"label":"C","location":[33.837791442871097,-43.828033447265628,0.0]},{"label":"C","location":[18.28394317626953,-42.42463684082031,0.0]},{"label":"C","location":[20.523460388183595,-43.40320587158203,0.0]},{"label":"C","location":[19.686237335205079,-42.26739501953125,0.0]},{"label":"C","location":[19.958389282226564,-44.69610595703125,0.0]},{"label":"C","location":[17.71902847290039,-43.71753692626953,0.0]},{"label":"C","location":[18.556249618530275,-44.85335159301758,0.0]},{"label":"C","location":[18.126699447631837,-41.022499084472659,0.0]},{"label":"C","location":[20.093910217285158,-39.572357177734378,0.0]},{"label":"C","location":[19.528995513916017,-40.865257263183597,0.0]},{"label":"C","location":[19.256532669067384,-38.43653869628906,0.0]},{"label":"C","location":[17.289478302001954,-39.886688232421878,0.0]},{"label":"C","location":[17.85455322265625,-38.593788146972659,0.0]},{"label":"C","location":[19.66436004638672,-35.74150085449219,0.0]},{"label":"C","location":[17.697307586669923,-37.191646575927737,0.0]},{"label":"C","location":[19.099445343017579,-37.03440475463867,0.0]},{"label":"C","location":[16.860084533691408,-36.05583190917969,0.0]},{"label":"C","location":[18.826982498168947,-34.6058464050293,0.0]},{"label":"C","location":[17.424842834472658,-34.763092041015628,0.0]},{"label":"C","location":[40.36305236816406,-41.201148986816409,0.0]},{"label":"C","location":[37.92347717285156,-41.05854797363281,0.0]},{"label":"C","location":[39.1845817565918,-40.425628662109378,0.0]},{"label":"C","location":[37.841156005859378,-42.46713638305664,0.0]},{"label":"C","location":[40.280887603759769,-42.6097412109375,0.0]},{"label":"C","location":[39.01978302001953,-43.24266052246094,0.0]},{"label":"C","location":[36.111934661865237,-39.02191925048828,0.0]},{"label":"C","location":[38.551666259765628,-39.16468048095703,0.0]},{"label":"C","location":[37.2904052734375,-39.7975959777832,0.0]},{"label":"C","location":[38.63383102416992,-37.7560920715332,0.0]},{"label":"C","location":[36.19425582885742,-37.613487243652347,0.0]},{"label":"C","location":[37.455204010009769,-36.98041534423828,0.0]},{"label":"C","location":[34.38256072998047,-35.57685852050781,0.0]},{"label":"C","location":[36.82229232788086,-35.71946716308594,0.0]},{"label":"C","location":[35.561187744140628,-36.352378845214847,0.0]},{"label":"C","location":[36.90445327758789,-34.310874938964847,0.0]},{"label":"C","location":[34.464881896972659,-34.16826629638672,0.0]},{"label":"C","location":[35.725982666015628,-33.53535461425781,0.0]},{"label":"C","location":[23.314041137695314,-34.07020568847656,0.0]},{"label":"C","location":[25.45250701904297,-32.88717269897461,0.0]},{"label":"C","location":[24.0418701171875,-32.861358642578128,0.0]},{"label":"C","location":[26.13547706604004,-34.12167739868164,0.0]},{"label":"C","location":[23.997325897216798,-35.30487060546875,0.0]},{"label":"C","location":[25.4079647064209,-35.33052444458008,0.0]},{"label":"C","location":[30.021102905273439,-33.77192687988281,0.0]},{"label":"C","location":[30.688804626464845,-35.95525360107422,0.0]},{"label":"C","location":[31.147945404052736,-34.62095642089844,0.0]},{"label":"C","location":[29.27800941467285,-35.93069839477539,0.0]},{"label":"C","location":[28.865299224853517,-34.581451416015628,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol5":{"type":"molecule","atoms":[{"label":"C","location":[1.7955236434936524,-6.760437965393066,0.0]},{"label":"C","location":[2.59616756439209,-9.22460651397705,0.0]},{"label":"C","location":[3.091048240661621,-7.710681915283203,0.0]},{"label":"C","location":[0.9950428009033203,-9.22460651397705,0.0]},{"label":"C","location":[0.5,-7.710681915283203,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol6":{"type":"molecule","atoms":[{"label":"C","location":[53.96247482299805,-23.865161895751954,0.0]},{"label":"C","location":[55.56446075439453,-23.865161895751954,0.0]},{"label":"C","location":[54.763545989990237,-22.481243133544923,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol7":{"type":"molecule","atoms":[{"label":"C","location":[55.574989318847659,-40.14996337890625,0.0]},{"label":"C","location":[55.569068908691409,-38.55780029296875,0.0]},{"label":"C","location":[53.9559440612793,-40.12932205200195,0.0]},{"label":"C","location":[53.951942443847659,-38.55780029296875,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol8":{"type":"molecule","atoms":[{"label":"C","location":[0.5000003576278687,-48.14655303955078,0.0]},{"label":"C","location":[3.268439769744873,-48.145751953125,0.0]},{"label":"C","location":[1.8868601322174073,-47.346405029296878,0.0]},{"label":"C","location":[3.268439769744873,-49.74732971191406,0.0]},{"label":"C","location":[0.5000003576278687,-49.75453186035156,0.0]},{"label":"C","location":[1.8903801441192628,-50.54651641845703,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]}]},"mol9":{"type":"molecule","atoms":[{"label":"C","location":[1.8842201232910157,-53.04651641845703,0.0]},{"label":"C","location":[2.6848511695861818,-55.510650634765628,0.0]},{"label":"C","location":[3.179725170135498,-53.996585845947269,0.0]},{"label":"C","location":[1.083749771118164,-55.510650634765628,0.0]},{"label":"C","location":[0.5887150764465332,-53.996585845947269,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]},"mol10":{"type":"molecule","atoms":[{"label":"C","location":[17.30442237854004,-50.812530517578128,0.0]},{"label":"C","location":[17.30442237854004,-52.41251754760742,0.0]},{"label":"C","location":[18.69001007080078,-53.21250915527344,0.0]},{"label":"C","location":[20.075756072998048,-52.41251754760742,0.0]},{"label":"C","location":[20.075756072998048,-50.812530517578128,0.0]},{"label":"C","location":[18.69001007080078,-50.01253890991211,0.0]},{"label":"C","location":[21.461345672607423,-50.01253890991211,0.0]}],"bonds":[{"type":1,"atoms":[5,0]},{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[4,6]}]},"mol11":{"type":"molecule","atoms":[{"label":"C","location":[19.23064422607422,-57.312503814697269,0.0]},{"label":"C","location":[20.031282424926759,-59.77665710449219,0.0]},{"label":"C","location":[20.526002883911134,-58.26258087158203,0.0]},{"label":"C","location":[18.43000602722168,-59.77665710449219,0.0]},{"label":"C","location":[17.93512725830078,-58.26258087158203,0.0]},{"label":"C","location":[19.23064422607422,-55.71250915527344,0.0]},{"label":"C","location":[20.83064079284668,-55.71250915527344,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,3]},{"type":1,"atoms":[3,1]},{"type":2,"atoms":[1,2]},{"type":1,"atoms":[2,0]},{"type":2,"atoms":[0,5]},{"type":1,"atoms":[5,6]}]},"mol12":{"type":"molecule","atoms":[{"label":"C","location":[18.402790069580079,-63.264671325683597,0.0]},{"label":"C","location":[19.657047271728517,-62.27665710449219,0.0]},{"label":"C","location":[21.2138671875,-62.632659912109378,0.0]},{"label":"C","location":[21.908435821533204,-64.06596374511719,0.0]},{"label":"C","location":[18.411590576171876,-64.87620544433594,0.0]},{"label":"C","location":[21.21498680114746,-65.517333984375,0.0]},{"label":"C","location":[19.657047271728517,-65.87334442138672,0.0]},{"label":"C","location":[16.857330322265626,-62.850582122802737,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,6]},{"type":1,"atoms":[6,5]},{"type":1,"atoms":[5,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[0,7]}]},"mol13":{"type":"molecule","atoms":[{"label":"C","location":[24.92560386657715,-12.043895721435547,0.0]},{"label":"C","location":[25.04019546508789,-14.485044479370118,0.0]},{"label":"C","location":[24.27821159362793,-13.297443389892579,0.0]},{"label":"C","location":[26.449573516845704,-14.418777465820313,0.0]},{"label":"C","location":[26.334983825683595,-11.977628707885743,0.0]},{"label":"C","location":[27.096967697143556,-13.165069580078125,0.0]},{"label":"C","location":[31.716718673706056,-13.9512939453125,0.0]},{"label":"C","location":[31.401287078857423,-11.527931213378907,0.0]},{"label":"C","location":[30.859508514404298,-12.830747604370118,0.0]},{"label":"C","location":[32.80059051513672,-11.345972061157227,0.0]},{"label":"C","location":[33.115867614746097,-13.769336700439454,0.0]},{"label":"C","location":[33.65764617919922,-12.4666748046875,0.0]},{"label":"C","location":[18.103797912597658,-11.063278198242188,0.0]},{"label":"C","location":[20.34331512451172,-12.041847229003907,0.0]},{"label":"C","location":[19.506092071533204,-10.906036376953125,0.0]},{"label":"C","location":[19.778244018554689,-13.334749221801758,0.0]},{"label":"C","location":[17.538883209228517,-12.356178283691407,0.0]},{"label":"C","location":[18.3761043548584,-13.491992950439454,0.0]},{"label":"C","location":[17.94655418395996,-9.661140441894532,0.0]},{"label":"C","location":[19.91376495361328,-8.210996627807618,0.0]},{"label":"C","location":[19.34885025024414,-9.503896713256836,0.0]},{"label":"C","location":[19.076387405395509,-7.07518196105957,0.0]},{"label":"C","location":[17.109333038330079,-8.525327682495118,0.0]},{"label":"C","location":[17.674407958984376,-7.232427597045898,0.0]},{"label":"C","location":[19.484214782714845,-4.380143165588379,0.0]},{"label":"C","location":[17.517162322998048,-5.830287933349609,0.0]},{"label":"C","location":[18.919300079345704,-5.6730451583862309,0.0]},{"label":"C","location":[16.67993927001953,-4.694475173950195,0.0]},{"label":"C","location":[18.64683723449707,-3.244487762451172,0.0]},{"label":"C","location":[17.24469757080078,-3.401731491088867,0.0]},{"label":"C","location":[40.18290710449219,-9.839792251586914,0.0]},{"label":"C","location":[37.74333190917969,-9.697187423706055,0.0]},{"label":"C","location":[39.00443649291992,-9.064271926879883,0.0]},{"label":"C","location":[37.6610107421875,-11.105777740478516,0.0]},{"label":"C","location":[40.10074234008789,-11.248382568359375,0.0]},{"label":"C","location":[38.839637756347659,-11.88129997253418,0.0]},{"label":"C","location":[35.93178939819336,-7.660561561584473,0.0]},{"label":"C","location":[38.37152099609375,-7.803323745727539,0.0]},{"label":"C","location":[37.110260009765628,-8.436238288879395,0.0]},{"label":"C","location":[38.45368576049805,-6.394733428955078,0.0]},{"label":"C","location":[36.01411056518555,-6.252126693725586,0.0]},{"label":"C","location":[37.27505874633789,-5.619056701660156,0.0]},{"label":"C","location":[34.202415466308597,-4.215500831604004,0.0]},{"label":"C","location":[36.642147064208987,-4.35810661315918,0.0]},{"label":"C","location":[35.38104248046875,-4.991022109985352,0.0]},{"label":"C","location":[36.724308013916019,-2.9495162963867189,0.0]},{"label":"C","location":[34.28473663330078,-2.8069095611572267,0.0]},{"label":"C","location":[35.54583740234375,-2.1739959716796877,0.0]},{"label":"C","location":[23.133895874023439,-2.7088470458984377,0.0]},{"label":"C","location":[25.272361755371095,-1.5258140563964844,0.0]},{"label":"C","location":[23.861724853515626,-1.5,0.0]},{"label":"C","location":[25.955331802368165,-2.7603187561035158,0.0]},{"label":"C","location":[23.817180633544923,-3.943510055541992,0.0]},{"label":"C","location":[25.227819442749025,-3.9691667556762697,0.0]},{"label":"C","location":[29.840957641601564,-2.4105701446533205,0.0]},{"label":"C","location":[30.50865936279297,-4.59389591217041,0.0]},{"label":"C","location":[30.96780014038086,-3.2595977783203127,0.0]},{"label":"C","location":[29.097864151000978,-4.569340705871582,0.0]},{"label":"C","location":[28.68515396118164,-3.220090866088867,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":2,"atoms":[8,6]},{"type":1,"atoms":[6,10]},{"type":2,"atoms":[10,11]},{"type":1,"atoms":[11,9]},{"type":2,"atoms":[9,7]},{"type":1,"atoms":[7,8]},{"type":1,"atoms":[5,8]},{"type":2,"atoms":[14,12]},{"type":1,"atoms":[12,16]},{"type":2,"atoms":[16,17]},{"type":1,"atoms":[17,15]},{"type":2,"atoms":[15,13]},{"type":1,"atoms":[13,14]},{"type":1,"atoms":[13,2]},{"type":2,"atoms":[20,18]},{"type":1,"atoms":[18,22]},{"type":2,"atoms":[22,23]},{"type":1,"atoms":[23,21]},{"type":2,"atoms":[21,19]},{"type":1,"atoms":[19,20]},{"type":1,"atoms":[18,12]},{"type":1,"atoms":[20,14]},{"type":2,"atoms":[26,24]},{"type":1,"atoms":[24,28]},{"type":2,"atoms":[28,29]},{"type":1,"atoms":[29,27]},{"type":2,"atoms":[27,25]},{"type":1,"atoms":[25,26]},{"type":1,"atoms":[21,26]},{"type":1,"atoms":[23,25]},{"type":2,"atoms":[32,30]},{"type":1,"atoms":[30,34]},{"type":2,"atoms":[34,35]},{"type":1,"atoms":[35,33]},{"type":2,"atoms":[33,31]},{"type":1,"atoms":[31,32]},{"type":1,"atoms":[11,33]},{"type":2,"atoms":[38,36]},{"type":1,"atoms":[36,40]},{"type":2,"atoms":[40,41]},{"type":1,"atoms":[41,39]},{"type":2,"atoms":[39,37]},{"type":1,"atoms":[37,38]},{"type":2,"atoms":[44,42]},{"type":1,"atoms":[42,46]},{"type":2,"atoms":[46,47]},{"type":1,"atoms":[47,45]},{"type":2,"atoms":[45,43]},{"type":1,"atoms":[43,44]},{"type":1,"atoms":[38,31]},{"type":1,"atoms":[37,32]},{"type":1,"atoms":[44,40]},{"type":1,"atoms":[43,41]},{"type":2,"atoms":[50,48]},{"type":1,"atoms":[48,52]},{"type":2,"atoms":[52,53]},{"type":1,"atoms":[53,51]},{"type":2,"atoms":[51,49]},{"type":1,"atoms":[49,50]},{"type":1,"atoms":[24,48]},{"type":1,"atoms":[54,58]},{"type":2,"atoms":[58,57]},{"type":1,"atoms":[57,55]},{"type":2,"atoms":[55,56]},{"type":1,"atoms":[56,54]},{"type":1,"atoms":[51,58]},{"type":1,"atoms":[56,46]}]},"mol14":{"type":"molecule","atoms":[{"label":"C","location":[69.16386413574219,-32.065452575683597,0.0]},{"label":"C","location":[69.1641845703125,-30.461467742919923,0.0]},{"label":"C","location":[70.29249572753906,-29.33315658569336,0.0]},{"label":"C","location":[70.29281616210938,-33.19408416748047,0.0]},{"label":"C","location":[71.89664459228516,-33.19408416748047,0.0]},{"label":"C","location":[73.02527618408203,-32.065452575683597,0.0]},{"label":"C","location":[73.02511596679688,-30.461467742919923,0.0]},{"label":"C","location":[71.89664459228516,-29.332996368408204,0.0]}],"bonds":[{"type":1,"atoms":[1,0]},{"type":1,"atoms":[0,3]},{"type":1,"atoms":[3,4]},{"type":1,"atoms":[4,5]},{"type":1,"atoms":[5,6]},{"type":1,"atoms":[6,7]},{"type":1,"atoms":[7,2]},{"type":1,"atoms":[2,1]}]},"mol15":{"type":"molecule","atoms":[{"label":"C","location":[36.8829460144043,-56.47821807861328,0.0]},{"label":"C","location":[39.65147399902344,-56.477420806884769,0.0]},{"label":"C","location":[38.26985168457031,-55.67804718017578,0.0]},{"label":"C","location":[39.65147399902344,-58.078887939453128,0.0]},{"label":"C","location":[36.8829460144043,-58.08608627319336,0.0]},{"label":"C","location":[38.27336883544922,-58.87810134887695,0.0]},{"label":"C","location":[35.49732208251953,-58.88610076904297,0.0]},{"label":"C","location":[37.141990661621097,-60.00947952270508,0.0]},{"label":"C","location":[40.78285217285156,-59.21026611328125,0.0]}],"bonds":[{"type":2,"atoms":[2,0]},{"type":1,"atoms":[0,4]},{"type":2,"atoms":[4,5]},{"type":1,"atoms":[5,3]},{"type":2,"atoms":[3,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[4,6]},{"type":2,"atoms":[5,7]},{"type":1,"atoms":[3,8]}]}}
\ No newline at end of file
diff --git a/api/wasm/indigo-ketcher/test/pathway_layout.ket b/api/wasm/indigo-ketcher/test/pathway_layout.ket
index e88c2d7d5b..d4668bf414 100644
--- a/api/wasm/indigo-ketcher/test/pathway_layout.ket
+++ b/api/wasm/indigo-ketcher/test/pathway_layout.ket
@@ -1 +1 @@
-{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":14.357187271118164,"y":2.8549156188964845,"z":0.0}},"spine":{"pos":[{"x":4.457185745239258,"y":5.017011642456055,"z":0.0},{"x":4.457185745239258,"y":0.6928203105926514,"z":0.0}]},"tails":{"pos":[{"x":3.9571855068206789,"y":5.017011642456055,"z":0.0},{"x":3.9571855068206789,"y":0.6928203105926514,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[16.846059799194337,4.085988998413086,0.0]},{"label":"C","location":[15.55163288116455,3.1455328464508058,0.0]},{"label":"C","location":[16.04606056213379,1.623842477798462,0.0]},{"label":"C","location":[17.646059036254884,1.6238422393798829,0.0]},{"label":"C","location":[18.140487670898439,3.1455326080322267,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.6313705444335938,6.148382663726807,0.0]},{"label":"C","location":[0.49999964237213137,5.017011642456055,0.0]},{"label":"C","location":[2.7627415657043459,5.017011642456055,0.0]},{"label":"C","location":[1.6313706636428834,3.885640859603882,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.6313705444335938,1.3856406211853028,0.0]},{"label":"C","location":[0.8313705921173096,-1.1920928955078126e-7,0.0]},{"label":"C","location":[2.431370496749878,1.1920928955078126e-7,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]}}
\ No newline at end of file
+{"root":{"nodes":[{"$ref":"mol0"},{"$ref":"mol1"},{"$ref":"mol2"},{"type":"multi-tailed-arrow","data":{"head":{"position":{"x":15.157186508178711,"y":-4.793466567993164,"z":0.0}},"spine":{"pos":[{"x":4.757185459136963,"y":-2.631371021270752,"z":0.0},{"x":4.757185459136963,"y":-6.955562114715576,"z":0.0}]},"tails":{"pos":[{"x":3.9571855068206789,"y":-2.631371021270752,"z":0.0},{"x":3.9571855068206789,"y":-6.955562114715576,"z":0.0}]},"zOrder":0}}]},"mol0":{"type":"molecule","atoms":[{"label":"C","location":[17.646059036254884,-3.5623931884765627,0.0]},{"label":"C","location":[16.35163116455078,-4.502849578857422,0.0]},{"label":"C","location":[16.846059799194337,-6.024539947509766,0.0]},{"label":"C","location":[18.44605827331543,-6.024539947509766,0.0]},{"label":"C","location":[18.940486907958986,-4.502849578857422,0.0]}],"bonds":[{"type":1,"atoms":[0,4]},{"type":1,"atoms":[4,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,1]},{"type":1,"atoms":[1,0]}]},"mol1":{"type":"molecule","atoms":[{"label":"C","location":[1.6313705444335938,-1.5000001192092896,0.0]},{"label":"C","location":[0.49999964237213137,-2.631371021270752,0.0]},{"label":"C","location":[2.7627415657043459,-2.631371021270752,0.0]},{"label":"C","location":[1.6313706636428834,-3.762742042541504,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,3]},{"type":1,"atoms":[3,2]},{"type":1,"atoms":[2,0]}]},"mol2":{"type":"molecule","atoms":[{"label":"C","location":[1.6313705444335938,-6.262741565704346,0.0]},{"label":"C","location":[0.8313705921173096,-7.648382186889648,0.0]},{"label":"C","location":[2.431370496749878,-7.648382186889648,0.0]}],"bonds":[{"type":1,"atoms":[0,1]},{"type":1,"atoms":[1,2]},{"type":1,"atoms":[2,0]}]}}
\ No newline at end of file
diff --git a/core/indigo-core/layout/pathway_layout.h b/core/indigo-core/layout/pathway_layout.h
index 0073ad65a5..bb9a69092c 100644
--- a/core/indigo-core/layout/pathway_layout.h
+++ b/core/indigo-core/layout/pathway_layout.h
@@ -48,7 +48,7 @@ namespace indigo
static constexpr float ARROW_TAIL_LENGTH = 0.5f;
static constexpr float VERTICAL_SPACING = 2.5f;
static constexpr float MULTIPATHWAY_VERTICAL_SPACING = 1.5f;
- static constexpr float ARROW_LENGTH_FACTOR = 6.5f;
+ static constexpr float ARROW_LENGTH_FACTOR = 7.0f;
static constexpr float MIN_BOND_MEAN = 0.01f;
static constexpr int MAX_DEPTHS = 10;
@@ -79,7 +79,7 @@ namespace indigo
parent(nullptr), nextSibling(nullptr), prevSibling(nullptr), reaction(pwr), boundingBox()
{
auto& reactionNode = reaction.getReactionNode(nodeIdx);
- auto& simpleReaction = reaction.getReaction(reactionNode.reactionIdx);
+ reactionIndex = reactionNode.reactionIdx;
// create as a final reactant child
if (reactantIdx != -1)
{
@@ -105,6 +105,7 @@ namespace indigo
}
else
{
+ auto& simpleReaction = reaction.getReaction(reactionIndex);
for (auto pidx : simpleReaction.productIndexes)
{
auto& mol = reaction.getMolecule(pidx);
@@ -128,25 +129,6 @@ namespace indigo
width += boundingBox.width(); // add some spacing for plus
height = std::max(boundingBox.height(), height);
}
-
- // add precursors free reactants as children
- for (int i = 0; i < simpleReaction.reactantIndexes.size(); ++i)
- {
- // check if it is a final reactant
- if (!reactionNode.connectedReactants.find(i))
- {
- auto ridx = simpleReaction.reactantIndexes[i];
- reactantsNoPrecursors.emplace_back(reaction, pwl, nodeIdx, bondLength, ridx);
- PathwayLayoutItem* item = &reactantsNoPrecursors.back();
- children.push_back(item);
- item->parent = this;
- if (children.size() > 1)
- {
- children[children.size() - 2]->nextSibling = item;
- item->prevSibling = children[children.size() - 2];
- }
- }
- }
}
width += COMPONENTS_MARGIN * molecules.size();
}
@@ -214,6 +196,7 @@ namespace indigo
std::vector> molecules;
PathwayReaction& reaction;
Rect2f boundingBox;
+ int reactionIndex;
};
struct PathwayLayoutRootItem
@@ -243,9 +226,9 @@ namespace indigo
PathwayLayoutItem* apportion(PathwayLayoutItem* currentNode, PathwayLayoutItem* ancestorNode);
- PathwayLayoutItem* nextTop(PathwayLayoutItem* node);
+ PathwayLayoutItem* nextUpper(PathwayLayoutItem* node);
- PathwayLayoutItem* nextBottom(PathwayLayoutItem* node);
+ PathwayLayoutItem* nextLower(PathwayLayoutItem* node);
void moveSubtree(PathwayLayoutItem* parent, PathwayLayoutItem* wp, float shift);
diff --git a/core/indigo-core/layout/reaction_layout.h b/core/indigo-core/layout/reaction_layout.h
index 858471e2b0..5df591c04b 100644
--- a/core/indigo-core/layout/reaction_layout.h
+++ b/core/indigo-core/layout/reaction_layout.h
@@ -46,6 +46,9 @@ namespace indigo
void makePathwayFromSimple();
// layout if reaction components are not in the places
+ static bool hasAnyIntersect(const std::vector& bblist);
+ static bool validVerticalRange(const std::vector& bblist);
+
void fixLayout();
void processSideBoxes(std::vector& pluses, Rect2f& type_box, int side);
@@ -65,6 +68,20 @@ namespace indigo
};
private:
+ struct SweepEvent
+ {
+ float x;
+ bool is_start;
+ float y_start, y_end;
+
+ bool operator<(const SweepEvent& other) const
+ {
+ if (x != other.x)
+ return x < other.x;
+ return is_start > other.is_start;
+ }
+ };
+
void _makePathway();
void _updateMetadata();
void _pushMol(Metalayout::LayoutLine& line, int id, bool is_agent = false);
diff --git a/core/indigo-core/layout/src/pathway_layout.cpp b/core/indigo-core/layout/src/pathway_layout.cpp
index be26ce8d2e..ac739683f6 100644
--- a/core/indigo-core/layout/src/pathway_layout.cpp
+++ b/core/indigo-core/layout/src/pathway_layout.cpp
@@ -38,7 +38,7 @@ void PathwayLayout::make()
PathwayLayoutItem* root = &_layoutItems[rootIndexes];
std::vector>> depths;
- traverse(root, [&rootItem, &depths](PathwayLayoutItem* item, int level) {
+ traverse(root, [&rootItem, &depths, this](PathwayLayoutItem* item, int level) {
int item_index = (int)rootItem.layoutItems.size();
if ((int)depths.size() > level)
{
@@ -78,12 +78,12 @@ void PathwayLayout::make()
}
rootItem.boundingBox = pathwayBoundingBox;
+ yShift += pathwayBoundingBox.height() + MULTIPATHWAY_VERTICAL_SPACING;
for (size_t i = 0; i < layoutItems.size(); ++i)
{
auto& layoutItem = *layoutItems[i];
- layoutItem.boundingBox.offset(Vec2f(-pathwayBoundingBox.left(), -pathwayBoundingBox.bottom() + yShift));
+ layoutItem.boundingBox.offset(Vec2f(-pathwayBoundingBox.left(), -pathwayBoundingBox.bottom() - yShift));
}
- yShift += pathwayBoundingBox.height() + MULTIPATHWAY_VERTICAL_SPACING;
}
applyLayout();
}
@@ -100,19 +100,47 @@ void PathwayLayout::buildLayoutTree()
for (int i = 0; i < _reaction.getReactionNodeCount(); ++i)
{
auto& reactionNode = _reaction.getReactionNode(i);
+ auto& simpleReaction = _reaction.getReaction(i);
+
auto& currentLayoutItem = _layoutItems[i];
// add successor reactants to layout items
- for (int j : reactionNode.precursorReactionIndexes)
+
+ std::unordered_set already_added;
+ for (int j = 0; j < simpleReaction.reactantIndexes.size(); ++j)
{
- auto& precursorLayoutItem = _layoutItems[j];
- auto lastChild = currentLayoutItem.getLastChild();
- if (lastChild != nullptr)
+ // check if it is a final reactant
+ auto pcr = reactionNode.connectedReactants.at2(j);
+ if (pcr)
{
- lastChild->nextSibling = &precursorLayoutItem;
- precursorLayoutItem.prevSibling = lastChild;
+ if (!already_added.count(*pcr))
+ {
+ // add connected child
+ already_added.insert(*pcr);
+ auto& precursorLayoutItem = _layoutItems[*pcr];
+ auto lastChild = currentLayoutItem.getLastChild();
+ if (lastChild != nullptr)
+ {
+ lastChild->nextSibling = &precursorLayoutItem;
+ precursorLayoutItem.prevSibling = lastChild;
+ }
+ currentLayoutItem.children.push_back(&precursorLayoutItem);
+ precursorLayoutItem.parent = ¤tLayoutItem;
+ }
+ }
+ else
+ {
+ // add free reactant without precursors
+ auto ridx = simpleReaction.reactantIndexes[j];
+ currentLayoutItem.reactantsNoPrecursors.emplace_back(_reaction, *this, i, _bond_length, ridx);
+ PathwayLayoutItem* item = ¤tLayoutItem.reactantsNoPrecursors.back();
+ currentLayoutItem.children.push_back(item);
+ item->parent = ¤tLayoutItem;
+ if (currentLayoutItem.children.size() > 1)
+ {
+ currentLayoutItem.children[currentLayoutItem.children.size() - 2]->nextSibling = item;
+ item->prevSibling = currentLayoutItem.children[currentLayoutItem.children.size() - 2];
+ }
}
- currentLayoutItem.children.push_back(&precursorLayoutItem);
- precursorLayoutItem.parent = ¤tLayoutItem;
}
}
}
@@ -141,13 +169,14 @@ void PathwayLayout::firstWalk(PathwayLayoutItem* node, int level, int depth)
if (node->children.empty())
{
PathwayLayoutItem* layoutItem = node->prevSibling;
- node->prelim = (layoutItem == nullptr) ? 0 : (layoutItem->prelim + spacing(layoutItem, node, true));
+ node->prelim = layoutItem ? layoutItem->prelim + spacing(layoutItem, node, true) : 0;
}
else
{
PathwayLayoutItem* topMost = node->getFirstChild();
PathwayLayoutItem* bottomMost = node->getLastChild();
PathwayLayoutItem* defaultAncestor = topMost;
+
for (auto child : node->children)
{
firstWalk(child, level++, depth + 1);
@@ -178,10 +207,21 @@ void PathwayLayout::secondWalk(PathwayLayoutItem* node, PathwayLayoutItem* paren
node->clear();
}
+void insertSorted(std::vector>>& objs, std::pair> newPair)
+{
+ auto it = std::lower_bound(objs.begin(), objs.end(), newPair,
+ [](const std::pair>& element, const std::pair>& value) {
+ return element.first < value.first;
+ });
+
+ objs.emplace(it, std::move(newPair));
+}
+
void PathwayLayout::applyLayout()
{
// upload coordinates back to the reaction
_reaction.meta().resetReactionData();
+ std::vector>> metaArrows;
for (auto& rootItem : _layoutRootItems)
{
auto& layoutItems = rootItem.layoutItems;
@@ -212,38 +252,43 @@ void PathwayLayout::applyLayout()
// add spines
if (tails.size() > 1)
{
- Vec2f spineTop(tails.front().x + ARROW_TAIL_LENGTH, tails.front().y);
- Vec2f spineBottom(tails.back().x + ARROW_TAIL_LENGTH, tails.back().y);
+ Vec2f spineTop(tails.front().x + ARROW_TAIL_LENGTH * _bond_length, tails.front().y);
+ Vec2f spineBottom(tails.back().x + ARROW_TAIL_LENGTH * _bond_length, tails.back().y);
arrows.push_back(spineBottom);
arrows.push_back(spineTop);
- _reaction.meta().addMetaObject(new KETReactionMultitailArrow(arrows.begin(), arrows.end()));
+ insertSorted(metaArrows,
+ std::make_pair(layoutItem->reactionIndex, std::make_unique(arrows.begin(), arrows.end())));
}
else if (tails.size())
{
- _reaction.meta().addMetaObject(new KETReactionArrow(KETReactionArrow::EFilledTriangle, tails.front(), head));
+ insertSorted(metaArrows, std::make_pair(layoutItem->reactionIndex,
+ std::make_unique(KETReactionArrow::EFilledTriangle, tails.front(), head)));
}
}
}
}
+
+ for (auto& arrow : metaArrows)
+ _reaction.meta().addMetaObject(arrow.second.release());
}
PathwayLayout::PathwayLayoutItem* PathwayLayout::apportion(PathwayLayoutItem* currentNode, PathwayLayoutItem* ancestorNode)
{
PathwayLayoutItem* previousSibling = currentNode->prevSibling;
- if (previousSibling != nullptr)
+ if (previousSibling)
{
PathwayLayoutItem *innerNode = currentNode, *siblingInner = previousSibling, *outerNode = currentNode,
*siblingOuter = currentNode->parent->getFirstChild();
float modInner = innerNode->mod, modSiblingInner = siblingInner->mod, modOuter = outerNode->mod, modSiblingOuter = siblingOuter->mod;
- PathwayLayoutItem* nextLower = nextBottom(siblingInner);
- PathwayLayoutItem* nextUpper = nextTop(innerNode);
+ PathwayLayoutItem* next_lower = nextLower(siblingInner);
+ PathwayLayoutItem* next_upper = nextUpper(innerNode);
- while (nextLower != nullptr && nextUpper != nullptr)
+ while (next_lower && next_upper)
{
- siblingInner = nextLower;
- innerNode = nextUpper;
- siblingOuter = nextTop(siblingOuter);
- outerNode = nextBottom(outerNode);
+ siblingInner = next_lower;
+ innerNode = next_upper;
+ siblingOuter = nextUpper(siblingOuter);
+ outerNode = nextLower(outerNode);
outerNode->ancestor = currentNode;
float shift = (siblingInner->prelim + modSiblingInner) - (innerNode->prelim + modInner) + spacing(siblingInner, innerNode, false);
if (shift > 0)
@@ -257,17 +302,17 @@ PathwayLayout::PathwayLayoutItem* PathwayLayout::apportion(PathwayLayoutItem* cu
modSiblingOuter += siblingOuter->mod;
modOuter += outerNode->mod;
- nextLower = nextBottom(siblingInner);
- nextUpper = nextTop(innerNode);
+ next_lower = nextLower(siblingInner);
+ next_upper = nextUpper(innerNode);
}
- if (nextLower != nullptr && nextBottom(outerNode) == nullptr)
+ if (next_lower != nullptr && nextLower(outerNode) == nullptr)
{
- outerNode->thread = nextLower;
+ outerNode->thread = next_lower;
outerNode->mod += modSiblingInner - modOuter;
}
- if (nextUpper != nullptr && nextTop(siblingOuter) == nullptr)
+ if (next_upper != nullptr && nextUpper(siblingOuter) == nullptr)
{
- siblingOuter->thread = nextUpper;
+ siblingOuter->thread = next_upper;
siblingOuter->mod += modInner - modSiblingOuter;
ancestorNode = currentNode;
}
@@ -297,13 +342,13 @@ void PathwayLayout::executeShifts(PathwayLayoutItem* node)
}
}
-PathwayLayout::PathwayLayoutItem* PathwayLayout::nextTop(PathwayLayoutItem* node)
+PathwayLayout::PathwayLayoutItem* PathwayLayout::nextUpper(PathwayLayoutItem* node)
{
PathwayLayoutItem* child = node->getFirstChild();
return (child != nullptr) ? child : node->thread;
}
-PathwayLayout::PathwayLayoutItem* PathwayLayout::nextBottom(PathwayLayoutItem* node)
+PathwayLayout::PathwayLayoutItem* PathwayLayout::nextLower(PathwayLayoutItem* node)
{
PathwayLayoutItem* child = node->getLastChild();
return (child != nullptr) ? child : node->thread;
@@ -332,8 +377,6 @@ void PathwayLayout::traverse(PathwayLayoutItem* root, std::functionchildren)
- {
queue.push({child, level + 1});
- }
}
}
diff --git a/core/indigo-core/layout/src/reaction_layout.cpp b/core/indigo-core/layout/src/reaction_layout.cpp
index 229526bf88..eafb1b3f37 100644
--- a/core/indigo-core/layout/src/reaction_layout.cpp
+++ b/core/indigo-core/layout/src/reaction_layout.cpp
@@ -53,6 +53,50 @@ ReactionLayout::ReactionLayout(BaseReaction& r, bool smart_layout, const LayoutO
{
}
+bool ReactionLayout::hasAnyIntersect(const std::vector& bblist)
+{
+ std::vector events;
+ events.reserve(bblist.size() * 2);
+ for (const auto& rect : bblist)
+ {
+ events.emplace_back(SweepEvent{rect.left(), true, rect.bottom(), rect.top()});
+ events.emplace_back(SweepEvent{rect.left() + rect.width(), false, rect.bottom(), rect.top()});
+ }
+ std::sort(events.begin(), events.end());
+ std::set> active;
+ for (const auto& event : events)
+ {
+ if (event.is_start)
+ {
+ auto it = active.lower_bound({event.y_start, event.y_end});
+ if (it != active.begin())
+ {
+ auto prev = std::prev(it);
+ if (prev->second > event.y_start)
+ return true;
+ }
+ if (it != active.end() && it->first < event.y_end)
+ return true;
+ active.emplace(event.y_start, event.y_end);
+ }
+ else
+ {
+ active.erase({event.y_start, event.y_end});
+ }
+ }
+ return false;
+}
+
+bool ReactionLayout::validVerticalRange(const std::vector& bblist)
+{
+ if (bblist.empty())
+ return true;
+
+ float max_start = std::max_element(bblist.begin(), bblist.end(), [](const Rect2f& a, const Rect2f& b) { return a.bottom() < b.bottom(); })->bottom();
+ float min_end = std::min_element(bblist.begin(), bblist.end(), [](const Rect2f& a, const Rect2f& b) { return a.top() < b.top(); })->top();
+ return max_start <= min_end;
+}
+
void ReactionLayout::fixLayout()
{
int arrows_count = _r.meta().getMetaCount(KETReactionArrow::CID);
@@ -62,6 +106,7 @@ void ReactionLayout::fixLayout()
return;
Rect2f bb;
+ std::vector bboxes;
// Calculate rightTop of reactant bounding box
bool invalid_layout = false;
float cur_left = 0, cur_right = 0;
@@ -69,6 +114,7 @@ void ReactionLayout::fixLayout()
i = _r.isRetrosyntetic() ? _r.productNext(i) : _r.reactantNext(i))
{
_r.getBaseMolecule(i).getBoundingBox(bb);
+ bboxes.push_back(bb);
if (i == 0 || (bb.left() > cur_left && bb.right() > cur_right))
{
cur_left = bb.left();
@@ -78,20 +124,37 @@ void ReactionLayout::fixLayout()
invalid_layout = true;
}
+ bool first_after_arrow = true;
// Calculate leftBottom of product bounding box
for (int i = _r.isRetrosyntetic() ? _r.reactantBegin() : _r.productBegin(); i != (_r.isRetrosyntetic() ? _r.reactantEnd() : _r.productEnd());
i = _r.isRetrosyntetic() ? _r.reactantNext(i) : _r.productNext(i))
{
_r.getBaseMolecule(i).getBoundingBox(bb);
+ bboxes.push_back(bb);
if (bb.left() > cur_left && bb.right() > cur_right)
{
+ if (first_after_arrow)
+ {
+ first_after_arrow = false;
+ if (bb.left() - cur_left < default_arrow_size)
+ {
+ invalid_layout = true;
+ break;
+ }
+ }
cur_left = bb.left();
cur_right = bb.right();
}
else
+ {
invalid_layout = true;
+ break;
+ }
}
+ if (!invalid_layout)
+ invalid_layout = hasAnyIntersect(bboxes) || !validVerticalRange(bboxes);
+
// if left side of product bb at left of right side of reactant bb - fix layout
if (invalid_layout)
{
diff --git a/core/indigo-core/molecule/ket_commons.h b/core/indigo-core/molecule/ket_commons.h
index 6feed635ac..2b355a2af2 100644
--- a/core/indigo-core/molecule/ket_commons.h
+++ b/core/indigo-core/molecule/ket_commons.h
@@ -483,12 +483,13 @@ namespace indigo
struct MolSumm
{
- MolSumm() : bbox(Vec2f(0, 0), Vec2f(0, 0)), role(BaseReaction::UNDEFINED){};
- MolSumm(const Rect2f& box) : bbox(box), role(BaseReaction::UNDEFINED){};
+ MolSumm() : bbox(Vec2f(0, 0), Vec2f(0, 0)), role(BaseReaction::UNDEFINED), reaction_idx(-1){};
+ MolSumm(const Rect2f& box) : bbox(box), role(BaseReaction::UNDEFINED), reaction_idx(-1){};
Rect2f bbox;
std::vector indexes;
int role;
+ int reaction_idx;
std::vector arrows_to;
std::vector arrows_from;
};
@@ -577,5 +578,6 @@ namespace indigo
}
};
+ std::string getDebugSmiles(BaseMolecule& mol);
}
#endif
diff --git a/core/indigo-core/molecule/src/ket_commons.cpp b/core/indigo-core/molecule/src/ket_commons.cpp
index 5ac804a31c..9ab2dc1a28 100644
--- a/core/indigo-core/molecule/src/ket_commons.cpp
+++ b/core/indigo-core/molecule/src/ket_commons.cpp
@@ -21,8 +21,10 @@
#endif
#include "molecule/ket_commons.h"
+#include "base_cpp/output.h"
#include "base_cpp/scanner.h"
#include "molecule/monomer_commons.h"
+#include "molecule/smiles_saver.h"
#include
namespace indigo
@@ -133,6 +135,16 @@ namespace indigo
return res;
}
+ std::string getDebugSmiles(BaseMolecule& mol)
+ {
+ Array out_buffer;
+ ArrayOutput output(out_buffer);
+ SmilesSaver saver(output);
+ saver.saveMolecule(mol.asMolecule());
+ out_buffer.push('\0');
+ return out_buffer.ptr();
+ }
+
KETImage::KETImage(const Rect2f& bbox, KETImage::ImageFormat format, const std::string& data, bool is_base64)
: MetaObject(CID), _bbox(bbox), _image_format(format)
{
diff --git a/core/indigo-core/reaction/pathway_reaction.h b/core/indigo-core/reaction/pathway_reaction.h
index 48e881ac08..3c997b924a 100644
--- a/core/indigo-core/reaction/pathway_reaction.h
+++ b/core/indigo-core/reaction/pathway_reaction.h
@@ -77,7 +77,7 @@ namespace indigo
// vector of precursor reactions indexes
Array precursorReactionIndexes;
// utility information
- RedBlackSet connectedReactants; // where the precursors' products are connected to
+ RedBlackMap connectedReactants; // where the precursors' products are connected to
int multiTailMetaIndex;
};
diff --git a/core/indigo-core/reaction/reaction_multistep_detector.h b/core/indigo-core/reaction/reaction_multistep_detector.h
index de0716a28d..db58436ddd 100644
--- a/core/indigo-core/reaction/reaction_multistep_detector.h
+++ b/core/indigo-core/reaction/reaction_multistep_detector.h
@@ -65,8 +65,10 @@ namespace indigo
private:
void createSummBlocks();
- bool detectArrows();
- bool detectMultitailArrows();
+ void sortSummblocks();
+
+ bool mapReactionComponents();
+ bool mapMultitailReactionComponents();
bool findPlusNeighbours(const Vec2f& plus_pos, const FLOAT_INT_PAIRS& mol_tops, const FLOAT_INT_PAIRS& mol_bottoms, const FLOAT_INT_PAIRS& mol_lefts,
const FLOAT_INT_PAIRS& mol_rights, std::pair& connection);
diff --git a/core/indigo-core/reaction/src/pathway_reaction_builder.cpp b/core/indigo-core/reaction/src/pathway_reaction_builder.cpp
index 4b7df442bb..20d48302ca 100644
--- a/core/indigo-core/reaction/src/pathway_reaction_builder.cpp
+++ b/core/indigo-core/reaction/src/pathway_reaction_builder.cpp
@@ -166,8 +166,6 @@ void PathwayReactionBuilder::buildNodes(std::deque& reactions)
{
auto j = m_it->first;
auto& val = m_it->second;
- Array val_arr;
- val_arr.copy(val);
if (rn.successorReactionIndexes.size() == 0)
{
auto& rnj = _pathwayReaction->getReactionNode(j);
@@ -185,7 +183,7 @@ void PathwayReactionBuilder::buildNodes(std::deque& reactions)
rn.successorReactionIndexes.push(j);
rnj.precursorReactionIndexes.push(i);
for (auto ridx : val)
- rnj.connectedReactants.insert(ridx);
+ rnj.connectedReactants.insert(ridx, i);
}
else
{
@@ -218,7 +216,7 @@ void PathwayReactionBuilder::buildRootReaction(PathwayReaction& reaction)
const auto& root_reactions = reaction.getRootReactions();
if (root_reactions.size())
{
- auto& first_root = reaction.getReaction(root_reactions.back());
+ auto& first_root = reaction.getReaction(root_reactions.front());
for (auto& idx : first_root.reactantIndexes)
{
auto& mol = reaction.getMolecule(idx);
diff --git a/core/indigo-core/reaction/src/reaction_cdxml_saver.cpp b/core/indigo-core/reaction/src/reaction_cdxml_saver.cpp
index 90b7900682..91f1612981 100644
--- a/core/indigo-core/reaction/src/reaction_cdxml_saver.cpp
+++ b/core/indigo-core/reaction/src/reaction_cdxml_saver.cpp
@@ -363,7 +363,7 @@ void ReactionCdxmlSaver::_addStep(BaseReaction& rxn, MoleculeCdxmlSaver& molsave
}
else
{
- if (rxn.reactionBlocksCount())
+ if (rxn.reactionBlocksCount() && arrow_id.second < rxn.reactionBlocksCount())
{
auto& rb = rxn.reactionBlock(arrow_id.second);
auto& reactants = rxn.isRetrosyntetic() ? rb.products : rb.reactants;
@@ -390,7 +390,7 @@ void ReactionCdxmlSaver::_addStep(BaseReaction& rxn, MoleculeCdxmlSaver& molsave
}
else
{
- if (rxn.reactionBlocksCount())
+ if (rxn.reactionBlocksCount() && arrow_id.second < rxn.reactionBlocksCount())
{
auto& rb = rxn.reactionBlock(arrow_id.second);
auto& products = rxn.isRetrosyntetic() ? rb.reactants : rb.products;
diff --git a/core/indigo-core/reaction/src/reaction_multistep_detector.cpp b/core/indigo-core/reaction/src/reaction_multistep_detector.cpp
index a02ca5d415..d11d5655bc 100644
--- a/core/indigo-core/reaction/src/reaction_multistep_detector.cpp
+++ b/core/indigo-core/reaction/src/reaction_multistep_detector.cpp
@@ -19,6 +19,7 @@
#include "reaction/reaction_multistep_detector.h"
#include "reaction/pathway_reaction.h"
#include "reaction/reaction.h"
+#include
using namespace indigo;
@@ -236,22 +237,58 @@ void ReactionMultistepDetector::createSummBlocks()
}
}
+void ReactionMultistepDetector::sortSummblocks()
+{
+ // Create a list of original indices
+ std::vector indices(_component_summ_blocks.size());
+ std::iota(indices.begin(), indices.end(), 0);
+
+ // Sort the indices based on reaction_idx
+ std::sort(indices.begin(), indices.end(),
+ [&](int a, int b) -> bool { return _component_summ_blocks[a].reaction_idx < _component_summ_blocks[b].reaction_idx; });
+
+ // Create a mapping from old index to new index
+ std::vector old_to_new(_component_summ_blocks.size());
+ for (int new_idx = 0; new_idx < static_cast(indices.size()); ++new_idx)
+ old_to_new[indices[new_idx]] = new_idx;
+
+ // Sort the blocks based on the sorted indices
+ std::vector sorted_blocks;
+ sorted_blocks.reserve(_component_summ_blocks.size());
+ for (auto idx : indices)
+ sorted_blocks.emplace_back(std::move(_component_summ_blocks[idx]));
+ _component_summ_blocks = std::move(sorted_blocks);
+
+ // Update arrows_to and arrows_from with new indices
+ for (auto& block : _component_summ_blocks)
+ {
+ auto update_arrow = [&](int& arrow) {
+ if (arrow >= 0 && arrow < static_cast(old_to_new.size()))
+ arrow = old_to_new[arrow];
+ };
+
+ std::for_each(block.arrows_to.begin(), block.arrows_to.end(), update_arrow);
+ std::for_each(block.arrows_from.begin(), block.arrows_from.end(), update_arrow);
+ }
+}
+
ReactionMultistepDetector::ReactionType ReactionMultistepDetector::detectReaction()
{
createSummBlocks();
- bool has_multistep = detectArrows();
- bool has_multitail = detectMultitailArrows();
+ bool has_multistep = mapReactionComponents();
+ bool has_multitail = mapMultitailReactionComponents();
+ sortSummblocks();
return has_multitail ? ReactionType::EPathwayReaction : (has_multistep ? ReactionType ::EMutistepReaction : ReactionType::ESimpleReaction);
}
-bool ReactionMultistepDetector::detectArrows()
+bool ReactionMultistepDetector::mapReactionComponents()
{
int arrow_count = _bmol.meta().getMetaCount(KETReactionArrow::CID);
if (arrow_count == 0)
return false;
- for (int i = 0; i < arrow_count; ++i)
+ for (int reaction_index = 0; reaction_index < arrow_count; ++reaction_index)
{
- auto& arrow = (const KETReactionArrow&)_bmol.meta().getMetaObject(KETReactionArrow::CID, i);
+ auto& arrow = (const KETReactionArrow&)_bmol.meta().getMetaObject(KETReactionArrow::CID, reaction_index);
int arrow_type = arrow.getArrowType();
bool reverseReactionOrder = arrow_type == KETReactionArrow::ERetrosynthetic;
const Vec2f& arr_begin = !reverseReactionOrder ? arrow.getTail() : arrow.getHead();
@@ -285,7 +322,7 @@ bool ReactionMultistepDetector::detectArrows()
// TODO: add upper limit
if (min_dist_prod > 0 && min_dist_reac > 0) // if both ends present
{
- auto& rc_arrow = _reaction_components[_moleculeCount + _bmol.meta().getMetaCount(KETReactionPlus::CID) + i];
+ auto& rc_arrow = _reaction_components[_moleculeCount + _bmol.meta().getMetaCount(KETReactionPlus::CID) + reaction_index];
rc_arrow.summ_block_idx = ReactionComponent::CONNECTED; // mark arrow as connected
auto& csb_min_prod = _component_summ_blocks[idx_cs_min_prod];
if (csb_min_prod.role == BaseReaction::UNDEFINED)
@@ -302,12 +339,14 @@ bool ReactionMultistepDetector::detectArrows()
// idx_cs_min_reac <-> idx_cs_min_prod
csb_min_reac.arrows_to.push_back(idx_cs_min_prod);
csb_min_prod.arrows_from.push_back(idx_cs_min_reac);
+ csb_min_reac.reaction_idx = reaction_index;
+ csb_min_prod.reaction_idx = reaction_index;
}
}
return arrow_count > 1;
}
-bool ReactionMultistepDetector::detectMultitailArrows()
+bool ReactionMultistepDetector::mapMultitailReactionComponents()
{
int pathway_count = _bmol.meta().getMetaCount(KETReactionMultitailArrow::CID);
@@ -316,9 +355,9 @@ bool ReactionMultistepDetector::detectMultitailArrows()
bool bad_pathway = false;
- for (int i = 0; i < pathway_count; ++i)
+ for (int pathway_idx = 0; pathway_idx < pathway_count; ++pathway_idx)
{
- auto& multi = (const KETReactionMultitailArrow&)_bmol.meta().getMetaObject(KETReactionMultitailArrow::CID, i);
+ auto& multi = (const KETReactionMultitailArrow&)_bmol.meta().getMetaObject(KETReactionMultitailArrow::CID, pathway_idx);
float min_dist_prod = -1;
int idx_cs_min_prod = -1;
auto arr_begin = multi.getHead();
@@ -359,20 +398,15 @@ bool ReactionMultistepDetector::detectMultitailArrows()
}
}
- for (auto& [min_dist, idx_cs_min_rc] : min_dist_reactants)
- {
- if (min_dist < 0)
- bad_pathway = true;
- }
-
// TODO: add upper limit
if (idx_cs_min_prod < 0)
bad_pathway = true;
else
{
auto& csb_min_prod = _component_summ_blocks[idx_cs_min_prod];
- auto& rc_arrow =
- _reaction_components[_moleculeCount + _bmol.meta().getMetaCount(KETReactionPlus::CID) + _bmol.meta().getMetaCount(KETReactionArrow::CID) + i];
+ csb_min_prod.reaction_idx = pathway_idx;
+ auto& rc_arrow = _reaction_components[_moleculeCount + _bmol.meta().getMetaCount(KETReactionPlus::CID) +
+ _bmol.meta().getMetaCount(KETReactionArrow::CID) + pathway_idx];
rc_arrow.summ_block_idx = ReactionComponent::CONNECTED; // mark arrow as connected
if (csb_min_prod.role == BaseReaction::UNDEFINED)
csb_min_prod.role = BaseReaction::PRODUCT;
@@ -400,7 +434,10 @@ bool ReactionMultistepDetector::detectMultitailArrows()
csb_min_reac.arrows_to.push_back(idx_cs_min_prod);
_component_summ_blocks[idx_cs_min_prod].arrows_from.push_back(reac.second);
}
+ csb_min_reac.reaction_idx = pathway_idx;
}
+ else
+ bad_pathway = true;
}
}
for (auto& csb : _component_summ_blocks)
@@ -499,7 +536,7 @@ bool ReactionMultistepDetector::findPlusNeighbours(const Vec2f& plus_pos, const
if (tops_col_it != tops_col.end() && bottoms_col_it != bottoms_col.end())
{
- min_distance_v = std::min(tops_col_it->first - plus_pos_y.first, bottoms_col_it->first - plus_pos_y.first);
+ min_distance_v = std::min(std::fabs(tops_col_it->first - plus_pos_y.first), std::fabs(bottoms_col_it->first - plus_pos_y.first));
if (!result || min_distance_v < min_distance_h)
{
connection.first = tops_col_it->second;
@@ -514,21 +551,21 @@ bool ReactionMultistepDetector::findPlusNeighbours(const Vec2f& plus_pos, const
void ReactionMultistepDetector::constructPathwayReaction(PathwayReaction& rxn)
{
std::unordered_map rc_to_molecule;
- std::vector> csb_to_reaction;
std::vector, std::vector>> csb_reactions;
+
+ std::vector csb_product_to_reaction;
std::vector> csb_to_reactant_indexes;
for (int i = 0; i < (int)_component_summ_blocks.size(); ++i)
{
- csb_to_reaction.emplace_back();
+ csb_product_to_reaction.push_back(-1);
auto& csb = _component_summ_blocks[i];
if (csb.role == BaseReaction::PRODUCT || csb.role == BaseReaction::INTERMEDIATE)
{
// one product = one reaction, one reaction node
// map reactionNode <> csb_reaction
auto& rcidx_to_reactant = csb_to_reactant_indexes.emplace_back();
- rxn.addReactionNode();
- csb_to_reaction.back().emplace((int)csb_reactions.size());
+ csb_product_to_reaction.back() = (int)csb_reactions.size();
csb_reactions.emplace_back().second.push_back(i); // add csb as product
auto [sri, sr] = rxn.addReaction();
@@ -572,41 +609,39 @@ void ReactionMultistepDetector::constructPathwayReaction(PathwayReaction& rxn)
}
}
+ // fill reaction nodes
for (int i = 0; i < (int)csb_reactions.size(); ++i)
{
auto& csb_reaction = csb_reactions[i];
- auto& rn = rxn.getReactionNode(i);
+ auto& rn = rxn.addReactionNode();
// normally we have only one summblock here
for (auto csb_product_idx : csb_reaction.second)
{
auto& csb_product = _component_summ_blocks[csb_product_idx];
for (auto reactant_csb_idx : csb_product.arrows_to)
{
- // look up for reactions where the reactant_csb_idx summ block presents
- auto successors = csb_to_reaction[reactant_csb_idx];
- // remove the current reaction
- successors.erase(i); // remove the current reaction
- // add successor reactions
- for (auto reac_idx : successors)
+ // look up for reactions where the product plays a role of reactant
+ auto reac_idx = csb_product_to_reaction[reactant_csb_idx];
+ if (reac_idx >= 0 && reac_idx != i)
rn.successorReactionIndexes.push(reac_idx);
}
}
+ // iterate reactant summ blocks
for (auto csb_reactant_idx : csb_reaction.first)
{
auto& csb_reactant = _component_summ_blocks[csb_reactant_idx];
- auto precursors = csb_to_reaction[csb_reactant_idx];
- for (auto reac_idx : precursors)
- rn.precursorReactionIndexes.push(reac_idx);
-
- if (csb_reactant.arrows_from.size())
+ // find reactions where the reactant plays a role of product
+ auto reac_idx = csb_product_to_reaction[csb_reactant_idx];
+ if (reac_idx >= 0 && reac_idx != i)
{
+ rn.precursorReactionIndexes.push(reac_idx);
auto& rcidx_to_reactant = csb_to_reactant_indexes[i];
for (auto ridx : csb_reactant.indexes)
{
auto rcidx_it = rcidx_to_reactant.find(ridx);
if (rcidx_it != rcidx_to_reactant.end())
- rn.connectedReactants.insert(rcidx_it->second);
+ rn.connectedReactants.insert(rcidx_it->second, reac_idx);
}
}
}