diff -r bc571f16e1e9 -r 7d32a2d6ed59 lemon/lgf_writer.h --- a/lemon/lgf_writer.h Tue Sep 19 15:23:43 2017 +0200 +++ b/lemon/lgf_writer.h Sat Oct 07 00:19:19 2017 +0200 @@ -408,15 +408,15 @@ /// arc() functions are used to add attribute writing rules. /// ///\code - /// DigraphWriter(digraph, std::cout). - /// nodeMap("coordinates", coord_map). - /// nodeMap("size", size). - /// nodeMap("title", title). - /// arcMap("capacity", cap_map). - /// node("source", src). - /// node("target", trg). - /// attribute("caption", caption). - /// run(); + /// DigraphWriter(digraph, std::cout) + /// .nodeMap("coordinates", coord_map) + /// .nodeMap("size", size) + /// .nodeMap("title", title) + /// .arcMap("capacity", cap_map) + /// .node("source", src) + /// .node("target", trg) + /// .attribute("caption", caption) + /// .run(); ///\endcode /// /// @@ -961,11 +961,11 @@ ///ListDigraph::ArcMap cap(digraph); ///ListDigraph::Node src, trg; /// // Setting the capacity map and source and target nodes - ///digraphWriter(digraph, std::cout). - /// arcMap("capacity", cap). - /// node("source", src). - /// node("target", trg). - /// run(); + ///digraphWriter(digraph, std::cout) + /// .arcMap("capacity", cap) + /// .node("source", src) + /// .node("target", trg) + /// .run(); ///\endcode /// /// For a complete documentation, please see the @@ -1599,9 +1599,9 @@ ///ListGraph graph; ///ListGraph::EdgeMap weight(graph); /// // Setting the weight map - ///graphWriter(graph, std::cout). - /// edgeMap("weight", weight). - /// run(); + ///graphWriter(graph, std::cout) + /// .edgeMap("weight", weight) + /// .run(); ///\endcode /// /// For a complete documentation, please see the @@ -2419,9 +2419,9 @@ ///ListBpGraph graph; ///ListBpGraph::EdgeMap weight(graph); /// // Setting the weight map - ///bpGraphWriter(graph, std::cout). - /// edgeMap("weight", weight). - /// run(); + ///bpGraphWriter(graph, std::cout) + /// .edgeMap("weight", weight) + /// .run(); ///\endcode /// /// For a complete documentation, please see the