18c2ecf20Sopenharmony_cidigraph T {
28c2ecf20Sopenharmony_ci    /* Make sure our payloads are always drawn below the driver node */
38c2ecf20Sopenharmony_ci    subgraph cluster_driver {
48c2ecf20Sopenharmony_ci        fillcolor = grey;
58c2ecf20Sopenharmony_ci        style = filled;
68c2ecf20Sopenharmony_ci        driver -> {payload1, payload2} [dir=none];
78c2ecf20Sopenharmony_ci    }
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci    /* Driver malloc references */
108c2ecf20Sopenharmony_ci    edge [style=dashed];
118c2ecf20Sopenharmony_ci    driver -> port1;
128c2ecf20Sopenharmony_ci    driver -> port2;
138c2ecf20Sopenharmony_ci    driver -> port3:e;
148c2ecf20Sopenharmony_ci    driver -> port4;
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci    payload1:s -> port1:e;
178c2ecf20Sopenharmony_ci    payload2:s -> port3:e;
188c2ecf20Sopenharmony_ci    edge [style=""];
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci    subgraph cluster_topology {
218c2ecf20Sopenharmony_ci        label="Topology Manager";
228c2ecf20Sopenharmony_ci        labelloc=bottom;
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci        /* Topology references */
258c2ecf20Sopenharmony_ci        mstb1 -> {port1, port2};
268c2ecf20Sopenharmony_ci        port1 -> mstb2;
278c2ecf20Sopenharmony_ci        port2 -> mstb3 -> {port3, port4};
288c2ecf20Sopenharmony_ci        port3 -> mstb4;
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci        /* Malloc references */
318c2ecf20Sopenharmony_ci        edge [style=dashed;dir=back];
328c2ecf20Sopenharmony_ci        mstb1 -> {port1, port2};
338c2ecf20Sopenharmony_ci        port1 -> mstb2;
348c2ecf20Sopenharmony_ci        port2 -> mstb3 -> {port3, port4};
358c2ecf20Sopenharmony_ci        port3 -> mstb4;
368c2ecf20Sopenharmony_ci    }
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci    driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue];
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci    payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue];
418c2ecf20Sopenharmony_ci    payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue];
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci    mstb1 [label="MSTB #1";style=filled;fillcolor=palegreen;shape=oval];
448c2ecf20Sopenharmony_ci    mstb2 [label="MSTB #2";style=filled;fillcolor=palegreen;shape=oval];
458c2ecf20Sopenharmony_ci    mstb3 [label="MSTB #3";style=filled;fillcolor=palegreen;shape=oval];
468c2ecf20Sopenharmony_ci    mstb4 [label="MSTB #4";style=filled;fillcolor=palegreen;shape=oval];
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci    port1 [label="Port #1";shape=oval];
498c2ecf20Sopenharmony_ci    port2 [label="Port #2";shape=oval];
508c2ecf20Sopenharmony_ci    port3 [label="Port #3";shape=oval];
518c2ecf20Sopenharmony_ci    port4 [label="Port #4";shape=oval];
528c2ecf20Sopenharmony_ci}
53