I am wondering, will an ERD diagram always be planar? I have a basic understand of database entity relationships, so currently I have been unable to think of a situation that would make an ERD Diagram non-planar.
Could someone please explain to me whether or not an ERD diagram would always be planar? If not, what situation would make it non-planar? If yes, could someone please provide a small proof of why it would always be planar?
I have searched on the internet and nobody seems to have a concrete answer for this.
Thank you.
I think it’s just a matter of generating the graph in a manner which displays the graph in its most simple readable form. Having an algorithm which strives to achieve this planar layout can help organize a complex ERD diagram so it comes closer to achieving this goal. I use Visual Paradigm to generate most my ERD diagrams; I don’t think it’s always the case the diagrams come out planar but they are pretty close most of the time. The exception usually occurs with one-to-one, many-to-one, and one-to-many class relationships.
https://www.ads.tuwien.ac.at/research/graphDrawing.html
Here are some exapmles:
http://www.codeproject.com/Articles/14280/Database-Visualization
http://www.ogdf.net/doku.php/tech:howto:plzl