Closed gwendolynbrook closed 4 years ago
Be careful. Two sequential decorators connect as an "OR" while One decorator with two entries connect as an "AND". So, you have changed it from "not allowing directed graphs while also not allowing multigraphs" to "not allowing directed multigraphs".
Only use one decorator to validate structure of nx graph.
https://github.com/networkx/networkx/blob/master/networkx/utils/decorators.py#L52