A data structure diagram is a
diagram type that is used to depict the structure of
data elements in the
data dictionary. The data structure diagram is a graphical alternative to the
composition specifications within such data dictionary entries. The data structure diagrams is a predecessor of the
entity–relationship model (E–R model). In DSDs,
attributes are specified inside the entity boxes rather than outside of them, while relationships are drawn as boxes composed of attributes which specify the constraints that bind entities together. DSDs differ from the E–R model in that the E–R model focuses on the relationships between different entities, whereas DSDs focus on the relationships of the elements within an entity. There are several styles for representing data structure diagrams, with the notable difference in the manner of defining
cardinality. The choices are between arrow heads, inverted arrow heads (
crow's feet), or numerical representation of the cardinality. ==Bachman diagram==