a d3 force directed graph where the nodes are html tables could replace the diagram with a lot more interactive features
drag/drop repositioning of the entities. in d3 it's possible to lock a node in place so any node that is dropped can lock in place, the others will adjust automatically.
the edges in the chart will be lines but it should be possible to calculate the two right angled lines horizontal/vertical lines to make a better connector with an arrow on the end
a d3 force directed graph where the nodes are html tables could replace the diagram with a lot more interactive features
any of these features needing data persisted can add a section to the JSON schema / persisted document shape
it can be another tab next to download, giving the user choice.