title: Curve Some Edges in GraphViz
body: <p>I want to draw a Chimera-type graph in GraphViz:
  <a href="https://www.ibm.com/developerworks/community/blogs/jfp/resource/BLOGS_UPLOADED_IMAGES/chimera.png" rel="nofollow">https://www.ibm.com/developerworks/community/blogs/jfp/resource/BLOGS_UPLOADED_IMAGES/chimera.png</a></p>
  
  <p>So there are some straight edges, but also curved edges between particular nodes, and the nodes are fixed. I have identified all the nodes between which I want to have curved edges, but I can't get those edges to curve properly.</p>
  
  <pre><code>graph G {
  size = 5
  0 [shape = circle, pin=true, pos="1,4!"]; 1 [shape = circle, pin=true, pos="2,4!"]; 2 [shape = circle, pin=true, pos="3,4!"]; 3 [shap\
  e = circle, pin=true, pos="4,4!"]; 4 [shape = circle, pin=true, pos="1,3!"]; 5 [shape = circle, pin=true, pos="2,3!"]; 6 [shape = cir\
  cle, pin=true, pos="3,3!"]; 7 [shape = circle, pin=true, pos="4,3!"]; 8 [shape = circle, pin=true, pos="1,2!"]; 9 [shape = circle, pi\
  n=true, pos="2,2!"]; 10 [shape = circle, pin=true, pos="3,2!"]; 11 [shape = circle, pin=true, pos="4,2!"]; 12 [shape = circle, pin=tr\
  ue, pos="1,1!"]; 13 [shape = circle, pin=true, pos="2,1!"]; 14 [shape = circle, pin=true, pos="3,1!"]; 15 [shape = circle, pin=true, \
  pos="4,1!"];
  0--1; 0--5; 0--9; 0--13; 1--3 [splines = "curved"]; 2--3; 2--7; 2--11; 2--15; 4--1; 4--5; 4--9; 4--13; 5--7 [splines = "curved"]; 6--3; 6\
  --7; 6--11; 6--15; 8--1; 8--5; 8--9; 8--13; 9--11 [splines = "curved"]; 10--3; 10--7; 10--11; 10--15; 12--1; 12--5; 12--9; 12--13; 13--\
  15 [splines = "curved"]; 14--3; 14--7; 14--11; 14--15;
  }
  </code></pre>
  
  <p>Above is my dot file. (I draw it using "neato -Tps graph.dot -o graph.ps").</p>
  
  <p>I think you can globally curve edges by putting splines = "curved" as a graph property, but I want to individually curve certain edges, or at least not have all the crazy overlapping I currently have.</p>