digraph "IPU3 ImgU" {
    node [shape=box]
    splines="ortho"
    rankdir="LR"

    a [label="Raw pixels"]
    b [label="Bayer Downscaling"]
    c [label="Optical Black Correction"]
    d [label="Linearization"]
    e [label="Lens Shading Correction"]
    f [label="White Balance / Exposure / Focus Apply"]
    g [label="Bayer Noise Reduction"]
    h [label="ANR"]
    i [label="Demosaicing"]
    j [label="Color Correction Matrix"]
    k [label="Gamma correction"]
    l [label="Color Space Conversion"]
    m [label="Chroma Down Scaling"]
    n [label="Chromatic Noise Reduction"]
    o [label="Total Color Correction"]
    p [label="XNR3"]
    q [label="TNR"]
    r [label="DDR"]

    { rank=same; a -> b -> c -> d -> e -> f }
    { rank=same; g -> h -> i -> j -> k -> l }
    { rank=same; m -> n -> o -> p -> q -> r }

    a -> g -> m [style=invis, weight=10]

    f -> g
    l -> m
}