How to auto position elements into a grid with D3 using a tree / pack / cluster / cluster force layout when the input to the program is
graph G {
  e
  subgraph clusterA {
    a -- b;
    subgraph clusterC {
      C -- D;
    }
  }
  subgraph clusterB {
    d -- f
  }
  d -- D
  e -- clusterB
  clusterC -- clusterB
}
Expected end-result (using D3) can be seen at -> http://graphviz-dev.appspot.com but with proper connections to node-node, node-cluster, and cluster-cluster as seen in this example http://www.graphviz.org/content/fdpclust
 
     
     
    