networkx.classes.coreviews.UnionAdjacency#
- class UnionAdjacency(succ, pred)[source]#
A read-only union of dict Adjacencies as a Map of Maps of Maps.
The two input dict-of-dict-of-dicts represent the union of
G.succ
andG.pred
. Return values are UnionAtlas The inner level of dict is read-write. But the middle and outer levels are read-only.succ : a dict-of-dict-of-dict {node: nbrdict} pred : a dict-of-dict-of-dict {node: nbrdict} The keys for the two dicts should be the same
See also
UnionAtlas
View into dict-of-dict
UnionMultiAdjacency
View into dict-of-dict-of-dict-of-dict
Methods