notes/article/graphviz/hashmap/hashmap.dot

13 lines
494 B
Plaintext

digraph hashmap {
rankdir = TB
node[color="skyblue", shape="record"]
edge[color="crimson"]
st_hash_type[label="{<head>st_hash_type|(*compare)|(*hash)}"]
st_table_entry[label="{<head>st_table_entry|hash|key|record|<next>next}"]
st_table[label="{st_table|<type>type|num_bins|num_entries|<bins>bins}"]
st_table:bins -> st_table_entry:head
st_table:type -> st_hash_type:head
st_table_entry:next -> st_table_entry:head[style="dashed", color="forestgreen"]
}