
Code: Select all
// global settings
bgcolor = "#BFC2C9";
node [fontsize = 10, fontname = Verdana, shape = plaintext];
[...]
// for each node. Variables set in $...$
1 [label=<
<TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
<TR><TD BGCOLOR = "#C8CAD1" BORDER="1">$anime_type$</TD><TD> </TD></TR>
<TR><TD BGCOLOR = "#C8CAD1" COLSPAN="2" BORDER="1" PORT="name">
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD BGCOLOR="$anime_type_color$" COLSPAN="2">$anime_title$</TD></TR>
<TR><TD>$episodes$</TD><TD>$year$</TD></TR></TABLE></TD></TR>
</TABLE>>, URL="..."];
I'd suggest using light colors for $anime_type_color$. I used #D0DEF2 for TV, #D0F2DE for Movies, #DEDEDE for Other and #F2DED0 for OVAs.
Changes for relations on single edges:
Code: Select all
// global settings
edge [fontsize = 8, fontname = Verdana, labelfontsize = 8, labelfontname = Verdana];
edge [ labeldistance = 1.3 , labelangle = -30, arrowsize = .8, minlen = 1];
[...]
// a two-label-edge, example for: 1 is prequel of 2, 2 is sequel of 1
1 -> 2 [ taillabel = "prequel", headlabel = "sequel", color = red4, dir = both, label = " " ];
// a single-label-edge
1 -> 3 [ label = "alternative setting", dir = both, color = orange ];
// of course, there can now be no "A -> B"-edge when there already was a "B -> A"-edge - it shouldn't matter which of the two is actually used, though.
And the .dot-file it was generated from: http://wahaha.eu.tt/anidb/yua.dot
(EDIT: Added empty label to two-dir-edges and reduced minlen to 1)