networkx.classes.coreviews.UnionAtlas¶
- class UnionAtlas(succ, pred)[source]¶
A read-only union of two atlases (dict-of-dict).
The two dict-of-dicts represent the inner dict of an Adjacency:
G.succ[node]andG.pred[node]. The inner level of dict of both hold attribute key:value pairs and is read-write. But the outer level is read-only.See also
UnionAdjacencyView into dict-of-dict-of-dict
UnionMultiAdjacencyView into dict-of-dict-of-dict-of-dict
Methods
__init__(succ, pred)Initialize self.
copy()get(k[,d])items()keys()values()