networkx.classes.coreviews.AdjacencyView

class AdjacencyView(d)[source]

An AdjacencyView is a Read-only Map of Maps of Maps.

It is a View into a dict-of-dict-of-dict data structure. The inner level of dict is read-write. But the outer levels are read-only.

See also

AtlasView

View into dict-of-dict

MultiAdjacencyView

View into dict-of-dict-of-dict-of-dict

__init__(d)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(d)

Initialize self.

copy()

get(k[,d])

items()

keys()

values()