1digraph {
2  rankdir = "LR";
3
4  overlay [label = "Operating System Overlay (qcow2)", URL = "https://en.wikipedia.org/wiki/Qcow"]
5  operating_system [label = "Operating System (composite)", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions"]
6  persistent [label = "Persistent Disk (composite)", URL = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/main/disk/src/composite.rs"]
7
8  uboot_env [URL = "https://cs.android.com/android/platform/superproject/+/master:device/google/cuttlefish/host/commands/assemble_cvd/boot_config.cc"]
9  persistent_vbmeta [label = "vbmeta", URL = "https://android.googlesource.com/platform/external/avb/+/master/README.md"]
10  frp
11  bootconfig [URL = "https://source.android.com/docs/core/architecture/bootloader/implementing-bootconfig"]
12
13  gpt_header [label = "GPT Header", URL = "https://en.wikipedia.org/wiki/GUID_Partition_Table"]
14  misc
15  boot [label = "boot_[ab]", URL = "https://source.android.com/docs/core/architecture/bootloader/boot-image-header"]
16  init_boot [label = "init_boot_[ab]", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/generic-boot"]
17  vendor_boot [label = "vendor_boot_[ab]", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/vendor-boot-partitions"]
18  vbmeta [label = "vbmeta_[ab]", URL = "https://android.googlesource.com/platform/external/avb/+/master/README.md"]
19  vbmeta_system [label = "vbmeta_system_[ab]", URL = "https://android.googlesource.com/platform/external/avb/+/master/README.md"]
20  super [URL = "https://source.android.com/docs/core/ota/dynamic_partitions/implement"]
21  userdata
22  metadata [URL = "https://source.android.com/docs/security/features/encryption/metadata"]
23  ap_rootfs [style = "dashed"]
24  gpt_footer [label = "GPT Footer", URL = "https://en.wikipedia.org/wiki/GUID_Partition_Table"]
25
26  product [color = "green", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/product-partitions"]
27  system [color = "green", URL = "https://source.android.com/docs/core/architecture"]
28  system_ext [color = "green", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/shared-system-image"]
29  system_dlkm [color = "green", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/gki-partitions"]
30
31  odm [color = "blue", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/odm-partitions"]
32  vendor [color = "blue", URL = "https://source.android.com/docs/core/architecture"]
33  vendor_dlkm [color = "blue", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/vendor-odm-dlkm-partition"]
34  odm_dlkm [color = "blue", URL = "https://source.android.com/docs/core/architecture/bootloader/partitions/vendor-odm-dlkm-partition"]
35
36  persistent -> uboot_env
37  persistent -> persistent_vbmeta
38  persistent -> frp
39  persistent -> bootconfig
40
41  overlay -> operating_system
42  operating_system -> gpt_header
43  operating_system -> misc
44  operating_system -> boot
45  operating_system -> init_boot
46  operating_system -> vendor_boot
47  operating_system -> vbmeta
48  operating_system -> vbmeta_system
49  operating_system -> super
50  operating_system -> userdata
51  operating_system -> metadata
52  operating_system -> ap_rootfs [style = "dashed"]
53  operating_system -> gpt_footer
54
55  super -> product [color = "green"]
56  super -> system [color = "green"]
57  super -> system_ext [color = "green"]
58  super -> system_dlkm [color = "green"]
59
60  super -> odm [color = "blue"]
61  super -> vendor [color = "blue"]
62  super -> vendor_dlkm [color = "blue"]
63  super -> odm_dlkm [color = "blue"]
64}
65