lemon/lgf_writer.h
changeset 1161 7d32a2d6ed59
parent 1092 dceba191c00d
     1.1 --- a/lemon/lgf_writer.h	Tue Sep 19 15:23:43 2017 +0200
     1.2 +++ b/lemon/lgf_writer.h	Sat Oct 07 00:19:19 2017 +0200
     1.3 @@ -408,15 +408,15 @@
     1.4    /// arc() functions are used to add attribute writing rules.
     1.5    ///
     1.6    ///\code
     1.7 -  /// DigraphWriter<DGR>(digraph, std::cout).
     1.8 -  ///   nodeMap("coordinates", coord_map).
     1.9 -  ///   nodeMap("size", size).
    1.10 -  ///   nodeMap("title", title).
    1.11 -  ///   arcMap("capacity", cap_map).
    1.12 -  ///   node("source", src).
    1.13 -  ///   node("target", trg).
    1.14 -  ///   attribute("caption", caption).
    1.15 -  ///   run();
    1.16 +  /// DigraphWriter<DGR>(digraph, std::cout)
    1.17 +  ///   .nodeMap("coordinates", coord_map)
    1.18 +  ///   .nodeMap("size", size)
    1.19 +  ///   .nodeMap("title", title)
    1.20 +  ///   .arcMap("capacity", cap_map)
    1.21 +  ///   .node("source", src)
    1.22 +  ///   .node("target", trg)
    1.23 +  ///   .attribute("caption", caption)
    1.24 +  ///   .run();
    1.25    ///\endcode
    1.26    ///
    1.27    ///
    1.28 @@ -961,11 +961,11 @@
    1.29    ///ListDigraph::ArcMap<int> cap(digraph);
    1.30    ///ListDigraph::Node src, trg;
    1.31    ///  // Setting the capacity map and source and target nodes
    1.32 -  ///digraphWriter(digraph, std::cout).
    1.33 -  ///  arcMap("capacity", cap).
    1.34 -  ///  node("source", src).
    1.35 -  ///  node("target", trg).
    1.36 -  ///  run();
    1.37 +  ///digraphWriter(digraph, std::cout)
    1.38 +  ///  .arcMap("capacity", cap)
    1.39 +  ///  .node("source", src)
    1.40 +  ///  .node("target", trg)
    1.41 +  ///  .run();
    1.42    ///\endcode
    1.43    ///
    1.44    /// For a complete documentation, please see the
    1.45 @@ -1599,9 +1599,9 @@
    1.46    ///ListGraph graph;
    1.47    ///ListGraph::EdgeMap<int> weight(graph);
    1.48    ///  // Setting the weight map
    1.49 -  ///graphWriter(graph, std::cout).
    1.50 -  ///  edgeMap("weight", weight).
    1.51 -  ///  run();
    1.52 +  ///graphWriter(graph, std::cout)
    1.53 +  ///  .edgeMap("weight", weight)
    1.54 +  ///  .run();
    1.55    ///\endcode
    1.56    ///
    1.57    /// For a complete documentation, please see the
    1.58 @@ -2419,9 +2419,9 @@
    1.59    ///ListBpGraph graph;
    1.60    ///ListBpGraph::EdgeMap<int> weight(graph);
    1.61    ///  // Setting the weight map
    1.62 -  ///bpGraphWriter(graph, std::cout).
    1.63 -  ///  edgeMap("weight", weight).
    1.64 -  ///  run();
    1.65 +  ///bpGraphWriter(graph, std::cout)
    1.66 +  ///  .edgeMap("weight", weight)
    1.67 +  ///  .run();
    1.68    ///\endcode
    1.69    ///
    1.70    /// For a complete documentation, please see the