-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2513 - Elliptical arrows can not be saved to the png
Add UT
- Loading branch information
1 parent
fec30ec
commit afad93d
Showing
5 changed files
with
239 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 102 additions & 0 deletions
102
api/tests/integration/tests/rendering/reactions/issue_2513.ket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"root": { | ||
"nodes": [ | ||
{ | ||
"$ref": "mol0" | ||
}, | ||
{ | ||
"$ref": "mol1" | ||
}, | ||
{ | ||
"$ref": "mol2" | ||
}, | ||
{ | ||
"type": "arrow", | ||
"data": { | ||
"mode": "elliptical-arc-arrow-open-angle", | ||
"pos": [ | ||
{ | ||
"x": 5.799999999999997, | ||
"y": -8.200000000000003, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 7.205569279687058, | ||
"y": -8.200000000000003, | ||
"z": 0 | ||
} | ||
], | ||
"height": 1 | ||
} | ||
}, | ||
{ | ||
"type": "arrow", | ||
"data": { | ||
"mode": "open-angle", | ||
"pos": [ | ||
{ | ||
"x": 7.775, | ||
"y": -8.225, | ||
"z": 0 | ||
}, | ||
{ | ||
"x": 8.875, | ||
"y": -8.225, | ||
"z": 0 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "plus", | ||
"location": [ | ||
6.525, | ||
-8.225, | ||
0 | ||
], | ||
"prop": {} | ||
} | ||
], | ||
"connections": [], | ||
"templates": [] | ||
}, | ||
"mol0": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "N", | ||
"location": [ | ||
5.749999999999999, | ||
-8.350000000000001, | ||
0 | ||
] | ||
} | ||
] | ||
}, | ||
"mol1": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "O", | ||
"location": [ | ||
7.3999999999999995, | ||
-8.3, | ||
0 | ||
] | ||
} | ||
] | ||
}, | ||
"mol2": { | ||
"type": "molecule", | ||
"atoms": [ | ||
{ | ||
"label": "C", | ||
"location": [ | ||
9.15, | ||
-8.3, | ||
0 | ||
] | ||
} | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters