diff --git a/lemon/graph_to_eps.h b/lemon/graph_to_eps.h --- a/lemon/graph_to_eps.h +++ b/lemon/graph_to_eps.h @@ -1015,7 +1015,7 @@ } else for(ArcIt e(g);e!=INVALID;++e) if((!_undirected||g.source(e)0 - &&g.source(e)!=g.target(e)) + &&g.source(e)!=g.target(e)) { if(_drawArrows) { dim2::Point d(mycoords[g.target(e)]-mycoords[g.source(e)]); double rn=_nodeSizes[g.target(e)]*_nodeScale; @@ -1035,7 +1035,7 @@ << _arcColors[e].red() << ' ' << _arcColors[e].green() << ' ' << _arcColors[e].blue() << " arr\n"; - } + } else os << mycoords[g.source(e)].x << ' ' << mycoords[g.source(e)].y << ' ' << mycoords[g.target(e)].x << ' ' @@ -1044,6 +1044,7 @@ << _arcColors[e].green() << ' ' << _arcColors[e].blue() << ' ' << _arcWidths[e]*_arcWidthScale << " l\n"; + } os << "grestore\n"; } if(_showNodes) {