I’m looking for effective ways to draw Random Tensor Networks and trace diagrams that show tensor contractions and Haar averages clearly. The goal is to generate clean, editable visuals where tensors are nodes connected by labeled legs, with options to represent contractions or dotted connections. What tools or workflows work best for generating such diagrams programmatically and exporting them in high quality, like SVG or PDF?