How to draw Splines in a Scroll Container

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By gimgones

Hi guys,

I currently work on an own workflow app. I can already place new nodes inside a scroll container and connect them with simple lines (Line2Ds).

To make it look better, I want to use curved lines (splines) instead of lines, but I can’t figure out how to do it :frowning:

(When I use lines, I just create them programmatically, add 2 points, set the width etc… and add them to my scroll container. That works perfectly well. But it’s not possible to add a new Curve2D directly to my scroll container.)

How would you do it?