Can I assign the size of graphical elements (e.g. lines) via page code with inputs?

Hi.

Getting Editor element size via code is not support. You can only get window size information .

To pass data from a Wix site to an HTML component using Corvid, refer to this guide: Working with the HTML Element

Good luck!