Skip to content

Instantly share code, notes, and snippets.

@alexklapheke
Created July 2, 2020 03:41
Show Gist options
  • Save alexklapheke/a197eed2a9ba742aa0080c1bdbfa579c to your computer and use it in GitHub Desktop.
Save alexklapheke/a197eed2a9ba742aa0080c1bdbfa579c to your computer and use it in GitHub Desktop.
digraph menu {
rankdir = "LR"
node [
fontname = "Linux Libertine O"
fontsize = 10
shape = "record"
];
Dish [ label = "Dish.csv | <id> id | name" ];
Menu [ label = "Menu.csv| <id> id | date | page_count | dish_count" ];
MenuItem [ label = "MenuItem.csv | <id> id | <mpid> menu_page_id | <did> dish_id | price" ];
MenuPage [ label = "MenuPage.csv | <id> id | <mid> menu_id | page_number" ];
MenuItem:mpid -> MenuPage:id
MenuItem:did -> Dish:id
MenuPage:mid -> Menu:id
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment