Current mapping diagram drawing algorithm seems to be almost random (see 3.1.0.M3_drawing-1.png).
A better algorithm should:
1. Never cross tables with lines.
2. Draw as few line crossings as possible.
3. Draw tables closer if they have more constraints.