subnode

i am new to this tool
i want to create subnode structure using graphviz
_________
A -->| |
| TF |--> C
B -->| |
----------

how cann i do this

subnode

(Most of) Graphviz does not support compound graphs. If there are no structures (nodes and edges) inside of the box, you can just treat this as a node. If there are structures in the box, it can be represented as cluster subgraph, but any edges have to go a node in the cluster, not to the cluster itself. Compound graphs can be emulated in dot using lhead and ltail attributes.
digraph G {
  compound=true
  subgraph clusterTF {
    TF
  }
  A -> TF [lhead = clusterTF]
  B -> TF [lhead = clusterTF]
  TF -> C [ltail = clusterTF]
}
Finally, fpd does support compound graphs, so you can input
digraph G {
  subgraph clusterTF {
    TF
  }
  A -> clusterTF
  B -> clusterTF
  clusterTF -> C
} 

Recent comments