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

73 lines
3.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"];
"Person" [id="Person";label=<<TABLE BORDER="2" COLOR="#29235c" CELLBORDER="1" CELLSPACING="0" CELLPADDING="10">
<TR><TD PORT="f0" BGCOLOR="#1d71b8"><FONT COLOR="#ffffff"><B> Person </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>int</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">parent1 </TD>
<TD ALIGN="RIGHT"><FONT><I>int</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
<TR><TD ALIGN="LEFT" PORT="f3" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT">parent2 </TD>
<TD ALIGN="RIGHT"><FONT><I>int</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>>];
"dates.Day" [id="dates.Day";label=<<TABLE BORDER="2" COLOR="#29235c" CELLBORDER="1" CELLSPACING="0" CELLPADDING="10">
<TR><TD PORT="f0" BGCOLOR="#1d71b8"><FONT COLOR="#ffffff"><B> dates.Day </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>int</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">next </TD>
<TD ALIGN="RIGHT"><FONT><I>int</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
<TR><TD ALIGN="LEFT" PORT="f3" BGCOLOR="#e7e2dd">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="LEFT">previous </TD>
<TD ALIGN="RIGHT"><FONT><I>int</I></FONT></TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>>];
"Person":f0 -> "Person":f0 [style=invis, weight=100, color=red]
"Person":f2:e -> "Person":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"]
"Person":f0 -> "Person":f0 [style=invis, weight=100, color=red]
"Person":f3:e -> "Person":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"]
"dates.Day":f0 -> "dates.Day":f0 [style=invis, weight=100, color=red]
"dates.Day":f2:e -> "dates.Day":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"]
"dates.Day":f0 -> "dates.Day":f0 [style=invis, weight=100, color=red]
"dates.Day":f3:e -> "dates.Day":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"]
}