networkx.classes.coreviews.AdjacencyView#

class AdjacencyView(d)[source]#

AdjacencyView 是一种只读的、由映射嵌套映射再嵌套映射构成的数据结构视图(Map of Maps of Maps)。

它是一个字典嵌套字典再嵌套字典(dict-of-dict-of-dict)数据结构的视图。最内层的字典是可读写的。但外层的字典是只读的。

另请参阅

AtlasView

字典嵌套字典的视图

MultiAdjacencyView

字典嵌套字典再嵌套字典再嵌套字典的视图

__init__(d)#

方法

copy()

get(k[,d])

items()

keys()

values()