|
Boost-Commit : |
From: garcia_at_[hidden]
Date: 2007-09-21 08:33:32
Author: garcia
Date: 2007-09-21 08:33:31 EDT (Fri, 21 Sep 2007)
New Revision: 39442
URL: http://svn.boost.org/trac/boost/changeset/39442
Log:
small html and grammar fixes.
Text files modified:
trunk/libs/graph/doc/write-graphviz.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/graph/doc/write-graphviz.html
==============================================================================
--- trunk/libs/graph/doc/write-graphviz.html (original)
+++ trunk/libs/graph/doc/write-graphviz.html 2007-09-21 08:33:31 EDT (Fri, 21 Sep 2007)
@@ -120,7 +120,7 @@
</h3>
PropertyWriter is used in the <tt>write_graphviz</tt> function to
-print properties of vertex, edge or graph. There are two types of
+print vertex, edge or graph properties. There are two types of
PropertyWriter. One is for a vertex or edge. The other is for a graph.
Thus, users could easily extend the <tt>write_graphviz</tt> function
by creating their own PropertyWriter only.
@@ -133,13 +133,13 @@
The following functor, provided by BGL, is the example of PropertyWriter for
vertices or edges. It is used to print the label of each vertex or edge.
<pre>
- template < class Name >
+ template <class Name>
class label_writer {
public:
label_writer(Name _name) : name(_name) {}
- template <class VertexOrEdge>
+ template <class VertexOrEdge>
void operator()(std::ostream& out, const VertexOrEdge& v) const {
- out << "[label=\"" << name[v] << "\"]";
+ out << "[label=\"" << name[v] << "\"]";
}
private:
Name name;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk