Create lines in UI toolkit

So I’m trying to create a technology tree with the UI Builder from the UI toolkit, so far so good, but I don’t know how to create lines to represent the connections between each technology.
How can I do it?
Either in the builder or using scripting

Hello! You can use generateVisualContent to create your own geometry: Unity - Scripting API: UIElements.VisualElement.generateVisualContent. Here are some examples on how to use generateVisualContent and the Vector API to generate different kinds of lines: Introducing the Vector API in Unity 2022.1

Thank you very much for your help