notes/article/graphviz/structs_record.dot

10 lines
296 B
Plaintext

digraph structs {
rankdir=TB
node [shape="record"]
struct1 [label="<f0> left | <f1> middle | <f2> right"]
struct2 [label="<f0> one | <f1> two"]
struct3 [label="hello\nworld | {b | {c | <here> d | e} | f} | g | h"]
struct1:f1 -> struct2:f0
struct1:f2 -> struct3:here
}