diff -r 9e9195331ea6 -r c756973cd53c src/lemon/graph_to_eps.h --- a/src/lemon/graph_to_eps.h Thu Jan 20 10:24:38 2005 +0000 +++ b/src/lemon/graph_to_eps.h Thu Jan 20 14:16:40 2005 +0000 @@ -421,8 +421,15 @@ } public: - ~GraphToEps() - { + ~GraphToEps() { } + + ///Draws the graph. + + ///Like other functions using + ///\ref named-templ-func-param "named template parameters", + ///this function calles the algorithm itself, i.e. in this case + ///it draws the graph. + void run() { if(dontPrint) return; os << "%!PS-Adobe-2.0 EPSF-2.0\n"; @@ -667,14 +674,17 @@ ///\param os is a reference to the output stream. ///By default it is std::cout /// -///This function also has a lot of \ref named-templ-param "named parameters", +///This function also has a lot of +///\ref named-templ-func-param "named parameters", ///they are declared as the members of class \ref GraphToEps. The following ///example shows how to use these parameters. ///\code /// graphToEps(g).scale(10).coords(coords) /// .nodeScale(2).nodeSizes(sizes) -/// .edgeWidthScale(.4); +/// .edgeWidthScale(.4).run(); ///\endcode +///\warning Don't forget to put the \ref GraphToEps::run() "run()" +///to the end of the parameter list. ///\sa GraphToEps ///\sa graphToEps(G &g, char *file_name) template