Save as Ket, copy the ket file into clipboard buffer
Paste the ket file
Actual behavior
Error message appears - cannot deserialize input JSON
Expected behavior
No errors, Structure is pasted but with a smaller size
The following validation rules should be changed for KET file (only for KET, the UI behavior should not be changed)
12 manual tests and files are updated, minimal sizes are retested on UI and for loading from KET on Nightly env.
Minimal sizes on UI are still working as it was:
Minimal length of spine without tails = 0.5:
Minimal distance between tails = 0.35
Minimal length of tail = 0.4
Minimal length of head = 0.5
Minimal X distance between head and top/bottom tails = 0.15:
As for minimal sizes for loading from KET, they equal 0.01, but there is no chance to verify validation for MIN_HEIGHT - 0.01 as we have the same MIN_TOP_BOTTOM_OFFSET - 0.01, this is part of MIN_HEIGHT.
After loading of Multi-Tailed arrow with minimal sizes, it looks like that, but it can be adjusted to normal size using resizing of head, tails and spine:
Steps to Reproduce
Actual behavior Error message appears - cannot deserialize input JSON
Expected behavior No errors, Structure is pasted but with a smaller size The following validation rules should be changed for KET file (only for KET, the UI behavior should not be changed)
MIN_TAIL_DISTANCE - 0.01. MIN_HEAD_LENGTH - 0.01. MIN_TAIL_LENGTH - 0.01 MIN_TOP_BOTTOM_OFFSET - 0.01 MIN_HEIGHT - 0.01
Desktop (please complete the following information):
Note