codepod icon indicating copy to clipboard operation
codepod copied to clipboard

Arcs in scopes

Open forrestbao opened this issue 2 years ago • 7 comments

I tried to draw some arcs between cells in a scope. But I have several issues.

  1. I did not get beautiful Bezier function curves.
  2. The curves were not anchored at anchoring points I selected.
  3. They are displayed below the pale blue scope box. Thus, I cannot select them.

On top of that, I cannot delete any arc, even in the ROOT scope.

forrestbao avatar May 05 '23 20:05 forrestbao

You can select (click on) an edge and press backspace to delete it.

lihebi avatar May 05 '23 21:05 lihebi

It is not anchored to a specific anchor point by design. Otherwise the edge could become twisted easily, e.g., #221

lihebi avatar May 05 '23 21:05 lihebi

It is anchored at the 4 handles, and it's Bezier path. You don't have this in #227?

lihebi avatar May 05 '23 21:05 lihebi

For 3, the edges are above the blue background on my side. Do you have a reproducible case to show?

lihebi avatar May 05 '23 21:05 lihebi

For 3, the edges are above the blue background on my side. Do you have a reproducible case to show?

It is indeed below the blue scope box.

lihebi avatar May 05 '23 23:05 lihebi

(3) is fixed in #279

lihebi avatar May 05 '23 23:05 lihebi

It is not anchored to a specific anchor point by design. Otherwise the edge could become twisted easily, e.g., https://github.com/codepod-io/codepod/pull/221

Good point. However, can we consider the location of output box?

image

forrestbao avatar May 06 '23 03:05 forrestbao