diff -r e225719bde6b -r 2d806130e700 lemon/graph_to_eps.h --- a/lemon/graph_to_eps.h Thu Jan 26 06:44:22 2006 +0000 +++ b/lemon/graph_to_eps.h Thu Jan 26 15:42:13 2006 +0000 @@ -234,7 +234,7 @@ ConstMap _nodePsTexts; char *_nodePsTextsPreamble; - bool _undir; + bool _u; bool _pleaseRemoveOsStream; bool _scaleToA4; @@ -272,7 +272,7 @@ _enableParallel(false), _parEdgeDist(1), _showNodeText(false), _nodeTexts(false), _nodeTextSize(1), _showNodePsText(false), _nodePsTexts(false), _nodePsTextsPreamble(0), - _undir(false), + _u(false), _pleaseRemoveOsStream(_pros), _scaleToA4(false), _nodeTextColorType(SAME_COL), _nodeTextColors(Color(0,0,0)), _autoNodeScale(false), @@ -329,7 +329,7 @@ using T::_nodePsTexts; using T::_nodePsTextsPreamble; - using T::_undir; + using T::_u; using T::_pleaseRemoveOsStream; using T::_scaleToA4; @@ -734,12 +734,12 @@ ///Sets whether the the graph is undirected /// - GraphToEps &undir(bool b=true) {_undir=b;return *this;} + GraphToEps &u(bool b=true) {_u=b;return *this;} ///Sets whether the the graph is directed ///Sets whether the the graph is directed. ///Use it to show the undirected edges as a pair of directed ones. - GraphToEps &bidir(bool b=true) {_undir=!b;return *this;} + GraphToEps &bidir(bool b=true) {_u=!b;return *this;} ///Sets the title. @@ -958,7 +958,7 @@ if(_enableParallel) { std::vector el; for(EdgeIt e(g);e!=INVALID;++e) - if((!_undir||g.source(e)0) + if((!_u||g.source(e)0) el.push_back(e); std::sort(el.begin(),el.end(),edgeLess(g)); @@ -1046,7 +1046,7 @@ } } else for(EdgeIt e(g);e!=INVALID;++e) - if((!_undir||g.source(e)0) + if((!_u||g.source(e)0) if(_drawArrows) { xy d(mycoords[g.target(e)]-mycoords[g.source(e)]); double rn=_nodeSizes[g.target(e)]*_nodeScale;