Files
HKSingleParty/99_references/dbml_examples/issue-22.dbml.dot
2025-05-28 09:55:51 +08:00

51 lines
2.0 KiB
Plaintext

digraph dbml {
rankdir=LR;
graph [fontname="helvetica", fontsize=32, fontcolor="#29235c", bgcolor="transparent"];
node [penwidth=0, margin=0, fontname="helvetica", fontsize=32, fontcolor="#29235c"];
edge [fontname="helvetica", fontsize=32, fontcolor="#29235c", color="#29235c"];
"users" [id="users";label=<<TABLE BORDER="2" COLOR="#29235c" CELLBORDER="1" CELLSPACING="0" CELLPADDING="10">
<TR><TD PORT="f0" BGCOLOR="#1d71b8"><FONT COLOR="#ffffff"><B> users </B></FONT></TD></TR>
<TR><TD ALIGN="LEFT" PORT="f1" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT">id </TD>
<TD ALIGN="RIGHT"><FONT><I>integer</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
<TR><TD ALIGN="LEFT" PORT="f2" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT">username </TD>
<TD ALIGN="RIGHT"><FONT><I>varchar</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>>];
"conversations" [id="conversations";label=<<TABLE BORDER="2" COLOR="#29235c" CELLBORDER="1" CELLSPACING="0" CELLPADDING="10">
<TR><TD PORT="f0" BGCOLOR="#1d71b8"><FONT COLOR="#ffffff"><B> conversations </B></FONT></TD></TR>
<TR><TD ALIGN="LEFT" PORT="f1" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT"><B>id</B> </TD>
<TD ALIGN="RIGHT"><FONT><I>integer</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
<TR><TD ALIGN="LEFT" PORT="f2" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT">title </TD>
<TD ALIGN="RIGHT"><FONT><I>varchar</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>>];
"users":f0 -> "conversations":f0 [style=invis, weight=100, color=red]
"users":f1:e -> "conversations":f1:w [dir=both, penwidth=3, color="#29235c", headlabel="*", taillabel="*"]
}