I'm looking to see if I can generate a metric to cover how complex (and driving towards a (un)readability metric) a ERD diagram is. I was thinking using the number of entities, number of relationships, ideally the size of the canvas to provide a view on the compactness of the model. So I think this is largely doable - but if someone already has done this I'll happily reuse it.
However to make this even better I think having a count of crossing relationship lines would provide an interesting weighting for readability.
So two questions:
1) has anyone done this before, and can share?
2) Is it possible to work out the number of relationship lines crosses?