digraph { graph [pad="0.5", nodesep="0.5", ranksep="2"]; node [shape=plain] rankdir=RL; media [label=<
media
id
media_type_id
display_name
notes
>]; media_name [label=<
media_name
id
media_id
name
language
>]; # CD, DVD, etc. media_format [label=<
media_format
id
is_physical
format_name
description
>]; media_format_link [label=<
media_format_link
media_type_id
media_format_id
>] # Video Game, Anime, Movie, TV Show media_type [label=<
media_type
id
type_name
description
>]; media_type_format_link [label=<
media_type_format_link
media_type_id
media_format_id
>] media_type_format_link:media_type_id -> media_type:id media_type_format_link:media_format_id -> media_format:id media:media_type_id -> media_type:id media_name:media_id -> media:id media_format_link:media_id -> media:id media_format_link:media_format_id -> media_format:id }