Record and struct (GraphViz)
Record shapes give a node internal structure, and edges can point at an individual field. That is what makes Graphviz workable for data structure diagrams.
#What this example shows
shape=record with pipe-separated fields.
Named ports, addressed as node:port in an edge.
A linked list, drawn without any manual positioning.
#A worked example
Open it, edit it, or copy the source below.
The source, which you can paste into a new diagram and edit:
#Making it your own
Angle brackets define a port name; a colon in an edge addresses it.
Braces flip the field direction, which is how you get a vertical record.
Escape any literal pipe, brace or angle bracket inside a label.
#Related
Give it the edges. It does the rest.
