else {
/*other_edge(e); */
/* avoid when opp==e in undirected graph */
-#ifndef WITH_CGRAPH
if ((opp = agfindedge(g, aghead(e), agtail(e))) && (opp != e)) {
-#else
- if ((opp = agedge(g, aghead(e), agtail(e),(char*)0,0)) && (opp != e)) {
-#endif
/* shadows a forward edge */
if (ED_to_virt(opp) == NULL)
make_chain(g, agtail(opp), aghead(opp), opp);
ED_minlen(e) = delta;
ED_weight(e) = 1;
}
-#ifndef WITH_CGRAPH
if (e && agfindedge(g,p->np, nxp->np)) {
-#else /* WITH_CGRAPH */
- if (e && agedge(g, p->np, nxp->np, NULL, 0)) {
-#endif /* WITH_CGRAPH */
ED_weight(e) = 100;
}
#if 0