This is an example of a simple tech tree created with Godot.  See the source code on GitHub.   Also see my blog article describing how it works and how to make your own.

Instructions:

Use the slider to zoom in and out.  Click on a button to unlock the next button.  Press and hold a button to drag it around on the page.  Click reset to put everything back to the way it started.