Under the Hood of the Snap!Con2021-presented Text Editor project

What I would really like to do is animating drawing those 'connector diagrams' with pen, though.

And that would really take a lot of time.

I don't even have any idea how this could possibly be done. Do you have any idea?