When the position of a kozane in a nested group is updated, some value of the parentā€™s parent group is not updated. image image The parentā€™s POSITION is updated, but its parentā€™s is not. On a related note, ā€œIf you take the G1 out, put it back in, then take the 1 out again, it jumps.ā€

fixed

  • image

ā€œIf you take the G1 out, put it back in, then take the 1 out again, it jumps.ā€ without X do_drag("1", "ba", 100, 100); image

with X js

do_drag("G1", "ba", 0, 0);
do_drag("G1", "G2", 0, 0);
do_drag("1", "ba", 100, 100);

image

:

A: 1*left,topG1G2deltaB: 1CSS:left,top*left,top
without X0, 0184, 1990, 00, 0-84, -99-84, -99-150,-150100,100
with X0, 0225, 2250, 041, 26-125, -125-125, -125-191,-17659, 74
  • A: before drag
  • B: after drag
  • *: getBoundingClientRect

:

A: 1*left,topG1G2deltaB: 1G1G2CSS:left,top*left,top
without X0, 0184, 1990,00, 0-84, -99-84, -990,00,0-150,-150100,100
with X0, 0225, 2250,041, 26-125, -125-125, -1250,041, 26-191,-17659, 74
drag G20,0180, 2300,0-4,31-80, -130-80, -1300,0-4, 31-150,-150104,69

Simpler problem reproduction procedure

  • When you v-drag G2 in a nested group and then move 1 out of the way, it is -v off from the expected position.

This seems like an over-correction, but why did you correct it in the first place? Are there cases where corrections should be made?

Youā€™re only adding the POSITION of the direct parent, which is bad.

done

release notes

  • Fixed a bug that caused the endpoints of arrows to groups to be incorrect when two or more groups were nested
  • Fixed a bug that caused items to move to a different position from the drop position when drag-dropping items from two or more nested groups.

2021-12-28 release notes

  • Increased the degree of line transparency
  • Fixed a behavior that caused unintentional range selection when the mouse was down on a line while trying to drag a kozane.
    • Lines no longer receive mouse events.

Iā€™m having trouble figuring out how to edit against the arrows. What Iā€™m feeling after using it.

  • I want to Undo when I accidentally put an arrow in the wrong direction.
    • You can delete it.
    • Iā€™m cloning and deleting Kozane now.
  • The only way to do that is to draw a line through three items and then re-create the whole thing when you think the fourth item was correct.

For these two, you can choose and ā€œget out of lineā€ action.

  • If there is more than one line, it will be missing from all of them, butā€¦

This page is auto-translated from /nishio/Kozaneba開ē™ŗę—„čؘ2021-12-27 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.