title: Reducing edge weight to zero in graphviz
body: <p>I have created a graph using graphviz that I'm pretty happy with and I need to add one more edge to it. I currently have this:</p>
  
  <p><img src="https://i.stack.imgur.com/X2OBx.png" alt="Current Graph"></p>
  
  <p>(source for this in dot below)</p>
  
  <p>I need to add an edge from T to S (in green!) but when I do so all the rest of the graph is thrown in to disarray. I know that I'm meant to just let graphviz take care of the layout but this graph forms one of a sequence and I'd like them to at least mostly look alike. I've tried various things with graph clusters and using weights to make all the other edges very high weight and the new edge very low but nothing seems to help. How can I add an edge from T to S which doesn't worry about the fact that that edge will have to be quite long.</p>
  
  <p>The dot source for what I have is</p>
  
  <pre><code>digraph G {
    rankdir=LR
    subgraph clusterD3 {
    vSource [label="S*"]
      subgraph clusterD2 {
        color=white
        S
        T
        subgraph clusterD1 {
          color=white
          {rank=same; B A}
          {rank=same; D C}
          A-&gt;C 
          B-&gt;D  
          A-&gt;D 
          C-&gt;D 
          B-&gt;A 
          }   
          S-&gt;A 
          S-&gt;B 
          C-&gt;T 
          D-&gt;T 
       }
    vSink [label="T*"]
    vSource-&gt;A [color=red]
    vSource-&gt;B [color=red]
    vSource-&gt;C [color=red]
    vSource-&gt;D [color=red]
    vSource-&gt;T [color=red]
    A-&gt;vSink   [color=blue]
    B-&gt;vSink   [color=blue]
    C-&gt;vSink   [color=blue]
    D-&gt;vSink   [color=blue]
    S-&gt;vSink   [color=blue]
    }  
  }
  </code></pre>