gstreamer - Graphviz subgraphs looking like record shaped nodes -


i'm trying generate graph gstreamer applications many nested bins. each bin have elements bin parent bin looks other common element have pads (sinks , sources). want visualize in graphviz can't generate nested nodes have subgraphs. unfortunately subgraphs don't have node options record shape. in graph each node have record shape subgraphs can't. example:

digraph g {     graph [rankdir = td]     node [shape = record]      subgraph cluster_player     {         label = "player"                  subgraph cluster_bin1         {             label = "bin1"              bin1_sink1 [label = "sink1"]             bin1_sink2 [label = "sink2"]             obj1 [                 label = "{ { <sink1> sink1 | <sink2> sink2 } | obj1 | { <src1> src1 | <src2> src2 } }"             ]                        bin1_src1 [label = "src1"]             bin1_src2 [label = "src2"]              bin1_sink1:s -> obj1:sink1:n []             bin1_sink2:s -> obj1:sink2:n []             obj1:src1:s -> bin1_src1:n []             obj1:src2:s -> bin1_src2:n []         }          bin1_src1:s -> bin2_sink1:n []         bin1_src2:s -> bin2_sink2:n []          subgraph cluster_bin2         {             label = "bin2"              bin2_sink1 [label = "sink1"]             bin2_sink2 [label = "sink2"]                         bin2_obj1 [                 label = "{ { <sink1> sink1 | <sink2> sink2 } | obj1 | { <src1> src1 } }"             ]                    bin2_obj2 [                 label = "{ { <sink1> sink1 } | obj2 | { <src1> src1 } }"             ]                    bin2_src1 [label = "src1"]              bin2_sink1:s -> bin2_obj1:sink1:n []             bin2_sink2:s -> bin2_obj1:sink2:n []             bin2_obj1:src1:s -> bin2_obj2:sink1:n []             bin2_obj2:src1:s -> bin2_src1:n []         }     } } 

enter image description here

as can see sources , sinks in bins normal elements, want them records in "obj1". how it? if it's impossible maybe there others languages have function?

graphviz subgraphs containers. not support record notation or shape attributes looking for. shape restricted nodes, , subgraphs not.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -