# HG changeset patch # User Alpar Juttner # Date 2008-04-13 09:20:43 # Node ID 88c4f7943b755419218176a17a517c85a0ba2013 # Parent e99385bca9fea1e75d8b44b74fed289001fa8791 Aliases added to some graphToEps() named params. 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