MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / is_directed

Method is_directed

easygraph/classes/graph.py:1286–1287  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1284 return len(self._node)
1285
1286 def is_directed(self):
1287 return False
1288
1289 def is_multigraph(self):
1290 """Returns True if graph is a multigraph, False otherwise."""

Callers 15

make_graphMethod · 0.95
from_dict_of_listsFunction · 0.45
from_dict_of_dictsFunction · 0.45
to_networkxFunction · 0.45
from_networkxFunction · 0.45
_relabel_copyFunction · 0.45
from_pyGraphviz_agraphFunction · 0.45
to_pyGraphviz_agraphFunction · 0.45
_not_implemented_forFunction · 0.45
to_scipy_sparse_arrayFunction · 0.45
from_numpy_arrayFunction · 0.45
to_numpy_arrayFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_graph_typesMethod · 0.36
assert_propertyMethod · 0.36
testMethod · 0.36
test_graphMethod · 0.36