Database ERD Graphviz Example

A Graphviz example of a database ERD drawn with HTML-like <table> labels and record PORTs so edges connect to specific columns.

For richer tables than shape=record allows, use shape=none with an HTML-like label=< <table>...</table> >. Each <td PORT="col"> defines an anchor, so an edge like checklists:task_id -> tasks:task_id connects one column to another. Cell bgcolor and <font point-size> give you fine control over the table styling.