,--.
|n1|
|--|
`--'
|
|
,-------------------------------------------------------------------------.
|{{ |
|-------------------------------------------------------------------------|
| graph [pad=0] |
| b [shape=none, margin=0 |
| label=< |
|
|
| elephant | |
| two |
|
| |
| | |
| penguin | |
|
|
| 4 |
|
|
> |
| ] |
|} |
|}} |
| |
`-------------------------------------------------------------------------'
|
,---------------------------------------------------------------------------------------------------------------------------------------.
|{{ |
|---------------------------------------------------------------------------------------------------------------------------------------|
|graph [pad=0] |
|struct3 [shape=record style=filled, color=yellow, fontcolor=blue, fillcolor=red, label="hello\nworld |{ b |{c| d|e}| f}| g | h"];|
|} |
|}} |
|The 'record' node is simpler |
|to code, but you can't individually |
|colour different boxes. |
| |
`---------------------------------------------------------------------------------------------------------------------------------------'