10
我有以下點的示例。我想給每個記錄(表名)的第一部分提供不同的背景和前景色。我找不到如何做這個記錄的例子。基本上我希望sql查詢模式圖中的表名突出。誰能幫忙?Graphviz點:如何更改多記錄形狀中的一個記錄的顏色
digraph G {
rankdir=LR;
node [shape=record];
corpus_language [label="corpus_language|<id> id\len\l|<name> name\lEnglist\l|<sentence_count> sentence_count\l1027686\l"];
corpus_sentence [label="corpus_sentence|<id> id\l1241798\l|<text> text\lBaseball is a sport\l|<creator_id> creator_id\l10859\l|<created_on> created_on\l2006-11-14 17:58:09.303128\l|<language_id> language_id\len\l|<activity_id> activity_id\l11\l|<score> score\l124\l"];
corpus_language:id -> corpus_sentence:language_id [arrowhead=normal label=language_id];
}
的可能重複的[Graphviz的:顏色僅在基於記錄的節點的字段(http://stackoverflow.com/questions/9009683/graphviz-color-only-a-field -in-A-基於記錄節點) – Izzy