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

Method remove_extra_selfloop

easygraph/classes/graph.py:335–338  ·  view source on GitHub ↗

r"""Remove extra selfloops from the graph.

(self)

Source from the content-addressed store, hash-verified

333 self._clear_cache()
334
335 def remove_extra_selfloop(self):
336 r"""Remove extra selfloops from the graph."""
337 self._has_extra_selfloop = False
338 self._clear_cache()
339
340 def remove_selfloop(self):
341 r"""Remove all selfloops from the graph."""

Callers 1

remove_selfloopMethod · 0.95

Calls 1

_clear_cacheMethod · 0.95

Tested by

no test coverage detected