Right now it is not possible to visualize whether a relationship is mandatory or optional. As these options are very common, this feature would allow us to create more detailed and complete schema diagrams.
With this, we communicate an order may have 0 or many order_details, but every order_detail must only relate to one order. order_detail >0------|| order
To show that the other side is optional we could put the 0 on the other side of the operator ā>0ā.
I just discovered dbdiagram and love it! The lack of optional relationships is a big drawback. If we are unable to document cardinality then it greatly reduces the value that dbdiagram provides