What graphic languages are simpler than SVG for database diagrams? This is PNG was exported from Inkscape.  I created it manually and used the
connector tool to link tables.

I find the plain SVG for this diagram more complicated than I was expecting so would like to know if there are simpler graphic languages or specifications for this task?

I would like to write something using Python.

Here's the pastebin: SVG for database diagram
Graphviz is a popular tool for making network diagrams. It takes a text format ("DOT language") describing the nodes and edges as input, and can render the resulting diagram to SVG or other image formats.