r"""Add extra selfloops to the graph.
(self)
| 328 | return self.cache["D_v"] |
| 329 | |
| 330 | def add_extra_selfloop(self): |
| 331 | r"""Add extra selfloops to the graph.""" |
| 332 | self._has_extra_selfloop = True |
| 333 | self._clear_cache() |
| 334 | |
| 335 | def remove_extra_selfloop(self): |
| 336 | r"""Remove extra selfloops from the graph.""" |