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 @@ -1091,7 +1091,69 @@ //CleanUp: if(_pleaseRemoveOsStream) {delete &os;} - } + } + + ///\name Aliases + ///These are just some aliases to other parameter setting functions. + + ///@{ + + ///An alias for arcWidths() + + ///An alias for arcWidths() + /// + template GraphToEps > edgeWidths(const X &x) + { + return arcWidths(x); + } + + ///An alias for arcColors() + + ///An alias for arcColors() + /// + template GraphToEps > + edgeColors(const X &x) + { + return arcColors(x); + } + + ///An alias for arcWidthScale() + + ///An alias for arcWidthScale() + /// + GraphToEps &edgeWidthScale(double d) {return arcWidthScale(d);} + + ///An alias for autoArcWidthScale() + + ///An alias for autoArcWidthScale() + /// + GraphToEps &autoEdgeWidthScale(bool b=true) + { + return autoArcWidthScale(b); + } + + ///An alias for absoluteArcWidths() + + ///An alias for absoluteArcWidths() + /// + GraphToEps &absoluteEdgeWidths(bool b=true) + { + return absoluteArcWidths(b); + } + + ///An alias for parArcDist() + + ///An alias for parArcDist() + /// + GraphToEps &parEdgeDist(double d) {return parArcDist(d);} + + ///An alias for hideArcs() + + ///An alias for hideArcs() + /// + GraphToEps &hideEdges(bool b=true) {return hideArcs(b);} + + ///@} }; template