MCPcopy
hub / github.com/networkx/networkx / is_multigraph

Method is_multigraph

networkx/classes/graph.py:1584–1586  ·  view source on GitHub ↗

Returns True if graph is a multigraph, False otherwise.

(self)

Source from the content-addressed store, hash-verified

1582 nx._clear_cache(self)
1583
1584 def is_multigraph(self):
1585 """Returns True if graph is a multigraph, False otherwise."""
1586 return False
1587
1588 def is_directed(self):
1589 """Returns True if graph is directed, False otherwise."""

Callers 15

test_fresh_copyMethod · 0.95
simple_cyclesFunction · 0.95
_relabel_inplaceFunction · 0.45
_relabel_copyFunction · 0.45
to_pandas_edgelistFunction · 0.45
from_pandas_edgelistFunction · 0.45
from_scipy_sparse_arrayFunction · 0.45
to_numpy_arrayFunction · 0.45
from_numpy_arrayFunction · 0.45
to_networkx_graphFunction · 0.45
from_dict_of_listsFunction · 0.45
from_dict_of_dictsFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_fresh_copyMethod · 0.76
test_hidden_nodesMethod · 0.36
test_shown_nodeMethod · 0.36
test_factoriesFunction · 0.36
test_lenMethod · 0.36
test_graph_typesMethod · 0.36
test_multidigraphMethod · 0.36
test_multidigraphFunction · 0.36
test_create_usingMethod · 0.36