... | ... |
@@ -1091,7 +1091,69 @@ |
1091 | 1091 |
|
1092 | 1092 |
//CleanUp: |
1093 | 1093 |
if(_pleaseRemoveOsStream) {delete &os;} |
1094 |
} |
|
1094 |
} |
|
1095 |
|
|
1096 |
///\name Aliases |
|
1097 |
///These are just some aliases to other parameter setting functions. |
|
1098 |
|
|
1099 |
///@{ |
|
1100 |
|
|
1101 |
///An alias for arcWidths() |
|
1102 |
|
|
1103 |
///An alias for arcWidths() |
|
1104 |
/// |
|
1105 |
template<class X> GraphToEps<ArcWidthsTraits<X> > edgeWidths(const X &x) |
|
1106 |
{ |
|
1107 |
return arcWidths(x); |
|
1108 |
} |
|
1109 |
|
|
1110 |
///An alias for arcColors() |
|
1111 |
|
|
1112 |
///An alias for arcColors() |
|
1113 |
/// |
|
1114 |
template<class X> GraphToEps<ArcColorsTraits<X> > |
|
1115 |
edgeColors(const X &x) |
|
1116 |
{ |
|
1117 |
return arcColors(x); |
|
1118 |
} |
|
1119 |
|
|
1120 |
///An alias for arcWidthScale() |
|
1121 |
|
|
1122 |
///An alias for arcWidthScale() |
|
1123 |
/// |
|
1124 |
GraphToEps<T> &edgeWidthScale(double d) {return arcWidthScale(d);} |
|
1125 |
|
|
1126 |
///An alias for autoArcWidthScale() |
|
1127 |
|
|
1128 |
///An alias for autoArcWidthScale() |
|
1129 |
/// |
|
1130 |
GraphToEps<T> &autoEdgeWidthScale(bool b=true) |
|
1131 |
{ |
|
1132 |
return autoArcWidthScale(b); |
|
1133 |
} |
|
1134 |
|
|
1135 |
///An alias for absoluteArcWidths() |
|
1136 |
|
|
1137 |
///An alias for absoluteArcWidths() |
|
1138 |
/// |
|
1139 |
GraphToEps<T> &absoluteEdgeWidths(bool b=true) |
|
1140 |
{ |
|
1141 |
return absoluteArcWidths(b); |
|
1142 |
} |
|
1143 |
|
|
1144 |
///An alias for parArcDist() |
|
1145 |
|
|
1146 |
///An alias for parArcDist() |
|
1147 |
/// |
|
1148 |
GraphToEps<T> &parEdgeDist(double d) {return parArcDist(d);} |
|
1149 |
|
|
1150 |
///An alias for hideArcs() |
|
1151 |
|
|
1152 |
///An alias for hideArcs() |
|
1153 |
/// |
|
1154 |
GraphToEps<T> &hideEdges(bool b=true) {return hideArcs(b);} |
|
1155 |
|
|
1156 |
///@} |
|
1095 | 1157 |
}; |
1096 | 1158 |
|
1097 | 1159 |
template<class T> |
0 comments (0 inline)