Debian Codegraph @

docs/_static/bidict-types-diagram.dot

raw
1 // Copyright 2009-2026 Joshua Bronson. All rights reserved.
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
8 // See build-bidict-types-diagram for how to generate a PNG from this file.
9
10 digraph G {
11 dpi=300
12 node [fontsize="12", shape="box"]
13
14 subgraph bidicts {
15 node [fontname="Operator Mono SSm Lig Book"]
16
17 bidict [label="bidict.bidict"]
18 frozenbidict [label="bidict.frozenbidict"]
19 OrderedBidict [label="bidict.OrderedBidict"]
20
21 { rank=same bidict frozenbidict OrderedBidict }
22 }
23
24 subgraph ABCs {
25 node [fillcolor="#EFEFEF", color="#666666", fontcolor="#333333", style="filled,rounded", fontname="Operator Mono SSm Lig Book Italic", fontsize="10"]
26 Mapping [label="collections.abc.Mapping"]
27 MutableMapping [label="collections.abc.MutableMapping"]
28 Hashable [label="collections.abc.Hashable"]
29
30 MutableMapping -> Mapping
31
32 { rank=same Mapping MutableMapping Hashable }
33
34 BidirectionalMapping [label="bidict.BidirectionalMapping"]
35 MutableBidirectionalMapping [label="bidict.MutableBidirectionalMapping"]
36
37 { rank=same BidirectionalMapping MutableBidirectionalMapping }
38
39 BidirectionalMapping -> Mapping
40 MutableBidirectionalMapping -> BidirectionalMapping
41 MutableBidirectionalMapping -> MutableMapping
42 }
43
44 bidict -> { MutableBidirectionalMapping }
45 OrderedBidict -> { MutableBidirectionalMapping }
46 frozenbidict -> { BidirectionalMapping, Hashable }
47 }