I'm not sure how to implement this without a breaking change, but it would make a lot of sense for the n parameter of graph_from_lcf to default to len(shifts) * repeats. This is consistent with the standard notation and in almost no case would one want anything else.