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 [color=red]; 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 edge [color=red]; 288c2ecf20Sopenharmony_ci port2 -> mstb3 -> {port3, port4}; 298c2ecf20Sopenharmony_ci port3 -> mstb4; 308c2ecf20Sopenharmony_ci edge [color=""]; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci /* Malloc references */ 338c2ecf20Sopenharmony_ci edge [style=dashed;dir=back]; 348c2ecf20Sopenharmony_ci mstb1 -> {port1, port2}; 358c2ecf20Sopenharmony_ci port1 -> mstb2; 368c2ecf20Sopenharmony_ci port2 -> mstb3 -> port3; 378c2ecf20Sopenharmony_ci edge [color=red]; 388c2ecf20Sopenharmony_ci mstb3 -> port4; 398c2ecf20Sopenharmony_ci port3 -> mstb4; 408c2ecf20Sopenharmony_ci } 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci mstb1 [label="MSTB #1";style=filled;fillcolor=palegreen]; 438c2ecf20Sopenharmony_ci mstb2 [label="MSTB #2";style=filled;fillcolor=palegreen]; 448c2ecf20Sopenharmony_ci mstb3 [label="MSTB #3";style=filled;fillcolor=palegreen]; 458c2ecf20Sopenharmony_ci mstb4 [label="MSTB #4";style=filled;fillcolor=grey]; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci port1 [label="Port #1"]; 488c2ecf20Sopenharmony_ci port2 [label="Port #2"]; 498c2ecf20Sopenharmony_ci port3 [label="Port #3"]; 508c2ecf20Sopenharmony_ci port4 [label="Port #4";style=filled;fillcolor=grey]; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue]; 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue]; 558c2ecf20Sopenharmony_ci payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue]; 568c2ecf20Sopenharmony_ci} 57