Entity Reference Diagram

Component ID

2567247

Component name

Entity Reference Diagram

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Initiative

The initiative is to have an easy visual diagram of entity references.

Enable the module like usual and view entity references at admin/structure/erd

Thanks to google chart!

Why it uses orgFlow

As entity reference field is very convenient, it ends up with loose respect on database normalizaion, integrity, etc. For instance, You can make a content type referencing to itself, to multiple content types. You can add this existing reference field to other entity. If continuing of doing these, it's very easy to get a mess.

I used orgChart, in this case, the diagram will only show a tree structure. For those entity who has multi parents, the diagram will create duplicated dummy to deal with it. It also provides a filter for selecting the fields you wish to be on the diagram. It helps on making the diagram cleaner and more meaningful.