Hacked By AnonymousFox

Current Path : /usr/share/graphviz/gvpr/
Upload File :
Current File : //usr/share/graphviz/gvpr/addedges

/* Add edges from input graph to argument graph
 * Does not add nodes.
 */
BEGIN{
  graph_t g = readG(ARGV[0]);
  node_t h, t;
  edge_t e;
}
E {
  if ((h = isNode(g,head.name)) && (t = isNode(g,tail.name))) {
    if (!isEdge(t,h,"")) {
      e = copy(g,$);
    }
  }
}
END {
  write(g);
}



Hacked By AnonymousFox1.0, Coded By AnonymousFox