...

Text file src/github.com/google/go-containerregistry/images/dot/image-anatomy.dot

Documentation: github.com/google/go-containerregistry/images/dot

     1digraph {
     2  compound=true;
     3  rankdir="LR";
     4
     5  tag [label="", shape="circle", width=0.1, style="filled", color="black"];
     6  manifest [shape="note"];
     7  config [shape="note"];
     8
     9  tag -> manifest [label="digest", taillabel="tag", tailport=head, labeldistance=2.1, labelangle=108];
    10  manifest -> config [label="(image id)"];
    11  config -> l1 [label="diffid"];
    12  config -> l2 [label="diffid"];
    13  manifest -> l1 [lhead=cluster_layer1, label="layer digest"];
    14  manifest -> l2 [lhead=cluster_layer2, label="layer digest"];
    15
    16  subgraph cluster_layer1 {
    17    label = "layer.tar.gz";
    18    margin = 20.0;
    19    l1 [label="layer.tar", shape="folder"];
    20  }
    21  subgraph cluster_layer2 {
    22    label = "layer.tar.gz";
    23    margin = 20.0;
    24    l2 [label="layer.tar", shape="folder"];
    25  }
    26}

View as plain text