compatsphinxext.create_meal_g#

compatsphinxext.create_meal_g(n: int = 5, country: str = 'italy') DiGraph#

Return a networkx.DiGraph of ingredients and meals.

Parameters:
nint

Length of the data.

countrystr

Home country of food.

Returns:
networkx.DiGraph

Todo

Fix this and checkout networkx.DiGraph.