MCPcopy
hub / github.com/networkx/networkx / is_directed

Method is_directed

networkx/classes/graph.py:1588–1590  ·  view source on GitHub ↗

Returns True if graph is directed, False otherwise.

(self)

Source from the content-addressed store, hash-verified

1586 return False
1587
1588 def is_directed(self):
1589 """Returns True if graph is directed, False otherwise."""
1590 return False
1591
1592 def copy(self, as_view=False):
1593 """Returns a copy of the graph.

Callers 15

test_directed_classMethod · 0.95
test_updateMethod · 0.95
make_graphMethod · 0.95
simple_cyclesFunction · 0.95
_relabel_inplaceFunction · 0.45
_relabel_copyFunction · 0.45
to_scipy_sparse_arrayFunction · 0.45
from_scipy_sparse_arrayFunction · 0.45
to_numpy_arrayFunction · 0.45
from_numpy_arrayFunction · 0.45
from_dict_of_listsFunction · 0.45
from_dict_of_dictsFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_directed_classMethod · 0.76
test_updateMethod · 0.76
test_edges_equalFunction · 0.36
graphs_equalMethod · 0.36
test_is_directedMethod · 0.36
test_hidden_nodesMethod · 0.36
test_hidden_edgesMethod · 0.36
test_shown_nodeMethod · 0.36
test_shown_edgesMethod · 0.36
test_hidden_edgesMethod · 0.36
test_shown_edgesMethod · 0.36